![]() |
|
PhoenixProtocolBuffer
1.0.1
Set of tools to decode offset from protocol buffer
|
#include <string>
Include dependency graph for FieldType.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | FieldType |
Enumerations | |
| enum | FieldType::FieldType { FieldType::NONE = -1 , FieldType::ENUM_TYPE = 0 , FieldType::UINT64 = 1 , FieldType::BYTEARRAY = 2 , FieldType::SUBMESSAGE = 3 , FieldType::UINT32 = 5 , FieldType::UINT16 = 6 , FieldType::UINT8 = 7 , FieldType::INT64 = 8 , FieldType::INT32 = 9 , FieldType::INT16 = 10 , FieldType::INT8 = 11 } |
| Type of the Field. More... | |
| FieldType::FieldType phoenix_fieldType | ( | ) |
Get the default FieldType.
Definition at line 34 of file FieldType.h.
References FieldType::ENUM_TYPE.
Referenced by FieldParser::addParseFieldArray(), FieldParser::addParseFieldValue(), and FieldParser::checkInputType().
Here is the caller graph for this function:| 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: