The abstraction of an enumerator.
More...
#include <abg-ir.h>
The abstraction of an enumerator.
Definition at line 2880 of file abg-ir.h.
◆ enumerator() [1/3]
◆ enumerator() [2/3]
Constructor of the enumerator type.
- Parameters
-
env | the environment we are operating from. |
name | the name of the enumerator. |
value | the value of the enumerator. |
Definition at line 20843 of file abg-ir.cc.
◆ enumerator() [3/3]
◆ get_enum_type()
Getter for the enum type that this enumerator is for.
- Returns
- the enum type that this enumerator is for.
Definition at line 20954 of file abg-ir.cc.
◆ get_name()
const string & get_name |
( |
| ) |
const |
◆ get_qualified_name()
const string & get_qualified_name |
( |
bool | internal = false | ) |
const |
Getter for the qualified name of the current instance of enum_type_decl::enumerator. The first invocation of the method builds the qualified name, caches it and return a reference to the cached qualified name. Subsequent invocations just return the cached value.
- Parameters
-
internal | set to true if the call is intended for an internal use (for technical use inside the library itself), false otherwise. If you don't know what this is for, then set it to false. |
- Returns
- the qualified name of the current instance of enum_type_decl::enumerator.
Definition at line 20916 of file abg-ir.cc.
◆ get_value()
int64_t get_value |
( |
| ) |
const |
◆ operator!=()
Inequality operator.
- Parameters
-
other | the other instance to compare against. |
- Returns
- true iff
other
is different from the current instance.
Definition at line 20890 of file abg-ir.cc.
◆ operator=()
◆ operator==()
◆ set_enum_type()
Setter for the enum type that this enumerator is for.
- Parameters
-
Definition at line 20961 of file abg-ir.cc.
◆ set_name()
void set_name |
( |
const string & | n | ) |
|
◆ set_value()
void set_value |
( |
int64_t | v | ) |
|
The documentation for this class was generated from the following files:
- /home/dodji/git/libabigail/master/include/abg-ir.h
- /home/dodji/git/libabigail/master/src/abg-ir.cc