Tag(): Simple class to provide nested sequence numbering. More...
#include <Tag.hpp>
Public Member Functions | |
Tag () | |
Tag(): Constructor Construct a new tag, using the internal global sequence number. | |
Tag (const Tag &other)=default | |
Tag(): Copy constructor. | |
Tag (Tag *parent) | |
Tag(): Construct as a child of a parent Tag. This will increment the child sequence counter in the parent. | |
operator std::string () const | |
std::string(): String casting operator | |
bool | operator== (const Tag &other) const |
==(): Equality operator | |
bool | operator!= (const Tag &other) const |
!=(): Inequality operator | |
bool | operator== (const std::string &s) const |
==(): Equality operator (vs. string) | |
bool | operator!= (const std::string &s) const |
!=(): Inequality operator (vs. string) | |
Static Public Member Functions | |
static void | resetGlobalSeqNum () |
Tag(): Simple class to provide nested sequence numbering.
Tags are identifiers for objects in simulation. Tags are nested, meaning that one Tag can be a child of another. In this case, the the tag is labeled like so: <parent>.<child>[.<child>]*
|
inline |
|
default |
Tag(): Copy constructor.
other | instance to copy |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |