retdec
|
#include <names.h>
Public Types | |
using | iterator = typename std::set< Name >::iterator |
Public Member Functions | |
bool | addName (Config *c, const std::string &name, Name::eType type, Lti *lti=nullptr) |
const Name & | getPreferredName () |
iterator | begin () |
iterator | end () |
std::size_t | size () const |
bool | empty () const |
Private Attributes | |
std::set< Name > | _names |
Static Private Attributes | |
static Name | _emptyName |
Representation of all the names for one object.
using retdec::bin2llvmir::Names::iterator = typename std::set<Name>::iterator |
bool retdec::bin2llvmir::Names::addName | ( | Config * | c, |
const std::string & | name, | ||
Name::eType | type, | ||
Lti * | lti = nullptr |
||
) |
Name is not added if name
is empty.
True
if name added, false
otherwise. Names::iterator retdec::bin2llvmir::Names::begin | ( | ) |
bool retdec::bin2llvmir::Names::empty | ( | ) | const |
Names::iterator retdec::bin2llvmir::Names::end | ( | ) |
const Name & retdec::bin2llvmir::Names::getPreferredName | ( | ) |
std::size_t retdec::bin2llvmir::Names::size | ( | ) | const |
|
staticprivate |
|
private |