Mstdlib-1.24.0

Macros

#define M_LOG_ALL_TAGS   M_UINT64_MAX
 

Functions

M_uint64 M_log_all_tags_lt (M_uint64 tag)
 
M_uint64 M_log_all_tags_lte (M_uint64 tag)
 
M_uint64 M_log_all_tags_gt (M_uint64 tag)
 
M_uint64 M_log_all_tags_gte (M_uint64 tag)
 

Detailed Description

Helpers for constructing ranges of power-of-two tags.

Macro Definition Documentation

◆ M_LOG_ALL_TAGS

#define M_LOG_ALL_TAGS   M_UINT64_MAX

Convenience constant - when passed to a function that accepts multiple tags, indicates ALL tags should be used.

See also
M_log_all_tags_lt
M_log_all_tags_lte
M_log_all_tags_gt
M_log_all_tags_gte

Function Documentation

◆ M_log_all_tags_lt()

M_uint64 M_log_all_tags_lt ( M_uint64  tag)

Return all tags less than the given power-of-two tag, OR'd together.

See also
M_LOG_ALL_TAGS
M_log_all_tags_lte
M_log_all_tags_gt
M_log_all_tags_gte
Parameters
[in]tagsingle power-of-two tag value
Returns
all tags < given tag

◆ M_log_all_tags_lte()

M_uint64 M_log_all_tags_lte ( M_uint64  tag)

Return all tags less than or equal to the given power-of-two tag, OR'd together.

See also
M_LOG_ALL_TAGS
M_log_all_tags_lt
M_log_all_tags_gt
M_log_all_tags_gte
Parameters
[in]tagsingle power-of-two tag value
Returns
all tags <= given tag

◆ M_log_all_tags_gt()

M_uint64 M_log_all_tags_gt ( M_uint64  tag)

Return all tags greater than the given power-of-two tag, OR'd together.

See also
M_LOG_ALL_TAGS
M_log_all_tags_lt
M_log_all_tags_lte
M_log_all_tags_gte
Parameters
[in]tagsingle power of two tag value
Returns
all tags > given tag

◆ M_log_all_tags_gte()

M_uint64 M_log_all_tags_gte ( M_uint64  tag)

Return all tags greater than or equal to the given power-of-two tag, OR'd together.

See also
M_LOG_ALL_TAGS
M_log_all_tags_lt
M_log_all_tags_lte
M_log_all_tags_gt
Parameters
[in]tagsingle power of two tag value
Returns
all tags >= given tag