DiaDes
0.1
DIAgnosis of Discrete-Event System
|
#include <Label.hh>
Public Types | |
using | Label = Diades::Utils::UnquotedLabel< CharT, Traits, Alloc > |
using | Gen = IdGenerator< Label > |
Public Member Functions | |
LabelGenerator ()=default | |
LabelGenerator (LabelGenerator const &other)=default | |
LabelGenerator & | operator= (LabelGenerator const &other)=default |
LabelGenerator (LabelGenerator &&other)=default | |
LabelGenerator & | operator= (LabelGenerator &&other)=default |
virtual | ~LabelGenerator ()=default |
LabelGenerator (const Label &prefix) | |
void | init () |
Label | another () |
Private Member Functions | |
Label | getLabel () |
Private Attributes | |
const std::array< CharT, 26 > | _characters = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'} |
Diades::Utils::RangesEnumeration< size_t > | _enumerator |
Label | _prefix |
This class successively generates UnquotedLabel as follows:
prefixa, prefixb,...., prefixz, prefixaa, ... prefixzz, prefixaaa, ...
using Diades::Utils::LabelGenerator< CharT, Traits, Alloc >::Gen = IdGenerator<Label> |
using Diades::Utils::LabelGenerator< CharT, Traits, Alloc >::Label = Diades::Utils::UnquotedLabel<CharT, Traits, Alloc> |
|
default |
Default constructor
|
default |
Copy constructor (default)
other |
|
default |
Move constructor (default)
other |
|
virtualdefault |
Destructor
|
inline |
|
inlinevirtual |
Implements Diades::Utils::IdGenerator< Diades::Utils::UnquotedLabel< CharT, Traits, Alloc > >.
Definition at line 423 of file Label.hh.
References Diades::Utils::RangesEnumeration< T >::current(), Diades::Utils::RangesEnumeration< T >::hasNext(), Diades::Utils::RangesEnumeration< T >::setup(), start, and Diades::Utils::RangesEnumeration< T >::start().
|
inlineprivate |
Definition at line 444 of file Label.hh.
References Diades::Utils::RangesEnumeration< T >::current(), Diades::Utils::GenericLabel< CharT, Traits, Alloc >::setLabel(), and Diades::Utils::GenericLabel< CharT, Traits, Alloc >::toString().
|
inlinevirtual |
Implements Diades::Utils::IdGenerator< Diades::Utils::UnquotedLabel< CharT, Traits, Alloc > >.
Definition at line 410 of file Label.hh.
References Diades::Utils::RangesEnumeration< T >::setup(), and Diades::Utils::RangesEnumeration< T >::start().
|
default |
|
default |
|
private |
|
private |
|
private |