Ariles
Public Types | Public Member Functions | Public Attributes | Protected Types | List of all members
ariles2::ns_ros2param::ModifierNode Class Reference

Detailed Description

Definition at line 46 of file node_wrapper.h.

#include <node_wrapper.h>

Inheritance diagram for ariles2::ns_ros2param::ModifierNode:
ariles2::ns_ros2param::NodeBase ariles2::serialization::Node< std::string >

Public Types

enum class  ArrayType { UNDEFINED = 0 , BUILTIN = 1 , GENERIC = 2 }
 
enum class  Type
 

Public Member Functions

 ModifierNode (const std::string &name, std::size_t size)
 
template<class t_Value >
bool tryPushArray (const t_Value value)
 
bool tryPushArray (const std::string &value)
 
bool isNonBuiltinArray () const
 
bool isBuiltinArray () const
 
bool isMatrix () const
 
bool isVector () const
 
bool isArray () const
 
bool isCompleted () const
 

Public Attributes

std::variant< std::vector< uint8_t >, std::vector< bool >, std::vector< int64_t >, std::vector< float >, std::vector< double >, std::vector< std::string > > array_values_
 
ArrayType array_type_ = ArrayType::UNDEFINED
 
std::string node_
 
std::size_t index_
 
std::size_t size_
 
Type type_
 

Protected Types

using Parent = serialization::Node< std::string >
 

Member Typedef Documentation

◆ Parent

using ariles2::ns_ros2param::NodeBase::Parent = serialization::Node<std::string>
protectedinherited

Definition at line 18 of file node_wrapper.h.

Member Enumeration Documentation

◆ ArrayType

Enumerator
UNDEFINED 
BUILTIN 
GENERIC 

Definition at line 21 of file node_wrapper.h.

◆ Type

enum ariles2::serialization::Node::Type
stronginherited

Definition at line 56 of file serialization.h.

Constructor & Destructor Documentation

◆ ModifierNode()

ariles2::ns_ros2param::ModifierNode::ModifierNode ( const std::string &  name,
std::size_t  size 
)
inline

Definition at line 62 of file node_wrapper.h.

Member Function Documentation

◆ isArray()

bool ariles2::serialization::Node< std::string >::isArray ( ) const
inlineinherited

Definition at line 112 of file serialization.h.

◆ isBuiltinArray()

bool ariles2::ns_ros2param::NodeBase::isBuiltinArray ( ) const
inlineinherited

Definition at line 39 of file node_wrapper.h.

◆ isCompleted()

bool ariles2::serialization::Node< std::string >::isCompleted ( ) const
inlineinherited

Definition at line 117 of file serialization.h.

◆ isMatrix()

bool ariles2::serialization::Node< std::string >::isMatrix ( ) const
inlineinherited

Definition at line 102 of file serialization.h.

◆ isNonBuiltinArray()

bool ariles2::ns_ros2param::NodeBase::isNonBuiltinArray ( ) const
inlineinherited

Definition at line 34 of file node_wrapper.h.

◆ isVector()

bool ariles2::serialization::Node< std::string >::isVector ( ) const
inlineinherited

Definition at line 107 of file serialization.h.

◆ tryPushArray() [1/2]

bool ariles2::ns_ros2param::ModifierNode::tryPushArray ( const std::string &  value)
inline

Definition at line 87 of file node_wrapper.h.

◆ tryPushArray() [2/2]

template<class t_Value >
bool ariles2::ns_ros2param::ModifierNode::tryPushArray ( const t_Value  value)
inline

Definition at line 68 of file node_wrapper.h.

Member Data Documentation

◆ array_type_

ArrayType ariles2::ns_ros2param::NodeBase::array_type_ = ArrayType::UNDEFINED
inherited

Definition at line 29 of file node_wrapper.h.

◆ array_values_

std::variant< std::vector<uint8_t>, std::vector<bool>, std::vector<int64_t>, std::vector<float>, std::vector<double>, std::vector<std::string> > ariles2::ns_ros2param::ModifierNode::array_values_

Definition at line 56 of file node_wrapper.h.

◆ index_

std::size_t ariles2::serialization::Node< std::string >::index_
inherited

Definition at line 69 of file serialization.h.

◆ node_

std::string ariles2::serialization::Node< std::string >::node_
inherited

Definition at line 68 of file serialization.h.

◆ size_

std::size_t ariles2::serialization::Node< std::string >::size_
inherited

Definition at line 70 of file serialization.h.

◆ type_

Type ariles2::serialization::Node< std::string >::type_
inherited

Definition at line 71 of file serialization.h.


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