The abstraction of the version of an ELF symbol.
More...
#include <abg-ir.h>
The abstraction of the version of an ELF symbol.
Definition at line 1193 of file abg-ir.h.
◆ version()
version |
( |
const string & |
v, |
|
|
bool |
is_default |
|
) |
| |
- Parameters
-
v | the name of the version. |
is_default | true if this is a default version. |
Definition at line 3095 of file abg-ir.cc.
◆ is_default() [1/2]
bool is_default |
( |
| ) |
const |
Getter for the 'is_default' property of the version.
- Returns
- true iff this is a default version.
Definition at line 3131 of file abg-ir.cc.
◆ is_default() [2/2]
void is_default |
( |
bool |
f | ) |
|
Setter for the 'is_default' property of the version.
- Parameters
-
f | true if this is the default version. |
Definition at line 3138 of file abg-ir.cc.
◆ operator const string &()
operator const string & |
( |
| ) |
const |
Cast the version_type into a string that is its name.
- Returns
- the name of the version.
Definition at line 3110 of file abg-ir.cc.
◆ operator!=()
bool operator!= |
( |
const version & |
o | ) |
const |
Inequality operator.
- Parameters
-
o | the version to compare against the current one. |
- Returns
- true iff both versions are different.
Definition at line 3160 of file abg-ir.cc.
◆ operator=()
Assign a version to the current one.
- Parameters
-
o | the other version to assign to this one. |
- Returns
- a reference to the assigned version.
Definition at line 3169 of file abg-ir.cc.
◆ operator==()
bool operator== |
( |
const version & |
o | ) |
const |
Compares the current version against another one.
- Parameters
-
o | the other version to compare the current one to. |
- Returns
- true iff the current version equals
o
.
Definition at line 3151 of file abg-ir.cc.
◆ str() [1/2]
const string & str |
( |
| ) |
const |
Getter for the version name.
- Returns
- the version name.
Definition at line 3117 of file abg-ir.cc.
◆ str() [2/2]
void str |
( |
const string & |
s | ) |
|
Setter for the version name.
- Parameters
-
Definition at line 3124 of file abg-ir.cc.
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