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

#include <Data.hpp>

Inheritance diagram for sisi4s::TypedData:
Collaboration diagram for sisi4s::TypedData:

Protected Member Functions

 TypedData (std::string const &typeName_)
 Protected constructor for anonymous constant data.
 
 TypedData (std::string const &name_, std::string const &typeName_)
 Protected constructor for named data.
 
- Protected Member Functions inherited from sisi4s::Data
 Data (std::string const &name_, std::string const &typeName_)
 protected constructor for typed data.
 

Static Protected Member Functions

static std::string nextName ()
 

Static Protected Attributes

static int nextId
 next id number to be given anonymous constant data. They will be named "Constant0", "Constant1", ... regardless of the type.
 
- Static Protected Attributes inherited from sisi4s::Data
static std::map< std::string, Data * > dataMap
 
static int64_t nextAnynomousDataId
 

Additional Inherited Members

- Public Types inherited from sisi4s::Data
enum  Stage {
  MENTIONED = 0 , TYPED = 1 , ALLOCATED = 2 , READY = 3 ,
  UNUSED = 4 , LINGERING = 5
}
 
- Public Member Functions inherited from sisi4s::Data
 Data (std::string const &name_)
 
virtual ~Data ()
 
std::string getName () const
 
std::string getTypeName () const
 
Stage getStage () const
 
- Static Public Member Functions inherited from sisi4s::Data
static Dataget (std::string const &name)
 
- Protected Attributes inherited from sisi4s::Data
std::string name
 
std::string typeName
 
Stage stage
 

Constructor & Destructor Documentation

◆ TypedData() [1/2]

sisi4s::TypedData::TypedData ( std::string const &  typeName_)
inlineprotected

Protected constructor for anonymous constant data.

◆ TypedData() [2/2]

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

Protected constructor for named data.

Member Function Documentation

◆ nextName()

static std::string sisi4s::TypedData::nextName ( )
inlinestaticprotected

Member Data Documentation

◆ nextId

int TypedData::nextId
staticprotected

next id number to be given anonymous constant data. They will be named "Constant0", "Constant1", ... regardless of the type.


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