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

Check if a set of text formatting attributes is enabled.

[in]setthe checked attributes
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: