KIDS  ver-0.0.1
KIDS : Kernel Integrated Dynamics Simulator
Loading...
Searching...
No Matches
PROJECT_NS::Node Class Referenceabstract

Node class is an abstract interface. More...

#include <Node.h>

Inheritance diagram for PROJECT_NS::Node:
Inheritance graph
Collaboration diagram for PROJECT_NS::Node:
Collaboration graph

Public Member Functions

virtual std::string repr ()=0
 
virtual std::string help (const std::string &name)=0
 
kids_dtype type ()
 

Protected Attributes

kids_dtype _type = kids_void_type
 

Friends

class DataSet
 

Detailed Description

Node class is an abstract interface.

A Node will store a tensor or other Nodes

Definition at line 39 of file Node.h.

Member Function Documentation

◆ help()

virtual std::string PROJECT_NS::Node::help ( const std::string & name)
pure virtual

Implemented in PROJECT_NS::DataSet, and PROJECT_NS::Tensor< T >.

Referenced by PROJECT_NS::DataSet::help().

Here is the caller graph for this function:

◆ repr()

virtual std::string PROJECT_NS::Node::repr ( )
pure virtual

Implemented in PROJECT_NS::DataSet, and PROJECT_NS::Tensor< T >.

Referenced by PROJECT_NS::DataSet::repr().

Here is the caller graph for this function:

◆ type()

kids_dtype PROJECT_NS::Node::type ( )
inline

Definition at line 45 of file Node.h.

References _type.

Referenced by PROJECT_NS::DataSet::help(), and PROJECT_NS::DataSet::repr().

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ DataSet

friend class DataSet
friend

Definition at line 48 of file Node.h.

Member Data Documentation

◆ _type

kids_dtype PROJECT_NS::Node::_type = kids_void_type
protected

Definition at line 50 of file Node.h.

Referenced by PROJECT_NS::DataSet::DataSet(), PROJECT_NS::Tensor< T >::Tensor(), and type().


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