#include <datapiece.h>
|
enum | Type {
TYPE_INT32 = 1,
TYPE_INT64 = 2,
TYPE_UINT32 = 3,
TYPE_UINT64 = 4,
TYPE_DOUBLE = 5,
TYPE_FLOAT = 6,
TYPE_BOOL = 7,
TYPE_ENUM = 8,
TYPE_STRING = 9,
TYPE_BYTES = 10,
TYPE_NULL = 11
} |
|
Definition at line 59 of file datapiece.h.
◆ StringPiecePod
◆ Type
Enumerator |
---|
TYPE_INT32 | |
TYPE_INT64 | |
TYPE_UINT32 | |
TYPE_UINT64 | |
TYPE_DOUBLE | |
TYPE_FLOAT | |
TYPE_BOOL | |
TYPE_ENUM | |
TYPE_STRING | |
TYPE_BYTES | |
TYPE_NULL | |
Definition at line 63 of file datapiece.h.
◆ DataPiece() [1/12]
google::protobuf::util::converter::DataPiece::DataPiece |
( |
const int32 |
value | ) |
|
|
inlineexplicit |
◆ DataPiece() [2/12]
google::protobuf::util::converter::DataPiece::DataPiece |
( |
const int64 |
value | ) |
|
|
inlineexplicit |
◆ DataPiece() [3/12]
google::protobuf::util::converter::DataPiece::DataPiece |
( |
const uint32 |
value | ) |
|
|
inlineexplicit |
◆ DataPiece() [4/12]
google::protobuf::util::converter::DataPiece::DataPiece |
( |
const uint64 |
value | ) |
|
|
inlineexplicit |
◆ DataPiece() [5/12]
google::protobuf::util::converter::DataPiece::DataPiece |
( |
const double |
value | ) |
|
|
inlineexplicit |
◆ DataPiece() [6/12]
google::protobuf::util::converter::DataPiece::DataPiece |
( |
const float |
value | ) |
|
|
inlineexplicit |
◆ DataPiece() [7/12]
google::protobuf::util::converter::DataPiece::DataPiece |
( |
const bool |
value | ) |
|
|
inlineexplicit |
◆ DataPiece() [8/12]
google::protobuf::util::converter::DataPiece::DataPiece |
( |
StringPiece |
value, |
|
|
bool |
use_strict_base64_decoding |
|
) |
| |
|
inline |
◆ DataPiece() [9/12]
google::protobuf::util::converter::DataPiece::DataPiece |
( |
StringPiece |
value, |
|
|
bool |
dummy, |
|
|
bool |
use_strict_base64_decoding |
|
) |
| |
|
inline |
◆ DataPiece() [10/12]
google::protobuf::util::converter::DataPiece::DataPiece |
( |
const DataPiece & |
r | ) |
|
|
inline |
◆ ~DataPiece()
virtual google::protobuf::util::converter::DataPiece::~DataPiece |
( |
| ) |
|
|
inlinevirtual |
◆ DataPiece() [11/12]
google::protobuf::util::converter::DataPiece::DataPiece |
( |
| ) |
|
|
private |
◆ DataPiece() [12/12]
google::protobuf::util::converter::DataPiece::DataPiece |
( |
Type |
type, |
|
|
int32 |
val |
|
) |
| |
|
inlineprivate |
◆ DecodeBase64()
◆ GenericConvert() [1/2]
template<typename To >
util::StatusOr<To> google::protobuf::util::converter::DataPiece::GenericConvert |
( |
| ) |
const |
|
private |
◆ GenericConvert() [2/2]
template<typename To >
StatusOr<To> google::protobuf::util::converter::DataPiece::GenericConvert |
( |
| ) |
const |
◆ InternalCopy()
void google::protobuf::util::converter::DataPiece::InternalCopy |
( |
const DataPiece & |
other | ) |
|
|
private |
◆ NullData()
static DataPiece google::protobuf::util::converter::DataPiece::NullData |
( |
| ) |
|
|
inlinestatic |
◆ operator=()
◆ str()
StringPiece google::protobuf::util::converter::DataPiece::str |
( |
| ) |
const |
|
inline |
◆ StringToNumber() [1/2]
◆ StringToNumber() [2/2]
template<typename To >
StatusOr<To> google::protobuf::util::converter::DataPiece::StringToNumber |
( |
bool(*)(StringPiece, To *) |
func | ) |
const |
◆ ToBool()
StatusOr< bool > google::protobuf::util::converter::DataPiece::ToBool |
( |
| ) |
const |
◆ ToBytes()
◆ ToDouble()
StatusOr< double > google::protobuf::util::converter::DataPiece::ToDouble |
( |
| ) |
const |
◆ ToEnum()
StatusOr< int > google::protobuf::util::converter::DataPiece::ToEnum |
( |
const google::protobuf::Enum * |
enum_type, |
|
|
bool |
use_lower_camel_for_enums, |
|
|
bool |
case_insensitive_enum_parsing, |
|
|
bool |
ignore_unknown_enum_values, |
|
|
bool * |
is_unknown_enum_value |
|
) |
| const |
|
private |
◆ ToFloat()
StatusOr< float > google::protobuf::util::converter::DataPiece::ToFloat |
( |
| ) |
const |
◆ ToInt32()
StatusOr< int32 > google::protobuf::util::converter::DataPiece::ToInt32 |
( |
| ) |
const |
◆ ToInt64()
StatusOr< int64 > google::protobuf::util::converter::DataPiece::ToInt64 |
( |
| ) |
const |
◆ ToString()
◆ ToUint32()
StatusOr< uint32 > google::protobuf::util::converter::DataPiece::ToUint32 |
( |
| ) |
const |
◆ ToUint64()
StatusOr< uint64 > google::protobuf::util::converter::DataPiece::ToUint64 |
( |
| ) |
const |
◆ type()
Type google::protobuf::util::converter::DataPiece::type |
( |
| ) |
const |
|
inline |
◆ use_strict_base64_decoding()
bool google::protobuf::util::converter::DataPiece::use_strict_base64_decoding |
( |
| ) |
|
|
inline |
◆ ValueAsStringOrDefault()
std::string google::protobuf::util::converter::DataPiece::ValueAsStringOrDefault |
( |
StringPiece |
default_string | ) |
const |
◆ ProtoWriter
◆ @166
◆ bool_
bool google::protobuf::util::converter::DataPiece::bool_ |
◆ double_
double google::protobuf::util::converter::DataPiece::double_ |
◆ float_
float google::protobuf::util::converter::DataPiece::float_ |
◆ i32_
int32 google::protobuf::util::converter::DataPiece::i32_ |
◆ i64_
int64 google::protobuf::util::converter::DataPiece::i64_ |
◆ str_
◆ type_
Type google::protobuf::util::converter::DataPiece::type_ |
|
private |
◆ u32_
uint32 google::protobuf::util::converter::DataPiece::u32_ |
◆ u64_
uint64 google::protobuf::util::converter::DataPiece::u64_ |
◆ use_strict_base64_decoding_
bool google::protobuf::util::converter::DataPiece::use_strict_base64_decoding_ |
|
private |
The documentation for this class was generated from the following files: