KIDS  ver-0.0.1
KIDS : Kernel Integrated Dynamics Simulator
Loading...
Searching...
No Matches
PROJECT_NS::VARIABLE< T > Class Template Referencefinal

#include <Variable.h>

Inheritance diagram for PROJECT_NS::VARIABLE< T >:
Inheritance graph
Collaboration diagram for PROJECT_NS::VARIABLE< T >:
Collaboration graph

Public Member Functions

 VARIABLE (const std::string &name, Shape *shape, const std::string &doc)
 
std::string name ()
 
std::string doc ()
 
Shapeshape () const
 

Static Public Attributes

static std::vector< VARIABLE_BASE * > _LIST
 

Private Attributes

std::string _name
 
T * _data
 
Shape_shape
 
std::string _doc
 
bool allocated = false
 

Detailed Description

template<class T>
class PROJECT_NS::VARIABLE< T >

Definition at line 54 of file Variable.h.

Constructor & Destructor Documentation

◆ VARIABLE()

template<class T >
PROJECT_NS::VARIABLE< T >::VARIABLE ( const std::string & name,
Shape * shape,
const std::string & doc )
inline

Definition at line 56 of file Variable.h.

References PROJECT_NS::VARIABLE_BASE::_LIST.

Member Function Documentation

◆ doc()

◆ name()

template<class T >
std::string PROJECT_NS::VARIABLE< T >::name ( )
inlinevirtual

Implements PROJECT_NS::VARIABLE_BASE.

Definition at line 61 of file Variable.h.

References PROJECT_NS::VARIABLE< T >::_name.

◆ shape()

template<class T >
Shape & PROJECT_NS::VARIABLE< T >::shape ( ) const
inline

Definition at line 65 of file Variable.h.

References PROJECT_NS::VARIABLE< T >::_shape.

Member Data Documentation

◆ _data

template<class T >
T* PROJECT_NS::VARIABLE< T >::_data
private

Definition at line 69 of file Variable.h.

◆ _doc

template<class T >
std::string PROJECT_NS::VARIABLE< T >::_doc
private

Definition at line 71 of file Variable.h.

Referenced by PROJECT_NS::VARIABLE< T >::doc().

◆ _LIST

std::vector< VARIABLE_BASE * > PROJECT_NS::VARIABLE_BASE::_LIST
staticinherited

◆ _name

template<class T >
std::string PROJECT_NS::VARIABLE< T >::_name
private

Definition at line 68 of file Variable.h.

Referenced by PROJECT_NS::VARIABLE< T >::name().

◆ _shape

template<class T >
Shape* PROJECT_NS::VARIABLE< T >::_shape
private

Definition at line 70 of file Variable.h.

Referenced by PROJECT_NS::VARIABLE< T >::shape().

◆ allocated

template<class T >
bool PROJECT_NS::VARIABLE< T >::allocated = false
private

Definition at line 72 of file Variable.h.


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