libcsdbg  1.28
C++ exception (and generic) stack trace debug library
bool csdbg::style::is_attr_enabled ( attrset_t  set) const
inlinevirtual

Check if a set of text formatting attributes is enabled.

Parameters
[in]setthe checked attributes
Returns
true if all attributes in the set are enabled, false otherwise

Definition at line 222 of file style.cpp.

References m_attributes.

Referenced by to_string().

223 {
224  return (m_attributes & set) == set;
225 }
attrset_t m_attributes
Text formatting attribute bitmask.
Definition: style.hpp:32

+ Here is the caller graph for this function: