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

Detailed Description

template<class t_RawNode>
class ariles::Node< t_RawNode >

Definition at line 17 of file node.h.

#include <node.h>

Public Types

enum  Type { UNDEFINED = 0, GENERIC = 1, ARRAY = 2, MATRIX = 3 }
 

Public Member Functions

 Node (t_RawNode node, const Type type=GENERIC, const bool compact=false)
 
 Node (const std::size_t index, const std::size_t size, const bool compact=false)
 
 Node (t_RawNode node, const std::size_t index, const std::size_t size, const bool compact=false)
 
bool isCompact () const
 
bool isMatrix () const
 
bool isArray () const
 
bool isAllParsed () const
 

Public Attributes

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

Member Enumeration Documentation

◆ Type

template<class t_RawNode >
enum ariles::Node::Type
Enumerator
UNDEFINED 
GENERIC 
ARRAY 
MATRIX 

Definition at line 20 of file node.h.

Constructor & Destructor Documentation

◆ Node() [1/3]

template<class t_RawNode >
ariles::Node< t_RawNode >::Node ( t_RawNode< t_RawNode >  node,
const Type  type = GENERIC,
const bool  compact = false 
)
inline

Definition at line 38 of file node.h.

◆ Node() [2/3]

template<class t_RawNode >
ariles::Node< t_RawNode >::Node ( const std::size_t  index,
const std::size_t  size,
const bool  compact = false 
)
inline

Definition at line 46 of file node.h.

◆ Node() [3/3]

template<class t_RawNode >
ariles::Node< t_RawNode >::Node ( t_RawNode< t_RawNode >  node,
const std::size_t  index,
const std::size_t  size,
const bool  compact = false 
)
inline

Definition at line 52 of file node.h.

Member Function Documentation

◆ isAllParsed()

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

Definition at line 74 of file node.h.

◆ isArray()

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

Definition at line 69 of file node.h.

◆ isCompact()

template<class t_RawNode >
bool ariles::Node< t_RawNode >::isCompact ( ) const
inline

Definition at line 59 of file node.h.

◆ isMatrix()

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

Definition at line 64 of file node.h.

Member Data Documentation

◆ compact_

template<class t_RawNode >
bool ariles::Node< t_RawNode >::compact_

Definition at line 34 of file node.h.

◆ index_

template<class t_RawNode >
std::size_t ariles::Node< t_RawNode >::index_

Definition at line 31 of file node.h.

◆ node_

template<class t_RawNode >
t_RawNode ariles::Node< t_RawNode >::node_

Definition at line 30 of file node.h.

◆ size_

template<class t_RawNode >
std::size_t ariles::Node< t_RawNode >::size_

Definition at line 32 of file node.h.

◆ type_

template<class t_RawNode >
Type ariles::Node< t_RawNode >::type_

Definition at line 33 of file node.h.


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