|
|
| NameSet () |
| | default constructor.
|
| |
|
| NameSet (const std::string &name) |
| | Constructor with arguments.
|
| |
|
| NameSet (const NameSet &o) |
| | copy constructor.
|
| |
|
| NameSet (::dueca::AmorphReStore &r) |
| | constructor to restore an NameSet from amorphous storage.
|
| |
|
| ~NameSet () |
| | destructor.
|
| |
|
void | packData (::dueca::AmorphStore &s) const |
| | packs the NameSet into amorphous storage.
|
| |
| void | packDataDiff (::dueca::AmorphStore &s, const NameSet &ref) const |
| | packs the NameSet into amorphous storage.
|
| |
|
void | unPackData (::dueca::AmorphReStore &s) |
| | unpacks the NameSet from an amorphous storage.
|
| |
|
void | unPackDataDiff (::dueca::AmorphReStore &s) |
| | unpacks the differences for NameSet from an amorphous storage.
|
| |
|
bool | operator== (const NameSet &o) const |
| | Test for equality.
|
| |
|
bool | operator!= (const NameSet &o) const |
| | Test for inequality.
|
| |
|
NameSet & | operator= (const NameSet &o) |
| | Assignment operator.
|
| |
|
std::ostream & | print (std::ostream &s) const |
| | prints the NameSet to a stream.
|
| |
| | NameSet (const std::string &e, const std::string &c, const std::string &p) |
| | Old compatibility constructor for a complete name, using a three-part structure, results in name c://e/p or c://e if p is an empty string.
|
| |
| | NameSet (const std::string &e, const std::string &c, int p) |
| | Old compatibility constructor for a complete name, with the part as an integer.
|
| |
|
std::string | getEntity () const |
| | Return the entity part only.
|
| |
|
std::string | getClass () const |
| | Return class name part only.
|
| |
|
std::string | getPart () const |
| | Return part name(s) only.
|
| |
| bool | operator< (const NameSet &o) const |
| | A nameset is considered smaller, when its name is alphabetically smaller.
|
| |
| bool | operator> (const NameSet &o) const |
| | A nameset is considered larger, when its name is alphabetically larger.
|
| |
|
void | validate_set () |
| | validate, and throw an dueca::improper_nameset exception if required.
|
| |
|
| static void * | operator new (size_t size) |
| | new operator "new", which places objects not on a heap, but in one of the memory arenas.
|
| |
|
static void * | operator new (size_t size, void *mem) |
| | accompanying placement operator "new"
|
| |
|
static void | operator delete (void *p) |
| | new operator "delete", to go with the new version of operator new.
|
| |
|
static void * | operator new (size_t size, NameSet *&o) |
| | placement "new", needed for stl.
|
| |
Name tuple as used in DUECA.
The tuple is typically written in URL-type fashion, with the data class type before the dots, e.g., MyDataClass://entity/part, or MyDataClass://something
Originally, the naming in DUECA was limited to three-part names
-
Entity. The name of the (bigger) entity this object (module or channel) belongs or corresponds to.
-
Class. The type of thing it is. The module class name for a module, or the data class name for a channel.
-
Part. In order to distinguish between multiple channels/modules of the same type within one Entity.
This is now re-coded to a name of Class://Entity/Part, and if part is omitted, to Class://Entity