![]() |
|
PhoenixProtocolBuffer
1.0.1
Set of tools to decode offset from protocol buffer
|
#include "FieldType.h"
Include dependency graph for FieldType.cpp:Go to the source code of this file.
| FieldType::FieldType phoenix_fieldType< char > | ( | ) |
Get the FieldType of a int8.
Definition at line 70 of file FieldType.cpp.
References FieldType::INT8.
| FieldType::FieldType phoenix_fieldType< int > | ( | ) |
Get the FieldType of a int32.
Definition at line 54 of file FieldType.cpp.
References FieldType::INT32.
| FieldType::FieldType phoenix_fieldType< long > | ( | ) |
Get the FieldType of a int64.
Definition at line 46 of file FieldType.cpp.
References FieldType::INT64.
| FieldType::FieldType phoenix_fieldType< long unsigned int > | ( | ) |
Get the FieldType of a uint64.
Definition at line 14 of file FieldType.cpp.
References FieldType::UINT64.
| FieldType::FieldType phoenix_fieldType< short > | ( | ) |
Get the FieldType of a int16.
Definition at line 62 of file FieldType.cpp.
References FieldType::INT16.
| FieldType::FieldType phoenix_fieldType< unsigned char > | ( | ) |
Get the FieldType of a uint8.
Definition at line 38 of file FieldType.cpp.
References FieldType::UINT8.
| FieldType::FieldType phoenix_fieldType< unsigned int > | ( | ) |
Get the FieldType of a uint32.
Definition at line 22 of file FieldType.cpp.
References FieldType::UINT32.
| FieldType::FieldType phoenix_fieldType< unsigned short > | ( | ) |
Get the FieldType of a uint16.
Definition at line 30 of file FieldType.cpp.
References FieldType::UINT16.
| FieldType::FieldType phoenix_fieldTypeFromStr | ( | const std::string & | name | ) |
Convert a string into a FieldType.
| name | : string to be converted into a FieldType |
Definition at line 78 of file FieldType.cpp.
References FieldType::BYTEARRAY, FieldType::ENUM_TYPE, FieldType::INT16, FieldType::INT32, FieldType::INT64, FieldType::INT8, FieldType::NONE, FieldType::SUBMESSAGE, FieldType::UINT16, FieldType::UINT32, FieldType::UINT64, and FieldType::UINT8.
Referenced by phoenix_parseFieldConfig().
Here is the caller graph for this function:| std::string phoenix_fieldTypeToStr | ( | FieldType::FieldType | type | ) |
Convert a FieldType into a string.
| type | : FieldType to be converted |
Definition at line 99 of file FieldType.cpp.
References FieldType::BYTEARRAY, FieldType::ENUM_TYPE, FieldType::INT16, FieldType::INT32, FieldType::INT64, FieldType::INT8, FieldType::SUBMESSAGE, FieldType::UINT16, FieldType::UINT32, FieldType::UINT64, and FieldType::UINT8.
Referenced by FieldParser::checkInputType(), and FieldParser::loadComputeOffset().
Here is the caller graph for this function:| FieldType::FieldType phoenix_pbTypeToFieldType | ( | size_t | fieldType | ) |
Convert a FIeld Type from protocol buffer to FieldType.
| fieldType | : field type form protocol buffer |
Definition at line 120 of file FieldType.cpp.
References FieldType::BYTEARRAY, FieldType::ENUM_TYPE, FieldType::NONE, FieldType::UINT32, and FieldType::UINT64.
Referenced by FieldParser::loadComputeOffset().
Here is the caller graph for this function: