Ariles
Public Types | Public Member Functions | Public Attributes | List of all members
ariles2::serialization::Node< t_RawNode > Class Template Reference

Detailed Description

template<class t_RawNode>
class ariles2::serialization::Node< t_RawNode >

Definition at line 53 of file serialization.h.

#include <serialization.h>

Public Types

enum class  Type {
  UNDEFINED = 0 , GENERIC = 1 , ARRAY = 2 , MATRIX = 3 ,
  VECTOR = 4 , ITERATED_MAP = 5
}
 

Public Member Functions

 Node (const Type type=Type::GENERIC)
 
 Node (t_RawNode node, const Type type=Type::GENERIC)
 
 Node (const std::size_t index, const std::size_t size)
 
 Node (t_RawNode node, const std::size_t index, const std::size_t size)
 
bool isMatrix () const
 
bool isVector () const
 
bool isArray () const
 
bool isCompleted () const
 

Public Attributes

t_RawNode node_
 
std::size_t index_
 
std::size_t size_
 
Type type_
 

Member Enumeration Documentation

◆ Type

template<class t_RawNode >
enum ariles2::serialization::Node::Type
strong
Enumerator
UNDEFINED 
GENERIC 
ARRAY 
MATRIX 
VECTOR 
ITERATED_MAP 

Definition at line 56 of file serialization.h.

Constructor & Destructor Documentation

◆ Node() [1/4]

template<class t_RawNode >
ariles2::serialization::Node< t_RawNode >::Node ( const Type  type = Type::GENERIC)
inlineexplicit

Definition at line 75 of file serialization.h.

◆ Node() [2/4]

template<class t_RawNode >
ariles2::serialization::Node< t_RawNode >::Node ( t_RawNode< t_RawNode >  node,
const Type  type = Type::GENERIC 
)
inlineexplicit

Definition at line 81 of file serialization.h.

◆ Node() [3/4]

template<class t_RawNode >
ariles2::serialization::Node< t_RawNode >::Node ( const std::size_t  index,
const std::size_t  size 
)
inline

Definition at line 89 of file serialization.h.

◆ Node() [4/4]

template<class t_RawNode >
ariles2::serialization::Node< t_RawNode >::Node ( t_RawNode< t_RawNode >  node,
const std::size_t  index,
const std::size_t  size 
)
inline

Definition at line 95 of file serialization.h.

Member Function Documentation

◆ isArray()

template<class t_RawNode >
bool ariles2::serialization::Node< t_RawNode >::isArray ( ) const
inline

Definition at line 112 of file serialization.h.

◆ isCompleted()

template<class t_RawNode >
bool ariles2::serialization::Node< t_RawNode >::isCompleted ( ) const
inline

Definition at line 117 of file serialization.h.

◆ isMatrix()

template<class t_RawNode >
bool ariles2::serialization::Node< t_RawNode >::isMatrix ( ) const
inline

Definition at line 102 of file serialization.h.

◆ isVector()

template<class t_RawNode >
bool ariles2::serialization::Node< t_RawNode >::isVector ( ) const
inline

Definition at line 107 of file serialization.h.

Member Data Documentation

◆ index_

template<class t_RawNode >
std::size_t ariles2::serialization::Node< t_RawNode >::index_

Definition at line 69 of file serialization.h.

◆ node_

template<class t_RawNode >
t_RawNode ariles2::serialization::Node< t_RawNode >::node_

Definition at line 68 of file serialization.h.

◆ size_

template<class t_RawNode >
std::size_t ariles2::serialization::Node< t_RawNode >::size_

Definition at line 70 of file serialization.h.

◆ type_

template<class t_RawNode >
Type ariles2::serialization::Node< t_RawNode >::type_

Definition at line 71 of file serialization.h.


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