sisi4s
Loading...
Searching...
No Matches
sisi4s::TensorData< F, T > Class Template Reference

#include <Data.hpp>

Inheritance diagram for sisi4s::TensorData< F, T >:
Collaboration diagram for sisi4s::TensorData< F, T >:

Public Member Functions

 TensorData (T *value_)
 
 TensorData (std::string const &name_, T *value_)
 
virtual ~TensorData ()
 
- 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
 

Public Attributes

T * value
 

Additional Inherited Members

- Public Types inherited from sisi4s::Data
enum  Stage {
  MENTIONED = 0 , TYPED = 1 , ALLOCATED = 2 , READY = 3 ,
  UNUSED = 4 , LINGERING = 5
}
 
- Static Public Member Functions inherited from sisi4s::Data
static Dataget (std::string const &name)
 
- Protected Member Functions inherited from sisi4s::NumericData
 NumericData (std::string const &typeName_)
 
 NumericData (std::string const &name_, std::string const &typeName_)
 
- Protected Member Functions inherited from sisi4s::TypedData
 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 inherited from sisi4s::TypedData
static std::string nextName ()
 
- Protected Attributes inherited from sisi4s::Data
std::string name
 
std::string typeName
 
Stage stage
 
- Static Protected Attributes inherited from sisi4s::TypedData
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
 

Constructor & Destructor Documentation

◆ TensorData() [1/2]

template<typename F = double, typename T = sisi4s::Tensor<F>>
sisi4s::TensorData< F, T >::TensorData ( T *  value_)
inline

◆ TensorData() [2/2]

template<typename F = double, typename T = sisi4s::Tensor<F>>
sisi4s::TensorData< F, T >::TensorData ( std::string const &  name_,
T *  value_ 
)
inline

◆ ~TensorData()

template<typename F = double, typename T = sisi4s::Tensor<F>>
virtual sisi4s::TensorData< F, T >::~TensorData ( )
inlinevirtual

Member Data Documentation

◆ value

template<typename F = double, typename T = sisi4s::Tensor<F>>
T* sisi4s::TensorData< F, T >::value

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