:orphan: .. index:: pair: struct; te_log_buf_flag2str .. _doxid-structte__log__buf__flag2str: struct te_log_buf_flag2str ========================== .. toctree:: :hidden: Overview ~~~~~~~~ Mapping of the flag within mask to string :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct te_log_buf_flag2str { // fields uint64_t :ref:`flag`; uint64_t :ref:`mask`; const char* :ref:`str`; }; .. _details-structte__log__buf__flag2str: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Mapping of the flag within mask to string Fields ------ .. index:: pair: variable; flag .. _doxid-structte__log__buf__flag2str_1a2a71fcde00fae56670b3387dda1c6f4b: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint64_t flag Flag. May be defined as more than one bit set. .. index:: pair: variable; mask .. _doxid-structte__log__buf__flag2str_1a0595d1e43e6e8d9a1141bae755b1b2eb: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint64_t mask Mask applied when checking for flag. In value X flag is set when (X & mask) == flag .. index:: pair: variable; str .. _doxid-structte__log__buf__flag2str_1a2b5d188658373876415a00bc8c659ac3: .. ref-code-block:: cpp :class: doxyrest-title-code-block const char* str String name of the flag