sisi4s
Loading...
Searching...
No Matches
sisi4s::Data Class Reference

#include <Data.hpp>

Inheritance diagram for sisi4s::Data:
Collaboration diagram for sisi4s::Data:

Public Types

enum  Stage {
  MENTIONED = 0 , TYPED = 1 , ALLOCATED = 2 , READY = 3 ,
  UNUSED = 4 , LINGERING = 5
}
 

Public Member Functions

 Data (std::string const &name_)
 
virtual ~Data ()
 
std::string getName () const
 
std::string getTypeName () const
 
Stage getStage () const
 

Static Public Member Functions

static Dataget (std::string const &name)
 

Protected Member Functions

 Data (std::string const &name_, std::string const &typeName_)
 protected constructor for typed data.
 

Protected Attributes

std::string name
 
std::string typeName
 
Stage stage
 

Static Protected Attributes

static std::map< std::string, Data * > dataMap
 
static int64_t nextAnynomousDataId
 

Member Enumeration Documentation

◆ Stage

Enumerator
MENTIONED 
TYPED 
ALLOCATED 
READY 
UNUSED 
LINGERING 

Constructor & Destructor Documentation

◆ Data() [1/2]

Data::Data ( std::string const &  name_)

◆ ~Data()

virtual sisi4s::Data::~Data ( )
inlinevirtual

◆ Data() [2/2]

sisi4s::Data::Data ( std::string const &  name_,
std::string const &  typeName_ 
)
inlineprotected

protected constructor for typed data.

Here is the call graph for this function:

Member Function Documentation

◆ get()

static Data * sisi4s::Data::get ( std::string const &  name)
inlinestatic
Here is the caller graph for this function:

◆ getName()

std::string sisi4s::Data::getName ( ) const
inline
Here is the caller graph for this function:

◆ getStage()

Stage sisi4s::Data::getStage ( ) const
inline
Here is the caller graph for this function:

◆ getTypeName()

std::string sisi4s::Data::getTypeName ( ) const
inline
Here is the caller graph for this function:

Member Data Documentation

◆ dataMap

std::map< std::string, Data * > Data::dataMap
staticprotected

◆ name

std::string sisi4s::Data::name
protected

◆ nextAnynomousDataId

int64_t sisi4s::Data::nextAnynomousDataId
staticprotected

◆ stage

Stage sisi4s::Data::stage
protected

◆ typeName

std::string sisi4s::Data::typeName
protected

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