libcsdbg  1.28
C++ exception (and generic) stack trace debug library
style & csdbg::style::set_attr_enabled ( attrset_t  set,
bool  how 
)
inlinevirtual

Enable/disable a set of text formatting attributes.

Parameters
[in]setthe affected attribute set
[in]howtrue to enable, false to disable
Returns
*this

Definition at line 237 of file style.cpp.

References m_attributes.

Referenced by csdbg::parser::on_lib_load().

238 {
239  if (how)
240  m_attributes |= set;
241  else
242  m_attributes &= ~set;
243 
244  return *this;
245 }
attrset_t m_attributes
Text formatting attribute bitmask.
Definition: style.hpp:32

+ Here is the caller graph for this function: