CodeSonar C++ API
Public Member Functions | Static Public Member Functions | Static Public Attributes | Related Symbols | List of all members
cs::xr_kind_role Class Reference

Enumeration class: describes a valid token kind-role (kind-usage) pair. More...

Public Member Functions

 xr_kind_role (xr_kind k, xr_role r)
 Constructor.
 
csint64 as_integer () const
 Get an integer representation of this.
 
std::string as_repr () const
 Get a representation of a xr_kind_role object that includes information useful for debugging.
 
std::string as_string () const
 Get a simple string representation of a xr_kind_role object.
 
int cmp (const xr_kind_role &other) const
 Comparison function for xr_kind_role, with respect to a stable overall ordering.
 
xr_kind_role_pair decompose () const
 Get the xr_kind and xr_role corresponding to a xr_kind_role.
 
cs_hash_t hash () const
 Hash function for xr_kind_role.
 
std::string name () const
 Get the name of a xr_kind_role object.
 

Static Public Member Functions

static xr_kind_role from_integer (csint64 _inner)
 Construct an instance from an integer representation.
 

Static Public Attributes

static const xr_kind_role BUILTIN_OTHER
 Any occurrence of the name of a __builtin_*() function.
 
static const xr_kind_role ENUM_DEFINITION
 An individual enum symbol, when defined.
 
static const xr_kind_role ENUM_OCCURRENCE
 Any occurrence of an individual enum symbol other than its definition.
 
static const xr_kind_role FIELD_CONSTRUCTOR_INITIALIZATION
 [C++ only] A field name in an aggregate, when initialized in an initialization list.
 
static const xr_kind_role FIELD_DEFINITION
 A field name in an aggregate, when defined.
 
static const xr_kind_role FIELD_INVOCATION
 A field name in an aggregate, when invoked (for function pointer fields).
 
static const xr_kind_role FIELD_METHOD_INVOCATION
 [C++ only] A field name in an aggregate, when one of its methods is invoked (for aggregate fields).
 
static const xr_kind_role FIELD_OTHER
 A field name in an aggregate, otherwise.
 
static const xr_kind_role FIELD_READ
 A field name in an aggregate, when its value is read.
 
static const xr_kind_role FIELD_SIZEOF
 A field name in an aggregate, as the argument to sizeof() .
 
static const xr_kind_role FIELD_TAKE_ADDRESS
 A field name f in an aggregate, as the operand of an addressing expression &f .
 
static const xr_kind_role FIELD_WRITE
 A field name in an aggregate, when written to.
 
static const xr_kind_role FIELD_WRITE_THROUGH
 A field name in an aggregate, when it is dereferenced and its target written to (for pointer fields).
 
static const xr_kind_role FILE_DEFINITION
 A file name fname.fext , when the source file called fname.fext is present in the analysis.
 
static const xr_kind_role FILE_INCLUDE
 A file name in an #include directive.
 
static const xr_kind_role FUNC_CALL
 A function name, when the function is called.
 
static const xr_kind_role FUNC_DECLARATION
 A function name, when declared.
 
static const xr_kind_role FUNC_DEFINITION
 A function name, when defined.
 
static const xr_kind_role FUNC_FRIEND
 [C++ only] A function name, declared as a friend .
 
static const xr_kind_role FUNC_OTHER
 A function name, otherwise.
 
static const xr_kind_role FUNC_SIZEOF
 A function name, as the argument to sizeof() .
 
static const xr_kind_role FUNC_STATIC_CALL
 A function name, when the function is called.
 
static const xr_kind_role FUNC_STATIC_DECLARATION
 A function name, when declared.
 
static const xr_kind_role FUNC_STATIC_DEFINITION
 A static function name, when defined.
 
static const xr_kind_role FUNC_STATIC_FRIEND
 [C++ only] A function name, declared as a friend .
 
static const xr_kind_role FUNC_STATIC_OTHER
 A function name, otherwise.
 
static const xr_kind_role FUNC_STATIC_SIZEOF
 A function name, as the argument to sizeof() .
 
static const xr_kind_role FUNC_STATIC_TAKE_ADDRESS
 A function name fn , when as the operand of an addressing expression &fn .
 
static const xr_kind_role FUNC_STATIC_TEMPL_ARG
 [C++ only] A function name, as a value argument for template instantiation.
 
static const xr_kind_role FUNC_TAKE_ADDRESS
 A function name fn , when as the operand of an addressing expression &fn .
 
static const xr_kind_role FUNC_TEMPL_ARG
 [C++ only] A function name, as a value argument for template instantiation.
 
static const xr_kind_role LABEL_DEFINITION
 An identifier used as a label, when defined (used to label a statement).
 
static const xr_kind_role LABEL_GOTO
 An identifier used as a label, as the operand of a goto expression.
 
static const xr_kind_role LABEL_TAKE_ADDRESS
 An identifier L used as a label, as the operand of an addressing expression &L .
 
static const xr_kind_role MACRO_DEFINITION
 A macro name, when first defined with #define (includes redefining after #undef ).
 
static const xr_kind_role MACRO_INVOCATION
 A macro name, when invoked.
 
static const xr_kind_role MACRO_REDEF
 A macro name, when defined (with #define ) twice or more with no intervening #undef .
 
static const xr_kind_role MACRO_UNDEF
 A macro name, when undefined with #undef .
 
static const xr_kind_role METHOD_CALL
 A method name, when the method is called.
 
static const xr_kind_role METHOD_DECLARATION
 A method name, when declared.
 
static const xr_kind_role METHOD_DEFINITION
 A method name, when defined.
 
static const xr_kind_role METHOD_FRIEND
 [C++ only] A method name, declared as a friend .
 
static const xr_kind_role METHOD_OTHER
 A method name, otherwise.
 
static const xr_kind_role METHOD_SIZEOF
 A method name, as the argument to sizeof() .
 
static const xr_kind_role METHOD_STATIC_CALL
 A static method name, when the method is called.
 
static const xr_kind_role METHOD_STATIC_DECLARATION
 A static method name, when declared.
 
static const xr_kind_role METHOD_STATIC_DEFINITION
 A static method name, when defined.
 
static const xr_kind_role METHOD_STATIC_FRIEND
 [C++ only] A static method name, declared as a friend .
 
static const xr_kind_role METHOD_STATIC_OTHER
 A static method name, otherwise.
 
static const xr_kind_role METHOD_STATIC_SIZEOF
 A static method name, as the argument to sizeof() .
 
static const xr_kind_role METHOD_STATIC_TAKE_ADDRESS
 A static method name fn , when as the operand of an addressing expression &fn .
 
static const xr_kind_role METHOD_STATIC_TEMPL_ARG
 [C++ only] A static method name, as a value argument for template instantiation.
 
static const xr_kind_role METHOD_TAKE_ADDRESS
 A method name fn , when as the operand of an addressing expression &fn .
 
static const xr_kind_role METHOD_TEMPL_ARG
 [C++ only] A method name, as a value argument for template instantiation.
 
static const xr_kind_role NAMESPACE_DEFINITION
 [C++ only] A namespace name, when defined.
 
static const xr_kind_role NAMESPACE_EXT
 A namespace name, at any subsequent extension of the namespace.
 
static const xr_kind_role NAMESPACE_QUALIFIER
 A namespace name ns , in the first operand of a name qualifier expression cs::x .
 
static const xr_kind_role NAMESPACE_USING
 A namespace name, as the operand in a using namespace expression.
 
static const xr_kind_role STRINGLIT_DEFINITION
 Any occurrence of a string literal in source code (after preprocessing).
 
static const xr_kind_role TAG_AGGREGATE_MEMBER
 A tag name, as the type of a member of an aggregate.
 
static const xr_kind_role TAG_CAST
 A tag name, as the target type of a cast operation.
 
static const xr_kind_role TAG_CATCH_PARAM
 (not in use)
 
static const xr_kind_role TAG_CONSTANT
 (not in use)
 
static const xr_kind_role TAG_CONSTRUCTOR_INITIALIZATION
 (not in use)
 
static const xr_kind_role TAG_DECLARATION
 A tag name, when declared.
 
static const xr_kind_role TAG_DEFINITION
 A tag in an enum, struct or union.
 
static const xr_kind_role TAG_FILE_STATIC
 A tag name, as the type of a file static variable.
 
static const xr_kind_role TAG_FORMAL
 A tag name, as the type of a formal parameter in a function definition or declaration.
 
static const xr_kind_role TAG_FRIEND
 (not in use)
 
static const xr_kind_role TAG_GLOBAL
 A tag name, as the type of a global variable.
 
static const xr_kind_role TAG_LOCAL
 A tag name, as the type of a local variable.
 
static const xr_kind_role TAG_LOCAL_STATIC
 A tag name, as the type of a local static variable.
 
static const xr_kind_role TAG_NEW
 (not in use)
 
static const xr_kind_role TAG_OTHER
 A tag name, otherwise.
 
static const xr_kind_role TAG_QUALIFIER
 (not in use)
 
static const xr_kind_role TAG_RETURN_TYPE
 A tag name, as the return type in a function definition or declaration.
 
static const xr_kind_role TAG_SIZEOF
 A tag name, as the argument to sizeof() .
 
static const xr_kind_role TAG_SUBCLASS
 (not in use)
 
static const xr_kind_role TAG_TEMPL_ARG
 (not in use)
 
static const xr_kind_role TAG_TEMPLATE_PARAMETER
 (not in use)
 
static const xr_kind_role TAG_THROW_EXCEPTION_SPEC
 (not in use)
 
static const xr_kind_role TAG_TYPEDEF
 A tag name, in the first operand of a typedef statement.
 
static const xr_kind_role TLT_AGGREGATE_MEMBER
 [C++ only] The name of a type parameter for a template, as the type of a data member in an aggregate structure.
 
static const xr_kind_role TLT_CAST
 [C++ only] The name of a type parameter for a template, as the target type of a cast operation.
 
static const xr_kind_role TLT_CATCH_PARAM
 [C++ only] The name of a type parameter for a template, as the parameter type in a catch expression.
 
static const xr_kind_role TLT_CONSTANT
 [C++ only] The name of a type parameter for a template, as a function parameter qualified as const .
 
static const xr_kind_role TLT_CONSTRUCTOR_INITIALIZATION
 [C++ only] The name of a type parameter for a template, as the type of a base class constructor in an initialization list.
 
static const xr_kind_role TLT_DEFINITION
 The name of a type parameter for a template, when defined (in the template definition/declaration).
 
static const xr_kind_role TLT_FILE_STATIC
 (not in use)
 
static const xr_kind_role TLT_FORMAL
 [C++ only] The name of a type parameter for a template, as the type of a formal parameter in a function definition or declaration.
 
static const xr_kind_role TLT_FRIEND
 [C++ only] The name of a type parameter for a template, declared as a friend .
 
static const xr_kind_role TLT_GLOBAL
 [C++ only] The name of a type parameter for a template, as the type of a global variable.
 
static const xr_kind_role TLT_LOCAL
 [C++ only] The name of a type parameter for a template, as the type of a local variable.
 
static const xr_kind_role TLT_LOCAL_STATIC
 [C++ only] The name of a type parameter for a template, as the type of a local static variable.
 
static const xr_kind_role TLT_NEW
 [C++ only] The name of a type parameter for a template, in the type of a new expression.
 
static const xr_kind_role TLT_OTHER
 [C++ only] The name of a type parameter for a template, otherwise.
 
static const xr_kind_role TLT_QUALIFIER
 [C++ only] The name of a type parameter TT for a template, in the first operand of a name qualifier expression TT::x .
 
static const xr_kind_role TLT_RETURN_TYPE
 [C++ only] The name of a type parameter for a template, as the return type in a function definition or declaration.
 
static const xr_kind_role TLT_SIZEOF
 [C++ only] The name of a type parameter for a template, as the argument to sizeof() .
 
static const xr_kind_role TLT_SUBCLASS
 [C++ only] The name of a type parameter for a template, as the superclass in a subclass declaration.
 
static const xr_kind_role TLT_TEMPL_ARG
 [C++ only] [C++ only] The name of a type parameter for a template, as a type argument for template instantiation.
 
static const xr_kind_role TLT_TEMPLATE_PARAMETER
 [C++ only] The name of a type parameter for a template, as the type of a template value parameter.
 
static const xr_kind_role TLT_THROW_EXCEPTION_SPEC
 [C++ only] The name of a type parameter for a template, as the parameter type in a throw expression.
 
static const xr_kind_role TLT_TYPEDEF
 [C++ only] The name of a type parameter for a template, in the first operand of a typedef statement.
 
static const xr_kind_role TLV_DEFINITION
 The name of a value parameter for a template, when defined (in the template definition/declaration).
 
static const xr_kind_role TLV_INVOCATION
 [C++ only] The name of a value parameter for a template, when invoked (for function pointers).
 
static const xr_kind_role TLV_METHOD_INVOCATION
 [C++ only] The name of a value parameter for a template, when one of its methods is invoked (for aggregates).
 
static const xr_kind_role TLV_OTHER
 [C++ only] The name of a value parameter for a template, otherwise.
 
static const xr_kind_role TLV_READ
 [C++ only] The name of a value parameter for a template, when its value is read.
 
static const xr_kind_role TLV_SIZEOF
 [C++ only] The name of a value parameter for a template, as the argument to sizeof() .
 
static const xr_kind_role TLV_TAKE_ADDRESS
 [C++ only] The name of a value parameter Tv for a template, as the operand of an addressing expression &Tv .
 
static const xr_kind_role TLV_TEMPL_ARG
 [C++ only] The name of a value parameter for a template, as a value argument for template instantiation.
 
static const xr_kind_role TLV_WRITE
 [C++ only] The name of a value parameter for a template, when it is written to.
 
static const xr_kind_role TLV_WRITE_THROUGH
 [C++ only] The name of a value parameter for a template, when it is dereferenced and its target written to (for pointers).
 
static const xr_kind_role TYPE_AGGREGATE_MEMBER
 A type name, as the type of a member of an aggregate.
 
static const xr_kind_role TYPE_CAST
 A type name, as the target type of a cast operation.
 
static const xr_kind_role TYPE_CATCH_PARAM
 [C++ only] A type name, as the parameter type in a catch expression.
 
static const xr_kind_role TYPE_CONSTANT
 [C++ only] A type name, as the type of a variable declared as const .
 
static const xr_kind_role TYPE_CONSTRUCTOR_INITIALIZATION
 [C++ only] A type name, as the type of a base class constructor in an initialization list.
 
static const xr_kind_role TYPE_DECLARATION
 [C++ only] A type name, when declared.
 
static const xr_kind_role TYPE_DEFINITION
 Type name, when defined.
 
static const xr_kind_role TYPE_FILE_STATIC
 A type name, as the type of a file static variable.
 
static const xr_kind_role TYPE_FORMAL
 A type name, as the type of a formal parameter in a function definition or declaration.
 
static const xr_kind_role TYPE_FRIEND
 [C++ only] A type name declared as a friend .
 
static const xr_kind_role TYPE_GLOBAL
 A type name, as the type of a global variable.
 
static const xr_kind_role TYPE_LOCAL
 A type name, as the type of a local variable.
 
static const xr_kind_role TYPE_LOCAL_STATIC
 A type name, as the type of a local static variable.
 
static const xr_kind_role TYPE_NEW
 [C++ only] A type name, in the type of a new expression.
 
static const xr_kind_role TYPE_OTHER
 A type name, otherwise.
 
static const xr_kind_role TYPE_QUALIFIER
 [C++ only] A type name T , in the first operand of a name qualifier expression T::x .
 
static const xr_kind_role TYPE_RETURN_TYPE
 A type name, as the return type in a function definition or declaration.
 
static const xr_kind_role TYPE_SIZEOF
 A type name, as the argument to sizeof() .
 
static const xr_kind_role TYPE_SUBCLASS
 [C++ only] A type name, as the superclass in a subclass declaration.
 
static const xr_kind_role TYPE_TAG
 A type name that is defined to be the same as the tag in the struct enum or union .
 
static const xr_kind_role TYPE_TEMPL_ARG
 [C++ only] A type name, as a type argument for template instantiation.
 
static const xr_kind_role TYPE_TEMPLATE_PARAMETER
 [C++ only] A type name, as the type of a template value parameter.
 
static const xr_kind_role TYPE_THROW_EXCEPTION_SPEC
 [C++ only] A type name, as the parameter type in a throw expression.
 
static const xr_kind_role TYPE_TYPEDEF
 A type name, in the first operand of a typedef statement.
 
static const xr_kind_role VAR_GLOBAL_DECLARATION
 A global variable name, when declared.
 
static const xr_kind_role VAR_GLOBAL_DEFINITION
 An global variable name, when defined.
 
static const xr_kind_role VAR_GLOBAL_INVOCATION
 A global variable name v , when invoked (for function pointer variables).
 
static const xr_kind_role VAR_GLOBAL_METHOD_INVOCATION
 [C++ only] A global variable name v , when one of its methods is invoked (for aggregate variables).
 
static const xr_kind_role VAR_GLOBAL_OTHER
 A global variable name, otherwise.
 
static const xr_kind_role VAR_GLOBAL_READ
 A global variable name, when its value is read.
 
static const xr_kind_role VAR_GLOBAL_SIZEOF
 A global variable name, as the argument to sizeof() .
 
static const xr_kind_role VAR_GLOBAL_TAKE_ADDRESS
 A global variable name v , as the operand of an addressing expression &v .
 
static const xr_kind_role VAR_GLOBAL_TEMPL_ARG
 [C++ only] A global variable name v , as an argument for template instantiation.
 
static const xr_kind_role VAR_GLOBAL_WRITE
 A global variable name, when written to.
 
static const xr_kind_role VAR_GLOBAL_WRITE_THROUGH
 A global variable name, when it is dereferenced and its target written to (for pointer variables).
 
static const xr_kind_role VAR_LOCAL_DECLARATION
 A local variable name, when declared.
 
static const xr_kind_role VAR_LOCAL_DEFINITION
 A local variable name, when defined.
 
static const xr_kind_role VAR_LOCAL_INVOCATION
 A local variable name v , when invoked (for function pointer variables).
 
static const xr_kind_role VAR_LOCAL_METHOD_INVOCATION
 [C++ only] A local variable name v , when one of its methods is invoked (for aggregate variables).
 
static const xr_kind_role VAR_LOCAL_OTHER
 A local variable name, otherwise.
 
static const xr_kind_role VAR_LOCAL_READ
 A local variable name, when its value is read.
 
static const xr_kind_role VAR_LOCAL_SIZEOF
 A local variable name, as the argument to sizeof() .
 
static const xr_kind_role VAR_LOCAL_STATIC_DECLARATION
 (not in use)
 
static const xr_kind_role VAR_LOCAL_STATIC_DEFINITION
 A local static variable name, when defined.
 
static const xr_kind_role VAR_LOCAL_STATIC_INVOCATION
 A local static variable name v , when invoked (for function pointer variables).
 
static const xr_kind_role VAR_LOCAL_STATIC_METHOD_INVOCATION
 [C++ only] A local static variable name v , when one of its methods is invoked (for aggregate variables).
 
static const xr_kind_role VAR_LOCAL_STATIC_OTHER
 A local static variable name, otherwise.
 
static const xr_kind_role VAR_LOCAL_STATIC_READ
 A local static variable name, when its value is read.
 
static const xr_kind_role VAR_LOCAL_STATIC_SIZEOF
 A local static variable name, as the argument to sizeof() .
 
static const xr_kind_role VAR_LOCAL_STATIC_TAKE_ADDRESS
 A local static variable name v , as the operand of an addressing expression &v .
 
static const xr_kind_role VAR_LOCAL_STATIC_TEMPL_ARG
 [C++ only] A local static variable name v , as an argument for template instantiation.
 
static const xr_kind_role VAR_LOCAL_STATIC_WRITE
 A local static variable name, when written to.
 
static const xr_kind_role VAR_LOCAL_STATIC_WRITE_THROUGH
 A local static variable name, when it is dereferenced and its target written to (for pointer variables).
 
static const xr_kind_role VAR_LOCAL_TAKE_ADDRESS
 A local variable name v , as the operand of an addressing expression &v .
 
static const xr_kind_role VAR_LOCAL_TEMPL_ARG
 [C++ only] A variable name v , as an argument for template instantiation.
 
static const xr_kind_role VAR_LOCAL_WRITE
 A local variable name, when written to.
 
static const xr_kind_role VAR_LOCAL_WRITE_THROUGH
 A local variable name, when it is dereferenced and its target written to (for pointer variables).
 
static const xr_kind_role VAR_PARAMETER_DECLARATION
 A parameter name, when declared.
 
static const xr_kind_role VAR_PARAMETER_DEFINITION
 A parameter name, when defined.
 
static const xr_kind_role VAR_PARAMETER_INVOCATION
 A parameter name v , when invoked (for function pointer parameters).
 
static const xr_kind_role VAR_PARAMETER_METHOD_INVOCATION
 [C++ only] A parameter name v , when one of its methods is invoked (for aggregate variables).
 
static const xr_kind_role VAR_PARAMETER_OTHER
 A parameter name, otherwise.
 
static const xr_kind_role VAR_PARAMETER_READ
 A parameter name, when its value is read.
 
static const xr_kind_role VAR_PARAMETER_SIZEOF
 A parameter name, as the argument to sizeof() .
 
static const xr_kind_role VAR_PARAMETER_TAKE_ADDRESS
 A parameter name v , as the operand of an addressing expression &v .
 
static const xr_kind_role VAR_PARAMETER_TEMPL_ARG
 (not in use)
 
static const xr_kind_role VAR_PARAMETER_WRITE
 A parameter name, when written to.
 
static const xr_kind_role VAR_PARAMETER_WRITE_THROUGH
 A parameter name, when it is dereferenced and its target written to (for pointer variables).
 
static const xr_kind_role VAR_STATIC_DECLARATION
 A static variable name, when declared.
 
static const xr_kind_role VAR_STATIC_DEFINITION
 A file static variable name, when defined.
 
static const xr_kind_role VAR_STATIC_INVOCATION
 A static variable name v , when invoked (for function pointer variables).
 
static const xr_kind_role VAR_STATIC_METHOD_INVOCATION
 [C++ only] A static variable name v , when one of its methods is invoked (for aggregate variables).
 
static const xr_kind_role VAR_STATIC_OTHER
 A static variable name, otherwise.
 
static const xr_kind_role VAR_STATIC_READ
 A static variable name, when its value is read.
 
static const xr_kind_role VAR_STATIC_SIZEOF
 A variable name, as the argument to sizeof() .
 
static const xr_kind_role VAR_STATIC_TAKE_ADDRESS
 A static variable name v , as the operand of an addressing expression &v .
 
static const xr_kind_role VAR_STATIC_TEMPL_ARG
 [C++ only] A static variable name v , as an argument for template instantiation.
 
static const xr_kind_role VAR_STATIC_WRITE
 A static variable name, when written to.
 
static const xr_kind_role VAR_STATIC_WRITE_THROUGH
 A static variable name, when it is dereferenced and its target written to (for pointer variables).
 

Related Symbols

(Note that these are not member symbols.)

bool operator!= (const xr_kind_role &a, const xr_kind_role &b)
 Inequality operator for xr_kind_role.
 
bool operator< (const xr_kind_role &a, const xr_kind_role &b)
 Less-than operator for xr_kind_role.
 
std::ostream & operator<< (std::ostream &out, const xr_kind_role &a)
 Print a representation of a xr_kind_role object to the specified stream.
 
bool operator<= (const xr_kind_role &a, const xr_kind_role &b)
 Less-than-or-equal operator for xr_kind_role.
 
bool operator== (const xr_kind_role &a, const xr_kind_role &b)
 Equality operator for xr_kind_role.
 
bool operator> (const xr_kind_role &a, const xr_kind_role &b)
 Greater-than operator for xr_kind_role.
 
bool operator>= (const xr_kind_role &a, const xr_kind_role &b)
 Greater-than-or-equal operator for xr_kind_role.
 

Detailed Description

Enumeration class: describes a valid token kind-role (kind-usage) pair.

For examples, see C and C++ Kinds and Usages.

Constructor & Destructor Documentation

◆ xr_kind_role()

cs::xr_kind_role::xr_kind_role ( xr_kind  k,
xr_role  r 
)
inline

Constructor.

Parameters
[in]kThe xr_kind component.
[in]rThe xr_role component.
Exceptions
result::ERROR_INVALID_ARGUMENT

Member Function Documentation

◆ as_integer()

csint64 cs::xr_kind_role::as_integer ( ) const
inline

Get an integer representation of this.

Returns
An integer suitable for use with from_integer().

Invariant: For xr_kind_role x, xr_kind_role.from_integer(x.as_integer()) == x

◆ as_repr()

std::string cs::xr_kind_role::as_repr ( ) const
inline

Get a representation of a xr_kind_role object that includes information useful for debugging.

Returns
The string representation.

◆ as_string()

std::string cs::xr_kind_role::as_string ( ) const
inline

Get a simple string representation of a xr_kind_role object.

Returns
The string representation.

◆ cmp()

int cs::xr_kind_role::cmp ( const xr_kind_role other) const
inline

Comparison function for xr_kind_role, with respect to a stable overall ordering.

Parameters
otherThe xr_kind_role object to compare against.
Returns
An integer N such that:
  • N==0 if the two objects compare equal
  • N<0 if this < other
  • N>0 if this > other

◆ decompose()

xr_kind_role_pair cs::xr_kind_role::decompose ( ) const
inline

Get the xr_kind and xr_role corresponding to a xr_kind_role.

Returns
A xr_kind_role_pair (k,r), where:

◆ from_integer()

static xr_kind_role cs::xr_kind_role::from_integer ( csint64  _inner)
inlinestatic

Construct an instance from an integer representation.

Parameters
[in]_innerThe integer representation, as returned by as_integer().

Invariant: For xr_kind_role x, xr_kind_role.from_integer(x.as_integer()) == x

Exceptions
cs::result::ERROR_INVALID_ARGUMENTif _inner is not a valid integer representation for a xr_kind_role instance.

◆ hash()

cs_hash_t cs::xr_kind_role::hash ( ) const
inline

Hash function for xr_kind_role.


◆ name()

std::string cs::xr_kind_role::name ( ) const
inline

Get the name of a xr_kind_role object.

Returns
The name.

Friends And Related Symbol Documentation

◆ operator!=()

bool operator!= ( const xr_kind_role a,
const xr_kind_role b 
)
related

Inequality operator for xr_kind_role.

Parameters
[in]aThe xr_kind_role object to compare.
[in]bThe xr_kind_role object to compare against.
Returns
false if a and b are equal according to xr_kind_role::cmp(), true otherwise.

◆ operator<()

bool operator< ( const xr_kind_role a,
const xr_kind_role b 
)
related

Less-than operator for xr_kind_role.

Parameters
[in]aThe xr_kind_role object to compare.
[in]bThe xr_kind_role object to compare against.
Returns
true if a < b according to xr_kind_role::cmp() , false otherwise.

◆ operator<<()

std::ostream & operator<< ( std::ostream &  out,
const xr_kind_role a 
)
related

Print a representation of a xr_kind_role object to the specified stream.

Parameters
[in]outThe stream to print to.
[in]aThe xr_kind_role object to print.
Returns
void

◆ operator<=()

bool operator<= ( const xr_kind_role a,
const xr_kind_role b 
)
related

Less-than-or-equal operator for xr_kind_role.

Parameters
[in]aThe xr_kind_role object to compare.
[in]bThe xr_kind_role object to compare against.
Returns
true if a <= b according to xr_kind_role::cmp() , false otherwise.

◆ operator==()

bool operator== ( const xr_kind_role a,
const xr_kind_role b 
)
related

Equality operator for xr_kind_role.

Parameters
[in]aThe xr_kind_role object to compare.
[in]bThe xr_kind_role object to compare against.
Returns
true if a and b are equal according to xr_kind_role::cmp(), false otherwise.

◆ operator>()

bool operator> ( const xr_kind_role a,
const xr_kind_role b 
)
related

Greater-than operator for xr_kind_role.

Parameters
[in]aThe xr_kind_role object to compare.
[in]bThe xr_kind_role object to compare against.
Returns
true if a > b according to xr_kind_role::cmp() , false otherwise.

◆ operator>=()

bool operator>= ( const xr_kind_role a,
const xr_kind_role b 
)
related

Greater-than-or-equal operator for xr_kind_role.

Parameters
[in]aThe xr_kind_role object to compare.
[in]bThe xr_kind_role object to compare against.
Returns
true if a >= b according to xr_kind_role::cmp() , false otherwise.

Member Data Documentation

◆ BUILTIN_OTHER

const xr_kind_role xr_kind_role::BUILTIN_OTHER
static

Any occurrence of the name of a __builtin_*() function.

◆ ENUM_DEFINITION

const xr_kind_role xr_kind_role::ENUM_DEFINITION
static

An individual enum symbol, when defined.

◆ ENUM_OCCURRENCE

const xr_kind_role xr_kind_role::ENUM_OCCURRENCE
static

Any occurrence of an individual enum symbol other than its definition.

◆ FIELD_CONSTRUCTOR_INITIALIZATION

const xr_kind_role xr_kind_role::FIELD_CONSTRUCTOR_INITIALIZATION
static

[C++ only] A field name in an aggregate, when initialized in an initialization list.

◆ FIELD_DEFINITION

const xr_kind_role xr_kind_role::FIELD_DEFINITION
static

A field name in an aggregate, when defined.

◆ FIELD_INVOCATION

const xr_kind_role xr_kind_role::FIELD_INVOCATION
static

A field name in an aggregate, when invoked (for function pointer fields).

◆ FIELD_METHOD_INVOCATION

const xr_kind_role xr_kind_role::FIELD_METHOD_INVOCATION
static

[C++ only] A field name in an aggregate, when one of its methods is invoked (for aggregate fields).

◆ FIELD_OTHER

const xr_kind_role xr_kind_role::FIELD_OTHER
static

A field name in an aggregate, otherwise.

◆ FIELD_READ

const xr_kind_role xr_kind_role::FIELD_READ
static

A field name in an aggregate, when its value is read.

◆ FIELD_SIZEOF

const xr_kind_role xr_kind_role::FIELD_SIZEOF
static

A field name in an aggregate, as the argument to sizeof() .

◆ FIELD_TAKE_ADDRESS

const xr_kind_role xr_kind_role::FIELD_TAKE_ADDRESS
static

A field name f in an aggregate, as the operand of an addressing expression &f .

◆ FIELD_WRITE

const xr_kind_role xr_kind_role::FIELD_WRITE
static

A field name in an aggregate, when written to.

◆ FIELD_WRITE_THROUGH

const xr_kind_role xr_kind_role::FIELD_WRITE_THROUGH
static

A field name in an aggregate, when it is dereferenced and its target written to (for pointer fields).

◆ FILE_DEFINITION

const xr_kind_role xr_kind_role::FILE_DEFINITION
static

A file name fname.fext , when the source file called fname.fext is present in the analysis.

◆ FILE_INCLUDE

const xr_kind_role xr_kind_role::FILE_INCLUDE
static

A file name in an #include directive.

◆ FUNC_CALL

const xr_kind_role xr_kind_role::FUNC_CALL
static

A function name, when the function is called.

◆ FUNC_DECLARATION

const xr_kind_role xr_kind_role::FUNC_DECLARATION
static

A function name, when declared.

◆ FUNC_DEFINITION

const xr_kind_role xr_kind_role::FUNC_DEFINITION
static

A function name, when defined.

◆ FUNC_FRIEND

const xr_kind_role xr_kind_role::FUNC_FRIEND
static

[C++ only] A function name, declared as a friend .

◆ FUNC_OTHER

const xr_kind_role xr_kind_role::FUNC_OTHER
static

A function name, otherwise.

◆ FUNC_SIZEOF

const xr_kind_role xr_kind_role::FUNC_SIZEOF
static

A function name, as the argument to sizeof() .

◆ FUNC_STATIC_CALL

const xr_kind_role xr_kind_role::FUNC_STATIC_CALL
static

A function name, when the function is called.

◆ FUNC_STATIC_DECLARATION

const xr_kind_role xr_kind_role::FUNC_STATIC_DECLARATION
static

A function name, when declared.

◆ FUNC_STATIC_DEFINITION

const xr_kind_role xr_kind_role::FUNC_STATIC_DEFINITION
static

A static function name, when defined.

◆ FUNC_STATIC_FRIEND

const xr_kind_role xr_kind_role::FUNC_STATIC_FRIEND
static

[C++ only] A function name, declared as a friend .

◆ FUNC_STATIC_OTHER

const xr_kind_role xr_kind_role::FUNC_STATIC_OTHER
static

A function name, otherwise.

◆ FUNC_STATIC_SIZEOF

const xr_kind_role xr_kind_role::FUNC_STATIC_SIZEOF
static

A function name, as the argument to sizeof() .

◆ FUNC_STATIC_TAKE_ADDRESS

const xr_kind_role xr_kind_role::FUNC_STATIC_TAKE_ADDRESS
static

A function name fn , when as the operand of an addressing expression &fn .

◆ FUNC_STATIC_TEMPL_ARG

const xr_kind_role xr_kind_role::FUNC_STATIC_TEMPL_ARG
static

[C++ only] A function name, as a value argument for template instantiation.

◆ FUNC_TAKE_ADDRESS

const xr_kind_role xr_kind_role::FUNC_TAKE_ADDRESS
static

A function name fn , when as the operand of an addressing expression &fn .

◆ FUNC_TEMPL_ARG

const xr_kind_role xr_kind_role::FUNC_TEMPL_ARG
static

[C++ only] A function name, as a value argument for template instantiation.

◆ LABEL_DEFINITION

const xr_kind_role xr_kind_role::LABEL_DEFINITION
static

An identifier used as a label, when defined (used to label a statement).

◆ LABEL_GOTO

const xr_kind_role xr_kind_role::LABEL_GOTO
static

An identifier used as a label, as the operand of a goto expression.

◆ LABEL_TAKE_ADDRESS

const xr_kind_role xr_kind_role::LABEL_TAKE_ADDRESS
static

An identifier L used as a label, as the operand of an addressing expression &L .

◆ MACRO_DEFINITION

const xr_kind_role xr_kind_role::MACRO_DEFINITION
static

A macro name, when first defined with #define (includes redefining after #undef ).

◆ MACRO_INVOCATION

const xr_kind_role xr_kind_role::MACRO_INVOCATION
static

A macro name, when invoked.

◆ MACRO_REDEF

const xr_kind_role xr_kind_role::MACRO_REDEF
static

A macro name, when defined (with #define ) twice or more with no intervening #undef .

◆ MACRO_UNDEF

const xr_kind_role xr_kind_role::MACRO_UNDEF
static

A macro name, when undefined with #undef .

◆ METHOD_CALL

const xr_kind_role xr_kind_role::METHOD_CALL
static

A method name, when the method is called.

◆ METHOD_DECLARATION

const xr_kind_role xr_kind_role::METHOD_DECLARATION
static

A method name, when declared.

◆ METHOD_DEFINITION

const xr_kind_role xr_kind_role::METHOD_DEFINITION
static

A method name, when defined.

◆ METHOD_FRIEND

const xr_kind_role xr_kind_role::METHOD_FRIEND
static

[C++ only] A method name, declared as a friend .

◆ METHOD_OTHER

const xr_kind_role xr_kind_role::METHOD_OTHER
static

A method name, otherwise.

◆ METHOD_SIZEOF

const xr_kind_role xr_kind_role::METHOD_SIZEOF
static

A method name, as the argument to sizeof() .

◆ METHOD_STATIC_CALL

const xr_kind_role xr_kind_role::METHOD_STATIC_CALL
static

A static method name, when the method is called.

◆ METHOD_STATIC_DECLARATION

const xr_kind_role xr_kind_role::METHOD_STATIC_DECLARATION
static

A static method name, when declared.

◆ METHOD_STATIC_DEFINITION

const xr_kind_role xr_kind_role::METHOD_STATIC_DEFINITION
static

A static method name, when defined.

◆ METHOD_STATIC_FRIEND

const xr_kind_role xr_kind_role::METHOD_STATIC_FRIEND
static

[C++ only] A static method name, declared as a friend .

◆ METHOD_STATIC_OTHER

const xr_kind_role xr_kind_role::METHOD_STATIC_OTHER
static

A static method name, otherwise.

◆ METHOD_STATIC_SIZEOF

const xr_kind_role xr_kind_role::METHOD_STATIC_SIZEOF
static

A static method name, as the argument to sizeof() .

◆ METHOD_STATIC_TAKE_ADDRESS

const xr_kind_role xr_kind_role::METHOD_STATIC_TAKE_ADDRESS
static

A static method name fn , when as the operand of an addressing expression &fn .

◆ METHOD_STATIC_TEMPL_ARG

const xr_kind_role xr_kind_role::METHOD_STATIC_TEMPL_ARG
static

[C++ only] A static method name, as a value argument for template instantiation.

◆ METHOD_TAKE_ADDRESS

const xr_kind_role xr_kind_role::METHOD_TAKE_ADDRESS
static

A method name fn , when as the operand of an addressing expression &fn .

◆ METHOD_TEMPL_ARG

const xr_kind_role xr_kind_role::METHOD_TEMPL_ARG
static

[C++ only] A method name, as a value argument for template instantiation.

◆ NAMESPACE_DEFINITION

const xr_kind_role xr_kind_role::NAMESPACE_DEFINITION
static

[C++ only] A namespace name, when defined.

◆ NAMESPACE_EXT

const xr_kind_role xr_kind_role::NAMESPACE_EXT
static

A namespace name, at any subsequent extension of the namespace.

◆ NAMESPACE_QUALIFIER

const xr_kind_role xr_kind_role::NAMESPACE_QUALIFIER
static

A namespace name ns , in the first operand of a name qualifier expression cs::x .

◆ NAMESPACE_USING

const xr_kind_role xr_kind_role::NAMESPACE_USING
static

A namespace name, as the operand in a using namespace expression.

◆ STRINGLIT_DEFINITION

const xr_kind_role xr_kind_role::STRINGLIT_DEFINITION
static

Any occurrence of a string literal in source code (after preprocessing).

◆ TAG_AGGREGATE_MEMBER

const xr_kind_role xr_kind_role::TAG_AGGREGATE_MEMBER
static

A tag name, as the type of a member of an aggregate.

◆ TAG_CAST

const xr_kind_role xr_kind_role::TAG_CAST
static

A tag name, as the target type of a cast operation.

◆ TAG_CATCH_PARAM

const xr_kind_role xr_kind_role::TAG_CATCH_PARAM
static

(not in use)

◆ TAG_CONSTANT

const xr_kind_role xr_kind_role::TAG_CONSTANT
static

(not in use)

◆ TAG_CONSTRUCTOR_INITIALIZATION

const xr_kind_role xr_kind_role::TAG_CONSTRUCTOR_INITIALIZATION
static

(not in use)

◆ TAG_DECLARATION

const xr_kind_role xr_kind_role::TAG_DECLARATION
static

A tag name, when declared.

◆ TAG_DEFINITION

const xr_kind_role xr_kind_role::TAG_DEFINITION
static

A tag in an enum, struct or union.

◆ TAG_FILE_STATIC

const xr_kind_role xr_kind_role::TAG_FILE_STATIC
static

A tag name, as the type of a file static variable.

◆ TAG_FORMAL

const xr_kind_role xr_kind_role::TAG_FORMAL
static

A tag name, as the type of a formal parameter in a function definition or declaration.

◆ TAG_FRIEND

const xr_kind_role xr_kind_role::TAG_FRIEND
static

(not in use)

◆ TAG_GLOBAL

const xr_kind_role xr_kind_role::TAG_GLOBAL
static

A tag name, as the type of a global variable.

◆ TAG_LOCAL

const xr_kind_role xr_kind_role::TAG_LOCAL
static

A tag name, as the type of a local variable.

◆ TAG_LOCAL_STATIC

const xr_kind_role xr_kind_role::TAG_LOCAL_STATIC
static

A tag name, as the type of a local static variable.

◆ TAG_NEW

const xr_kind_role xr_kind_role::TAG_NEW
static

(not in use)

◆ TAG_OTHER

const xr_kind_role xr_kind_role::TAG_OTHER
static

A tag name, otherwise.

◆ TAG_QUALIFIER

const xr_kind_role xr_kind_role::TAG_QUALIFIER
static

(not in use)

◆ TAG_RETURN_TYPE

const xr_kind_role xr_kind_role::TAG_RETURN_TYPE
static

A tag name, as the return type in a function definition or declaration.

◆ TAG_SIZEOF

const xr_kind_role xr_kind_role::TAG_SIZEOF
static

A tag name, as the argument to sizeof() .

◆ TAG_SUBCLASS

const xr_kind_role xr_kind_role::TAG_SUBCLASS
static

(not in use)

◆ TAG_TEMPL_ARG

const xr_kind_role xr_kind_role::TAG_TEMPL_ARG
static

(not in use)

◆ TAG_TEMPLATE_PARAMETER

const xr_kind_role xr_kind_role::TAG_TEMPLATE_PARAMETER
static

(not in use)

◆ TAG_THROW_EXCEPTION_SPEC

const xr_kind_role xr_kind_role::TAG_THROW_EXCEPTION_SPEC
static

(not in use)

◆ TAG_TYPEDEF

const xr_kind_role xr_kind_role::TAG_TYPEDEF
static

A tag name, in the first operand of a typedef statement.

◆ TLT_AGGREGATE_MEMBER

const xr_kind_role xr_kind_role::TLT_AGGREGATE_MEMBER
static

[C++ only] The name of a type parameter for a template, as the type of a data member in an aggregate structure.

◆ TLT_CAST

const xr_kind_role xr_kind_role::TLT_CAST
static

[C++ only] The name of a type parameter for a template, as the target type of a cast operation.

◆ TLT_CATCH_PARAM

const xr_kind_role xr_kind_role::TLT_CATCH_PARAM
static

[C++ only] The name of a type parameter for a template, as the parameter type in a catch expression.

◆ TLT_CONSTANT

const xr_kind_role xr_kind_role::TLT_CONSTANT
static

[C++ only] The name of a type parameter for a template, as a function parameter qualified as const .

◆ TLT_CONSTRUCTOR_INITIALIZATION

const xr_kind_role xr_kind_role::TLT_CONSTRUCTOR_INITIALIZATION
static

[C++ only] The name of a type parameter for a template, as the type of a base class constructor in an initialization list.

◆ TLT_DEFINITION

const xr_kind_role xr_kind_role::TLT_DEFINITION
static

The name of a type parameter for a template, when defined (in the template definition/declaration).

◆ TLT_FILE_STATIC

const xr_kind_role xr_kind_role::TLT_FILE_STATIC
static

(not in use)

◆ TLT_FORMAL

const xr_kind_role xr_kind_role::TLT_FORMAL
static

[C++ only] The name of a type parameter for a template, as the type of a formal parameter in a function definition or declaration.

◆ TLT_FRIEND

const xr_kind_role xr_kind_role::TLT_FRIEND
static

[C++ only] The name of a type parameter for a template, declared as a friend .

◆ TLT_GLOBAL

const xr_kind_role xr_kind_role::TLT_GLOBAL
static

[C++ only] The name of a type parameter for a template, as the type of a global variable.

◆ TLT_LOCAL

const xr_kind_role xr_kind_role::TLT_LOCAL
static

[C++ only] The name of a type parameter for a template, as the type of a local variable.

◆ TLT_LOCAL_STATIC

const xr_kind_role xr_kind_role::TLT_LOCAL_STATIC
static

[C++ only] The name of a type parameter for a template, as the type of a local static variable.

◆ TLT_NEW

const xr_kind_role xr_kind_role::TLT_NEW
static

[C++ only] The name of a type parameter for a template, in the type of a new expression.

◆ TLT_OTHER

const xr_kind_role xr_kind_role::TLT_OTHER
static

[C++ only] The name of a type parameter for a template, otherwise.

◆ TLT_QUALIFIER

const xr_kind_role xr_kind_role::TLT_QUALIFIER
static

[C++ only] The name of a type parameter TT for a template, in the first operand of a name qualifier expression TT::x .

◆ TLT_RETURN_TYPE

const xr_kind_role xr_kind_role::TLT_RETURN_TYPE
static

[C++ only] The name of a type parameter for a template, as the return type in a function definition or declaration.

◆ TLT_SIZEOF

const xr_kind_role xr_kind_role::TLT_SIZEOF
static

[C++ only] The name of a type parameter for a template, as the argument to sizeof() .

◆ TLT_SUBCLASS

const xr_kind_role xr_kind_role::TLT_SUBCLASS
static

[C++ only] The name of a type parameter for a template, as the superclass in a subclass declaration.

◆ TLT_TEMPL_ARG

const xr_kind_role xr_kind_role::TLT_TEMPL_ARG
static

[C++ only] [C++ only] The name of a type parameter for a template, as a type argument for template instantiation.

◆ TLT_TEMPLATE_PARAMETER

const xr_kind_role xr_kind_role::TLT_TEMPLATE_PARAMETER
static

[C++ only] The name of a type parameter for a template, as the type of a template value parameter.

◆ TLT_THROW_EXCEPTION_SPEC

const xr_kind_role xr_kind_role::TLT_THROW_EXCEPTION_SPEC
static

[C++ only] The name of a type parameter for a template, as the parameter type in a throw expression.

◆ TLT_TYPEDEF

const xr_kind_role xr_kind_role::TLT_TYPEDEF
static

[C++ only] The name of a type parameter for a template, in the first operand of a typedef statement.

◆ TLV_DEFINITION

const xr_kind_role xr_kind_role::TLV_DEFINITION
static

The name of a value parameter for a template, when defined (in the template definition/declaration).

◆ TLV_INVOCATION

const xr_kind_role xr_kind_role::TLV_INVOCATION
static

[C++ only] The name of a value parameter for a template, when invoked (for function pointers).

◆ TLV_METHOD_INVOCATION

const xr_kind_role xr_kind_role::TLV_METHOD_INVOCATION
static

[C++ only] The name of a value parameter for a template, when one of its methods is invoked (for aggregates).

◆ TLV_OTHER

const xr_kind_role xr_kind_role::TLV_OTHER
static

[C++ only] The name of a value parameter for a template, otherwise.

◆ TLV_READ

const xr_kind_role xr_kind_role::TLV_READ
static

[C++ only] The name of a value parameter for a template, when its value is read.

◆ TLV_SIZEOF

const xr_kind_role xr_kind_role::TLV_SIZEOF
static

[C++ only] The name of a value parameter for a template, as the argument to sizeof() .

◆ TLV_TAKE_ADDRESS

const xr_kind_role xr_kind_role::TLV_TAKE_ADDRESS
static

[C++ only] The name of a value parameter Tv for a template, as the operand of an addressing expression &Tv .

◆ TLV_TEMPL_ARG

const xr_kind_role xr_kind_role::TLV_TEMPL_ARG
static

[C++ only] The name of a value parameter for a template, as a value argument for template instantiation.

◆ TLV_WRITE

const xr_kind_role xr_kind_role::TLV_WRITE
static

[C++ only] The name of a value parameter for a template, when it is written to.

◆ TLV_WRITE_THROUGH

const xr_kind_role xr_kind_role::TLV_WRITE_THROUGH
static

[C++ only] The name of a value parameter for a template, when it is dereferenced and its target written to (for pointers).

◆ TYPE_AGGREGATE_MEMBER

const xr_kind_role xr_kind_role::TYPE_AGGREGATE_MEMBER
static

A type name, as the type of a member of an aggregate.

◆ TYPE_CAST

const xr_kind_role xr_kind_role::TYPE_CAST
static

A type name, as the target type of a cast operation.

◆ TYPE_CATCH_PARAM

const xr_kind_role xr_kind_role::TYPE_CATCH_PARAM
static

[C++ only] A type name, as the parameter type in a catch expression.

◆ TYPE_CONSTANT

const xr_kind_role xr_kind_role::TYPE_CONSTANT
static

[C++ only] A type name, as the type of a variable declared as const .

◆ TYPE_CONSTRUCTOR_INITIALIZATION

const xr_kind_role xr_kind_role::TYPE_CONSTRUCTOR_INITIALIZATION
static

[C++ only] A type name, as the type of a base class constructor in an initialization list.

◆ TYPE_DECLARATION

const xr_kind_role xr_kind_role::TYPE_DECLARATION
static

[C++ only] A type name, when declared.

◆ TYPE_DEFINITION

const xr_kind_role xr_kind_role::TYPE_DEFINITION
static

Type name, when defined.

◆ TYPE_FILE_STATIC

const xr_kind_role xr_kind_role::TYPE_FILE_STATIC
static

A type name, as the type of a file static variable.

◆ TYPE_FORMAL

const xr_kind_role xr_kind_role::TYPE_FORMAL
static

A type name, as the type of a formal parameter in a function definition or declaration.

◆ TYPE_FRIEND

const xr_kind_role xr_kind_role::TYPE_FRIEND
static

[C++ only] A type name declared as a friend .

◆ TYPE_GLOBAL

const xr_kind_role xr_kind_role::TYPE_GLOBAL
static

A type name, as the type of a global variable.

◆ TYPE_LOCAL

const xr_kind_role xr_kind_role::TYPE_LOCAL
static

A type name, as the type of a local variable.

◆ TYPE_LOCAL_STATIC

const xr_kind_role xr_kind_role::TYPE_LOCAL_STATIC
static

A type name, as the type of a local static variable.

◆ TYPE_NEW

const xr_kind_role xr_kind_role::TYPE_NEW
static

[C++ only] A type name, in the type of a new expression.

◆ TYPE_OTHER

const xr_kind_role xr_kind_role::TYPE_OTHER
static

A type name, otherwise.

◆ TYPE_QUALIFIER

const xr_kind_role xr_kind_role::TYPE_QUALIFIER
static

[C++ only] A type name T , in the first operand of a name qualifier expression T::x .

◆ TYPE_RETURN_TYPE

const xr_kind_role xr_kind_role::TYPE_RETURN_TYPE
static

A type name, as the return type in a function definition or declaration.

◆ TYPE_SIZEOF

const xr_kind_role xr_kind_role::TYPE_SIZEOF
static

A type name, as the argument to sizeof() .

◆ TYPE_SUBCLASS

const xr_kind_role xr_kind_role::TYPE_SUBCLASS
static

[C++ only] A type name, as the superclass in a subclass declaration.

◆ TYPE_TAG

const xr_kind_role xr_kind_role::TYPE_TAG
static

A type name that is defined to be the same as the tag in the struct enum or union .

◆ TYPE_TEMPL_ARG

const xr_kind_role xr_kind_role::TYPE_TEMPL_ARG
static

[C++ only] A type name, as a type argument for template instantiation.

◆ TYPE_TEMPLATE_PARAMETER

const xr_kind_role xr_kind_role::TYPE_TEMPLATE_PARAMETER
static

[C++ only] A type name, as the type of a template value parameter.

◆ TYPE_THROW_EXCEPTION_SPEC

const xr_kind_role xr_kind_role::TYPE_THROW_EXCEPTION_SPEC
static

[C++ only] A type name, as the parameter type in a throw expression.

◆ TYPE_TYPEDEF

const xr_kind_role xr_kind_role::TYPE_TYPEDEF
static

A type name, in the first operand of a typedef statement.

◆ VAR_GLOBAL_DECLARATION

const xr_kind_role xr_kind_role::VAR_GLOBAL_DECLARATION
static

A global variable name, when declared.

◆ VAR_GLOBAL_DEFINITION

const xr_kind_role xr_kind_role::VAR_GLOBAL_DEFINITION
static

An global variable name, when defined.

◆ VAR_GLOBAL_INVOCATION

const xr_kind_role xr_kind_role::VAR_GLOBAL_INVOCATION
static

A global variable name v , when invoked (for function pointer variables).

◆ VAR_GLOBAL_METHOD_INVOCATION

const xr_kind_role xr_kind_role::VAR_GLOBAL_METHOD_INVOCATION
static

[C++ only] A global variable name v , when one of its methods is invoked (for aggregate variables).

◆ VAR_GLOBAL_OTHER

const xr_kind_role xr_kind_role::VAR_GLOBAL_OTHER
static

A global variable name, otherwise.

◆ VAR_GLOBAL_READ

const xr_kind_role xr_kind_role::VAR_GLOBAL_READ
static

A global variable name, when its value is read.

◆ VAR_GLOBAL_SIZEOF

const xr_kind_role xr_kind_role::VAR_GLOBAL_SIZEOF
static

A global variable name, as the argument to sizeof() .

◆ VAR_GLOBAL_TAKE_ADDRESS

const xr_kind_role xr_kind_role::VAR_GLOBAL_TAKE_ADDRESS
static

A global variable name v , as the operand of an addressing expression &v .

◆ VAR_GLOBAL_TEMPL_ARG

const xr_kind_role xr_kind_role::VAR_GLOBAL_TEMPL_ARG
static

[C++ only] A global variable name v , as an argument for template instantiation.

◆ VAR_GLOBAL_WRITE

const xr_kind_role xr_kind_role::VAR_GLOBAL_WRITE
static

A global variable name, when written to.

◆ VAR_GLOBAL_WRITE_THROUGH

const xr_kind_role xr_kind_role::VAR_GLOBAL_WRITE_THROUGH
static

A global variable name, when it is dereferenced and its target written to (for pointer variables).

◆ VAR_LOCAL_DECLARATION

const xr_kind_role xr_kind_role::VAR_LOCAL_DECLARATION
static

A local variable name, when declared.

◆ VAR_LOCAL_DEFINITION

const xr_kind_role xr_kind_role::VAR_LOCAL_DEFINITION
static

A local variable name, when defined.

◆ VAR_LOCAL_INVOCATION

const xr_kind_role xr_kind_role::VAR_LOCAL_INVOCATION
static

A local variable name v , when invoked (for function pointer variables).

◆ VAR_LOCAL_METHOD_INVOCATION

const xr_kind_role xr_kind_role::VAR_LOCAL_METHOD_INVOCATION
static

[C++ only] A local variable name v , when one of its methods is invoked (for aggregate variables).

◆ VAR_LOCAL_OTHER

const xr_kind_role xr_kind_role::VAR_LOCAL_OTHER
static

A local variable name, otherwise.

◆ VAR_LOCAL_READ

const xr_kind_role xr_kind_role::VAR_LOCAL_READ
static

A local variable name, when its value is read.

◆ VAR_LOCAL_SIZEOF

const xr_kind_role xr_kind_role::VAR_LOCAL_SIZEOF
static

A local variable name, as the argument to sizeof() .

◆ VAR_LOCAL_STATIC_DECLARATION

const xr_kind_role xr_kind_role::VAR_LOCAL_STATIC_DECLARATION
static

(not in use)

◆ VAR_LOCAL_STATIC_DEFINITION

const xr_kind_role xr_kind_role::VAR_LOCAL_STATIC_DEFINITION
static

A local static variable name, when defined.

◆ VAR_LOCAL_STATIC_INVOCATION

const xr_kind_role xr_kind_role::VAR_LOCAL_STATIC_INVOCATION
static

A local static variable name v , when invoked (for function pointer variables).

◆ VAR_LOCAL_STATIC_METHOD_INVOCATION

const xr_kind_role xr_kind_role::VAR_LOCAL_STATIC_METHOD_INVOCATION
static

[C++ only] A local static variable name v , when one of its methods is invoked (for aggregate variables).

◆ VAR_LOCAL_STATIC_OTHER

const xr_kind_role xr_kind_role::VAR_LOCAL_STATIC_OTHER
static

A local static variable name, otherwise.

◆ VAR_LOCAL_STATIC_READ

const xr_kind_role xr_kind_role::VAR_LOCAL_STATIC_READ
static

A local static variable name, when its value is read.

◆ VAR_LOCAL_STATIC_SIZEOF

const xr_kind_role xr_kind_role::VAR_LOCAL_STATIC_SIZEOF
static

A local static variable name, as the argument to sizeof() .

◆ VAR_LOCAL_STATIC_TAKE_ADDRESS

const xr_kind_role xr_kind_role::VAR_LOCAL_STATIC_TAKE_ADDRESS
static

A local static variable name v , as the operand of an addressing expression &v .

◆ VAR_LOCAL_STATIC_TEMPL_ARG

const xr_kind_role xr_kind_role::VAR_LOCAL_STATIC_TEMPL_ARG
static

[C++ only] A local static variable name v , as an argument for template instantiation.

◆ VAR_LOCAL_STATIC_WRITE

const xr_kind_role xr_kind_role::VAR_LOCAL_STATIC_WRITE
static

A local static variable name, when written to.

◆ VAR_LOCAL_STATIC_WRITE_THROUGH

const xr_kind_role xr_kind_role::VAR_LOCAL_STATIC_WRITE_THROUGH
static

A local static variable name, when it is dereferenced and its target written to (for pointer variables).

◆ VAR_LOCAL_TAKE_ADDRESS

const xr_kind_role xr_kind_role::VAR_LOCAL_TAKE_ADDRESS
static

A local variable name v , as the operand of an addressing expression &v .

◆ VAR_LOCAL_TEMPL_ARG

const xr_kind_role xr_kind_role::VAR_LOCAL_TEMPL_ARG
static

[C++ only] A variable name v , as an argument for template instantiation.

◆ VAR_LOCAL_WRITE

const xr_kind_role xr_kind_role::VAR_LOCAL_WRITE
static

A local variable name, when written to.

◆ VAR_LOCAL_WRITE_THROUGH

const xr_kind_role xr_kind_role::VAR_LOCAL_WRITE_THROUGH
static

A local variable name, when it is dereferenced and its target written to (for pointer variables).

◆ VAR_PARAMETER_DECLARATION

const xr_kind_role xr_kind_role::VAR_PARAMETER_DECLARATION
static

A parameter name, when declared.

◆ VAR_PARAMETER_DEFINITION

const xr_kind_role xr_kind_role::VAR_PARAMETER_DEFINITION
static

A parameter name, when defined.

◆ VAR_PARAMETER_INVOCATION

const xr_kind_role xr_kind_role::VAR_PARAMETER_INVOCATION
static

A parameter name v , when invoked (for function pointer parameters).

◆ VAR_PARAMETER_METHOD_INVOCATION

const xr_kind_role xr_kind_role::VAR_PARAMETER_METHOD_INVOCATION
static

[C++ only] A parameter name v , when one of its methods is invoked (for aggregate variables).

◆ VAR_PARAMETER_OTHER

const xr_kind_role xr_kind_role::VAR_PARAMETER_OTHER
static

A parameter name, otherwise.

◆ VAR_PARAMETER_READ

const xr_kind_role xr_kind_role::VAR_PARAMETER_READ
static

A parameter name, when its value is read.

◆ VAR_PARAMETER_SIZEOF

const xr_kind_role xr_kind_role::VAR_PARAMETER_SIZEOF
static

A parameter name, as the argument to sizeof() .

◆ VAR_PARAMETER_TAKE_ADDRESS

const xr_kind_role xr_kind_role::VAR_PARAMETER_TAKE_ADDRESS
static

A parameter name v , as the operand of an addressing expression &v .

◆ VAR_PARAMETER_TEMPL_ARG

const xr_kind_role xr_kind_role::VAR_PARAMETER_TEMPL_ARG
static

(not in use)

◆ VAR_PARAMETER_WRITE

const xr_kind_role xr_kind_role::VAR_PARAMETER_WRITE
static

A parameter name, when written to.

◆ VAR_PARAMETER_WRITE_THROUGH

const xr_kind_role xr_kind_role::VAR_PARAMETER_WRITE_THROUGH
static

A parameter name, when it is dereferenced and its target written to (for pointer variables).

◆ VAR_STATIC_DECLARATION

const xr_kind_role xr_kind_role::VAR_STATIC_DECLARATION
static

A static variable name, when declared.

◆ VAR_STATIC_DEFINITION

const xr_kind_role xr_kind_role::VAR_STATIC_DEFINITION
static

A file static variable name, when defined.

◆ VAR_STATIC_INVOCATION

const xr_kind_role xr_kind_role::VAR_STATIC_INVOCATION
static

A static variable name v , when invoked (for function pointer variables).

◆ VAR_STATIC_METHOD_INVOCATION

const xr_kind_role xr_kind_role::VAR_STATIC_METHOD_INVOCATION
static

[C++ only] A static variable name v , when one of its methods is invoked (for aggregate variables).

◆ VAR_STATIC_OTHER

const xr_kind_role xr_kind_role::VAR_STATIC_OTHER
static

A static variable name, otherwise.

◆ VAR_STATIC_READ

const xr_kind_role xr_kind_role::VAR_STATIC_READ
static

A static variable name, when its value is read.

◆ VAR_STATIC_SIZEOF

const xr_kind_role xr_kind_role::VAR_STATIC_SIZEOF
static

A variable name, as the argument to sizeof() .

◆ VAR_STATIC_TAKE_ADDRESS

const xr_kind_role xr_kind_role::VAR_STATIC_TAKE_ADDRESS
static

A static variable name v , as the operand of an addressing expression &v .

◆ VAR_STATIC_TEMPL_ARG

const xr_kind_role xr_kind_role::VAR_STATIC_TEMPL_ARG
static

[C++ only] A static variable name v , as an argument for template instantiation.

◆ VAR_STATIC_WRITE

const xr_kind_role xr_kind_role::VAR_STATIC_WRITE
static

A static variable name, when written to.

◆ VAR_STATIC_WRITE_THROUGH

const xr_kind_role xr_kind_role::VAR_STATIC_WRITE_THROUGH
static

A static variable name, when it is dereferenced and its target written to (for pointer variables).


The documentation for this class was generated from the following files: