#include <myahrs_plus.hpp>
Classes | |
struct | Node |
struct | Stream |
struct | Varient |
Public Types | |
enum | Tag { TAG_TYPE_NONE = 0, TAG_TYPE_INT8 = 1, TAG_TYPE_UINT8 = 2, TAG_TYPE_INT16 = 3, TAG_TYPE_UINT16 = 4, TAG_TYPE_INT32 = 5, TAG_TYPE_UINT32 = 6, TAG_TYPE_INT64 = 7, TAG_TYPE_UINT64 = 8, TAG_TYPE_FLOAT32 = 9, TAG_TYPE_FLOAT64 = 10, TAG_TYPE_STRING = 11, TAG_HAS_LEAF_NODES = (0x01<<7), TAG_NEXT_NODE_EXIST = (0x01<<6), TAG_LIST_NODE = (0x01<<5), TAG_TYPE_MASK = 0x0F } |
Public Member Functions | |
iNodeParser (unsigned char *stream=0, size_t stream_len=0) | |
virtual void | new_node (std::vector< Node > &node_list)=0 |
void | parse () |
virtual | ~iNodeParser () |
Private Member Functions | |
void | read_nodes () |
Private Attributes | |
bool | debug |
Stream | istream |
std::vector< Node > | node_list |
Definition at line 926 of file myahrs_plus.hpp.
Definition at line 929 of file myahrs_plus.hpp.
WithRobot::iNodeParser::iNodeParser | ( | unsigned char * | stream = 0 , |
size_t | stream_len = 0 |
||
) | [inline] |
Definition at line 1072 of file myahrs_plus.hpp.
virtual WithRobot::iNodeParser::~iNodeParser | ( | ) | [inline, virtual] |
Definition at line 1073 of file myahrs_plus.hpp.
virtual void WithRobot::iNodeParser::new_node | ( | std::vector< Node > & | node_list | ) | [pure virtual] |
Implemented in WithRobot::iBinaryProtocol::BinaryNodeParser.
void WithRobot::iNodeParser::parse | ( | ) | [inline] |
Definition at line 1075 of file myahrs_plus.hpp.
void WithRobot::iNodeParser::read_nodes | ( | ) | [inline, private] |
Definition at line 1083 of file myahrs_plus.hpp.
bool WithRobot::iNodeParser::debug [private] |
Definition at line 1067 of file myahrs_plus.hpp.
Stream WithRobot::iNodeParser::istream [private] |
Definition at line 1066 of file myahrs_plus.hpp.
std::vector<Node> WithRobot::iNodeParser::node_list [private] |
Definition at line 1069 of file myahrs_plus.hpp.