souffle
2.0.2-371-g6315b36
|
Qualified Name class defines fully/partially qualified names to identify objects in components. More...
#include <QualifiedName.h>
Public Member Functions | |
void | append (std::string name) |
append qualifiers More... | |
bool | empty () const |
check for emptiness More... | |
const std::vector< std::string > & | getQualifiers () const |
get qualifiers More... | |
bool | operator!= (const QualifiedName &other) const |
bool | operator< (const QualifiedName &other) const |
QualifiedName & | operator= (const QualifiedName &)=default |
QualifiedName & | operator= (QualifiedName &&)=default |
bool | operator== (const QualifiedName &other) const |
void | prepend (std::string name) |
prepend qualifiers More... | |
void | print (std::ostream &out) const |
print qualified name More... | |
QualifiedName () | |
QualifiedName (const char *name) | |
QualifiedName (const QualifiedName &)=default | |
QualifiedName (const std::string &name) | |
QualifiedName (const std::vector< std::string > qualifiers) | |
QualifiedName (QualifiedName &&)=default | |
std::string | toString () const |
convert to a string separated by fullstop More... | |
Private Attributes | |
std::vector< std::string > | qualifiers |
Friends | |
std::ostream & | operator<< (std::ostream &out, const QualifiedName &id) |
Qualified Name class defines fully/partially qualified names to identify objects in components.
Definition at line 39 of file QualifiedName.h.
|
inline |
Definition at line 41 of file QualifiedName.h.
|
inline |
Definition at line 42 of file QualifiedName.h.
|
inline |
Definition at line 43 of file QualifiedName.h.
|
inline |
Definition at line 44 of file QualifiedName.h.
References qualifiers.
|
default |
|
default |
|
inline |
|
inline |
check for emptiness
Definition at line 61 of file QualifiedName.h.
|
inline |
|
inline |
Definition at line 81 of file QualifiedName.h.
|
inline |
Definition at line 85 of file QualifiedName.h.
References souffle::join(), and qualifiers.
|
default |
|
default |
|
inline |
Definition at line 77 of file QualifiedName.h.
|
inline |
prepend qualifiers
Definition at line 56 of file QualifiedName.h.
Referenced by souffle::ast::transform::MagicSetTransformer::LabelDatabaseTransformer::NegativeLabellingTransformer::getNegativeLabel().
|
inline |
print qualified name
Definition at line 91 of file QualifiedName.h.
|
inline |
convert to a string separated by fullstop
Definition at line 71 of file QualifiedName.h.
References qualifiers.
|
friend |
Definition at line 95 of file QualifiedName.h.
|
private |
Definition at line 102 of file QualifiedName.h.
Referenced by operator<(), QualifiedName(), and toString().