Public Attributes | List of all members
RosMsgParser::FieldLeaf Struct Reference

The FieldTreeLeaf is, as the name suggests, a leaf (terminal node) of a StringTree. It provides the pointer to the node and a list of numbers that represent the index that corresponds to the placeholder "#". More...

#include <stringtree_leaf.hpp>

Public Attributes

SmallVector< uint16_t, 4 > index_array
 
const FieldTreeNodenode
 

Detailed Description

The FieldTreeLeaf is, as the name suggests, a leaf (terminal node) of a StringTree. It provides the pointer to the node and a list of numbers that represent the index that corresponds to the placeholder "#".

For example if you want to represent the string

 foo/2/bar/3/hello/world

This would correspond to a branch of the tree (from root to the leaf) equal to these 6 nodes, where "foo" is the root and "world" is the leaf

foo -> # -> bar -> # ->hello -> world

array_size will be equal to two and index_array will contain these numbers {2,3}

Definition at line 85 of file stringtree_leaf.hpp.

Member Data Documentation

◆ index_array

SmallVector<uint16_t, 4> RosMsgParser::FieldLeaf::index_array

Definition at line 88 of file stringtree_leaf.hpp.

◆ node

const FieldTreeNode* RosMsgParser::FieldLeaf::node

Definition at line 87 of file stringtree_leaf.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:31