29#ifndef KIDS_VariableDescriptor_H
30#define KIDS_VariableDescriptor_H
56 void referIn(std::shared_ptr<DataSet>& DS);
63 void defineIn(std::shared_ptr<DataSet>& DS,
kids_dtype data_type,
const std::vector<std::size_t>& cxxshape);
Declaration of the DataSet class and related classes.
this file provides einsum operation
this class provides the container and implementation of algorithms
Represents a handler for input/output operations related to expressions.
Shape class provide information about of a Tensor's shape.
< http://warp.povusers.org/FunctionParser/fparser.html
Represents a rule for evaluating an expression.
Represents a variable token in an expression rule.
std::string name
The name of the variable.
void referIn(std::shared_ptr< DataSet > &DS)
Associates the variable with data in the DataSet.
std::string time
The time of the variable.
kids_dtype dataType
The data type of the variable.
VariableDescriptor(const std::string &token_string)
Constructs a VariableDescriptor object.
std::string tokenString
The input token string.
void defineIn(std::shared_ptr< DataSet > &DS, kids_dtype data_type, const std::vector< std::size_t > &cxxshape)
Define variable with data in the DataSet.
Shape * shape
Pointer to the shape of the variable.
std::string field
The field of the variable.
void * dataPointer
Pointer to the data of the variable.
std::string type
The type of the variable.
std::string index
The index of the variable.