DiaDes  0.1
DIAgnosis of Discrete-Event System
Public Member Functions | Protected Types | Protected Member Functions | Private Attributes | List of all members
Diades::Utils::GenericLabel< CharT, Traits, Alloc > Class Template Reference

#include <Label.hh>

Public Member Functions

const BasicStringtoString () const
 
bool isNull () const
 
GenericLabeloperator= (const GenericLabel &label)
 

Protected Types

typedef std::basic_string< CharT, Traits, Alloc > BasicString
 

Protected Member Functions

void setLabel (const BasicString &label)
 

Private Attributes

BasicString _label
 

Detailed Description

template<typename CharT, typename Traits, typename Alloc>
class Diades::Utils::GenericLabel< CharT, Traits, Alloc >

A GenericLabel is any kind of std::string. A GenericLabel is null if it is associated with an empty string. A GenericLabel is the parent class of more specific label classes and should not be explicitly used.

Definition at line 34 of file Label.hh.

Member Typedef Documentation

◆ BasicString

template<typename CharT, typename Traits, typename Alloc>
typedef std::basic_string<CharT, Traits, Alloc> Diades::Utils::GenericLabel< CharT, Traits, Alloc >::BasicString
protected

Definition at line 37 of file Label.hh.

Member Function Documentation

◆ isNull()

template<typename CharT, typename Traits, typename Alloc>
bool Diades::Utils::GenericLabel< CharT, Traits, Alloc >::isNull ( ) const
inline

◆ operator=()

template<typename CharT, typename Traits, typename Alloc>
GenericLabel& Diades::Utils::GenericLabel< CharT, Traits, Alloc >::operator= ( const GenericLabel< CharT, Traits, Alloc > &  label)
inline

◆ setLabel()

template<typename CharT, typename Traits, typename Alloc>
void Diades::Utils::GenericLabel< CharT, Traits, Alloc >::setLabel ( const BasicString label)
inlineprotected

◆ toString()

template<typename CharT, typename Traits, typename Alloc>
const BasicString& Diades::Utils::GenericLabel< CharT, Traits, Alloc >::toString ( ) const
inline

Member Data Documentation

◆ _label

template<typename CharT, typename Traits, typename Alloc>
BasicString Diades::Utils::GenericLabel< CharT, Traits, Alloc >::_label
private

The documentation for this class was generated from the following file: