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 49 of file serialization.h.

#include <serialization.h>

Public Types

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

Public Member Functions

 Node (const Type type=GENERIC)
 
 Node (t_RawNode node, const 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 isAllParsed () 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
Enumerator
UNDEFINED 
GENERIC 
ARRAY 
MATRIX 
VECTOR 
ITERATED_MAP 

Definition at line 52 of file serialization.h.

Constructor & Destructor Documentation

◆ Node() [1/4]

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

Definition at line 71 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 = GENERIC 
)
inline

Definition at line 77 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 85 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 91 of file serialization.h.

Member Function Documentation

◆ isAllParsed()

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

Definition at line 113 of file serialization.h.

◆ isArray()

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

Definition at line 108 of file serialization.h.

◆ isMatrix()

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

Definition at line 98 of file serialization.h.

◆ isVector()

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

Definition at line 103 of file serialization.h.

Member Data Documentation

◆ index_

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

Definition at line 65 of file serialization.h.

◆ node_

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

Definition at line 64 of file serialization.h.

◆ size_

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

Definition at line 66 of file serialization.h.

◆ type_

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

Definition at line 67 of file serialization.h.


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