#include <Identity.h>
Public Member Functions | |
const std::string | getConcept () const |
SpicaId | getId () const |
const std::string | getName () const |
const std::string | getRep () const |
bool | hasConcept () const |
bool | hasId () const |
bool | hasName () const |
bool | hasRep () const |
Identity () | |
Identity (const Identifier identifier) | |
Identity (SpicaId id, const std::string concept, const std::string rep, const std::string name) | |
Identity (const Identity &other) | |
bool | isMatch (const Identifier other) const |
bool | isMatch (const Identity &other) const |
Identity & | operator= (const Identity &other) |
Identity & | operator= (const Identifier other) |
std::string | str () const |
Protected Attributes | |
std::string | concept |
SpicaId | id |
std::string | name |
std::string | rep |
Friends | |
bool | operator< (const Identity &one, const Identity &other) |
bool | operator== (const Identifier &lhs, const Identifier &rhs) |
Definition at line 11 of file Identity.h.
Definition at line 16 of file Identity.cpp.
castor::spica::Identity::Identity | ( | const Identifier | identifier | ) |
Definition at line 21 of file Identity.cpp.
castor::spica::Identity::Identity | ( | SpicaId | id, |
const std::string | concept, | ||
const std::string | rep, | ||
const std::string | name | ||
) |
Definition at line 65 of file Identity.cpp.
castor::spica::Identity::Identity | ( | const Identity & | other | ) |
Definition at line 70 of file Identity.cpp.
const std::string castor::spica::Identity::getConcept | ( | ) | const |
Definition at line 96 of file Identity.cpp.
SpicaId castor::spica::Identity::getId | ( | ) | const |
Definition at line 88 of file Identity.cpp.
const std::string castor::spica::Identity::getName | ( | ) | const |
Definition at line 112 of file Identity.cpp.
const std::string castor::spica::Identity::getRep | ( | ) | const |
Definition at line 104 of file Identity.cpp.
bool castor::spica::Identity::hasConcept | ( | ) | const |
Definition at line 92 of file Identity.cpp.
bool castor::spica::Identity::hasId | ( | ) | const |
Definition at line 84 of file Identity.cpp.
bool castor::spica::Identity::hasName | ( | ) | const |
Definition at line 108 of file Identity.cpp.
bool castor::spica::Identity::hasRep | ( | ) | const |
Definition at line 100 of file Identity.cpp.
bool castor::spica::Identity::isMatch | ( | const Identifier | other | ) | const |
Definition at line 75 of file Identity.cpp.
bool castor::spica::Identity::isMatch | ( | const Identity & | other | ) | const |
Definition at line 79 of file Identity.cpp.
Definition at line 143 of file Identity.cpp.
Identity & castor::spica::Identity::operator= | ( | const Identifier | other | ) |
Definition at line 153 of file Identity.cpp.
std::string castor::spica::Identity::str | ( | ) | const |
Definition at line 116 of file Identity.cpp.
Definition at line 171 of file Identity.cpp.
bool operator== | ( | const Identifier & | lhs, |
const Identifier & | rhs | ||
) | [friend] |
std::string castor::spica::Identity::concept [protected] |
Definition at line 17 of file Identity.h.
SpicaId castor::spica::Identity::id [protected] |
Definition at line 15 of file Identity.h.
std::string castor::spica::Identity::name [protected] |
Definition at line 20 of file Identity.h.
std::string castor::spica::Identity::rep [protected] |
Definition at line 18 of file Identity.h.