Shaka Player Embedded
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Friends | List of all members
shaka::proto::Value Class Reference

#include <database.pb.h>

Inheritance diagram for shaka::proto::Value:

Classes

class  _Internal
 

Public Types

enum  ValueCase {
  kValueBool = 2, kValueNumber = 3, kValueString = 4, kValueObject = 5,
  kValueBytes = 6, VALUE_NOT_SET = 0
}
 
enum  : int {
  kKindFieldNumber = 1, kValueBoolFieldNumber = 2, kValueNumberFieldNumber = 3, kValueStringFieldNumber = 4,
  kValueObjectFieldNumber = 5, kValueBytesFieldNumber = 6
}
 

Public Member Functions

 Value ()
 
virtual ~Value ()
 
 Value (const Value &from)
 
 Value (Value &&from) noexcept
 
Valueoperator= (const Value &from)
 
Valueoperator= (Value &&from) noexcept
 
const std::string & unknown_fields () const
 
std::string * mutable_unknown_fields ()
 
void Swap (Value *other)
 
ValueNew () const final
 
ValueNew (::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
 
void CheckTypeAndMergeFrom (const ::PROTOBUF_NAMESPACE_ID::MessageLite &from) final
 
void CopyFrom (const Value &from)
 
void MergeFrom (const Value &from)
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
bool IsInitialized () const final
 
size_t ByteSizeLong () const final
 
bool MergePartialFromCodedStream (::PROTOBUF_NAMESPACE_ID::io::CodedInputStream *input) final
 
void SerializeWithCachedSizes (::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream *output) const final
 
void DiscardUnknownFields ()
 
int GetCachedSize () const final
 
std::string GetTypeName () const final
 
bool has_kind () const
 
void clear_kind ()
 
::shaka::proto::ValueType kind () const
 
void set_kind (::shaka::proto::ValueType value)
 
bool has_value_bool () const
 
void clear_value_bool ()
 
bool value_bool () const
 
void set_value_bool (bool value)
 
bool has_value_number () const
 
void clear_value_number ()
 
double value_number () const
 
void set_value_number (double value)
 
bool has_value_string () const
 
void clear_value_string ()
 
const std::string & value_string () const
 
void set_value_string (const std::string &value)
 
void set_value_string (std::string &&value)
 
void set_value_string (const char *value)
 
void set_value_string (const char *value, size_t size)
 
std::string * mutable_value_string ()
 
std::string * release_value_string ()
 
void set_allocated_value_string (std::string *value_string)
 
bool has_value_object () const
 
void clear_value_object ()
 
const ::shaka::proto::Objectvalue_object () const
 
::shaka::proto::Objectrelease_value_object ()
 
::shaka::proto::Objectmutable_value_object ()
 
void set_allocated_value_object (::shaka::proto::Object *value_object)
 
bool has_value_bytes () const
 
void clear_value_bytes ()
 
const std::string & value_bytes () const
 
void set_value_bytes (const std::string &value)
 
void set_value_bytes (std::string &&value)
 
void set_value_bytes (const char *value)
 
void set_value_bytes (const void *value, size_t size)
 
std::string * mutable_value_bytes ()
 
std::string * release_value_bytes ()
 
void set_allocated_value_bytes (std::string *value_bytes)
 
void clear_value ()
 
ValueCase value_case () const
 

Static Public Member Functions

static const Valuedefault_instance ()
 
static void InitAsDefaultInstance ()
 
static const Valueinternal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 

Friends

class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata
 
struct ::TableStruct_shaka_2fsrc_2fjs_2fidb_2fdatabase_2eproto
 
void swap (Value &a, Value &b)
 

Detailed Description

Definition at line 400 of file database.pb.h.

Member Enumeration Documentation

§ anonymous enum

anonymous enum : int
Enumerator
kKindFieldNumber 
kValueBoolFieldNumber 
kValueNumberFieldNumber 
kValueStringFieldNumber 
kValueObjectFieldNumber 
kValueBytesFieldNumber 

Definition at line 511 of file database.pb.h.

§ ValueCase

Enumerator
kValueBool 
kValueNumber 
kValueString 
kValueObject 
kValueBytes 
VALUE_NOT_SET 

Definition at line 434 of file database.pb.h.

Constructor & Destructor Documentation

§ Value() [1/3]

shaka::proto::Value::Value ( )

Definition at line 835 of file database.pb.cc.

§ ~Value()

shaka::proto::Value::~Value ( )
virtual

Definition at line 881 of file database.pb.cc.

§ Value() [2/3]

shaka::proto::Value::Value ( const Value from)

Definition at line 840 of file database.pb.cc.

§ Value() [3/3]

shaka::proto::Value::Value ( Value &&  from)
inlinenoexcept

Definition at line 407 of file database.pb.h.

Member Function Documentation

§ ByteSizeLong()

size_t shaka::proto::Value::ByteSizeLong ( ) const
final

Definition at line 1178 of file database.pb.cc.

§ CheckTypeAndMergeFrom()

void shaka::proto::Value::CheckTypeAndMergeFrom ( const ::PROTOBUF_NAMESPACE_ID::MessageLite &  from)
final

Definition at line 1234 of file database.pb.cc.

§ Clear()

void shaka::proto::Value::Clear ( )
final

Definition at line 932 of file database.pb.cc.

§ clear_kind()

void shaka::proto::Value::clear_kind ( )
inline

Definition at line 777 of file database.pb.h.

§ clear_value()

void shaka::proto::Value::clear_value ( )

Definition at line 901 of file database.pb.cc.

§ clear_value_bool()

void shaka::proto::Value::clear_value_bool ( )
inline

Definition at line 799 of file database.pb.h.

§ clear_value_bytes()

void shaka::proto::Value::clear_value_bytes ( )
inline

Definition at line 988 of file database.pb.h.

§ clear_value_number()

void shaka::proto::Value::clear_value_number ( )
inline

Definition at line 828 of file database.pb.h.

§ clear_value_object()

void shaka::proto::Value::clear_value_object ( )
inline

Definition at line 947 of file database.pb.h.

§ clear_value_string()

void shaka::proto::Value::clear_value_string ( )
inline

Definition at line 857 of file database.pb.h.

§ CopyFrom()

void shaka::proto::Value::CopyFrom ( const Value from)

Definition at line 1277 of file database.pb.cc.

§ default_instance()

const Value & shaka::proto::Value::default_instance ( )
static

Definition at line 895 of file database.pb.cc.

§ DiscardUnknownFields()

void shaka::proto::Value::DiscardUnknownFields ( )

§ GetCachedSize()

int shaka::proto::Value::GetCachedSize ( ) const
inlinefinal

Definition at line 485 of file database.pb.h.

§ GetTypeName()

std::string shaka::proto::Value::GetTypeName ( ) const
final

Definition at line 1321 of file database.pb.cc.

§ has_kind()

bool shaka::proto::Value::has_kind ( ) const
inline

Definition at line 774 of file database.pb.h.

§ has_value_bool()

bool shaka::proto::Value::has_value_bool ( ) const
inline

Definition at line 793 of file database.pb.h.

§ has_value_bytes()

bool shaka::proto::Value::has_value_bytes ( ) const
inline

Definition at line 982 of file database.pb.h.

§ has_value_number()

bool shaka::proto::Value::has_value_number ( ) const
inline

Definition at line 822 of file database.pb.h.

§ has_value_object()

bool shaka::proto::Value::has_value_object ( ) const
inline

Definition at line 941 of file database.pb.h.

§ has_value_string()

bool shaka::proto::Value::has_value_string ( ) const
inline

Definition at line 851 of file database.pb.h.

§ InitAsDefaultInstance()

void shaka::proto::Value::InitAsDefaultInstance ( )
static

Definition at line 806 of file database.pb.cc.

§ internal_default_instance()

static const Value* shaka::proto::Value::internal_default_instance ( )
inlinestatic

Definition at line 444 of file database.pb.h.

§ IsInitialized()

bool shaka::proto::Value::IsInitialized ( ) const
final

Definition at line 1284 of file database.pb.cc.

§ kind()

shaka::proto::ValueType shaka::proto::Value::kind ( ) const
inline

Definition at line 781 of file database.pb.h.

§ MergeFrom()

void shaka::proto::Value::MergeFrom ( const Value from)

Definition at line 1240 of file database.pb.cc.

§ MergePartialFromCodedStream()

bool shaka::proto::Value::MergePartialFromCodedStream ( ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream *  input)
final

Definition at line 1021 of file database.pb.cc.

§ mutable_unknown_fields()

std::string* shaka::proto::Value::mutable_unknown_fields ( )
inline

Definition at line 428 of file database.pb.h.

§ mutable_value_bytes()

std::string * shaka::proto::Value::mutable_value_bytes ( )
inline

Definition at line 1042 of file database.pb.h.

§ mutable_value_object()

shaka::proto::Object * shaka::proto::Value::mutable_value_object ( )
inline

Definition at line 970 of file database.pb.h.

§ mutable_value_string()

std::string * shaka::proto::Value::mutable_value_string ( )
inline

Definition at line 911 of file database.pb.h.

§ New() [1/2]

Value* shaka::proto::Value::New ( ) const
inlinefinal

Definition at line 461 of file database.pb.h.

§ New() [2/2]

Value* shaka::proto::Value::New ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena) const
inlinefinal

Definition at line 465 of file database.pb.h.

§ operator=() [1/2]

Value& shaka::proto::Value::operator= ( const Value from)
inline

Definition at line 412 of file database.pb.h.

§ operator=() [2/2]

Value& shaka::proto::Value::operator= ( Value &&  from)
inlinenoexcept

Definition at line 416 of file database.pb.h.

§ release_value_bytes()

std::string * shaka::proto::Value::release_value_bytes ( )
inline

Definition at line 1051 of file database.pb.h.

§ release_value_object()

shaka::proto::Object * shaka::proto::Value::release_value_object ( )
inline

Definition at line 953 of file database.pb.h.

§ release_value_string()

std::string * shaka::proto::Value::release_value_string ( )
inline

Definition at line 920 of file database.pb.h.

§ SerializeWithCachedSizes()

void shaka::proto::Value::SerializeWithCachedSizes ( ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream *  output) const
final

Definition at line 1139 of file database.pb.cc.

§ set_allocated_value_bytes()

void shaka::proto::Value::set_allocated_value_bytes ( std::string *  value_bytes)
inline

Definition at line 1060 of file database.pb.h.

§ set_allocated_value_object()

void shaka::proto::Value::set_allocated_value_object ( ::shaka::proto::Object value_object)

Definition at line 821 of file database.pb.cc.

§ set_allocated_value_string()

void shaka::proto::Value::set_allocated_value_string ( std::string *  value_string)
inline

Definition at line 929 of file database.pb.h.

§ set_kind()

void shaka::proto::Value::set_kind ( ::shaka::proto::ValueType  value)
inline

Definition at line 785 of file database.pb.h.

§ set_value_bool()

void shaka::proto::Value::set_value_bool ( bool  value)
inline

Definition at line 812 of file database.pb.h.

§ set_value_bytes() [1/4]

void shaka::proto::Value::set_value_bytes ( const std::string &  value)
inline

Definition at line 1001 of file database.pb.h.

§ set_value_bytes() [2/4]

void shaka::proto::Value::set_value_bytes ( std::string &&  value)
inline

Definition at line 1011 of file database.pb.h.

§ set_value_bytes() [3/4]

void shaka::proto::Value::set_value_bytes ( const char *  value)
inline

Definition at line 1021 of file database.pb.h.

§ set_value_bytes() [4/4]

void shaka::proto::Value::set_value_bytes ( const void *  value,
size_t  size 
)
inline

Definition at line 1032 of file database.pb.h.

§ set_value_number()

void shaka::proto::Value::set_value_number ( double  value)
inline

Definition at line 841 of file database.pb.h.

§ set_value_string() [1/4]

void shaka::proto::Value::set_value_string ( const std::string &  value)
inline

Definition at line 870 of file database.pb.h.

§ set_value_string() [2/4]

void shaka::proto::Value::set_value_string ( std::string &&  value)
inline

Definition at line 880 of file database.pb.h.

§ set_value_string() [3/4]

void shaka::proto::Value::set_value_string ( const char *  value)
inline

Definition at line 890 of file database.pb.h.

§ set_value_string() [4/4]

void shaka::proto::Value::set_value_string ( const char *  value,
size_t  size 
)
inline

Definition at line 901 of file database.pb.h.

§ Swap()

void shaka::proto::Value::Swap ( Value other)
inline

Definition at line 454 of file database.pb.h.

§ unknown_fields()

const std::string& shaka::proto::Value::unknown_fields ( ) const
inline

Definition at line 425 of file database.pb.h.

§ value_bool()

bool shaka::proto::Value::value_bool ( ) const
inline

Definition at line 805 of file database.pb.h.

§ value_bytes()

const std::string & shaka::proto::Value::value_bytes ( ) const
inline

Definition at line 994 of file database.pb.h.

§ value_case()

Value::ValueCase shaka::proto::Value::value_case ( ) const
inline

Definition at line 1077 of file database.pb.h.

§ value_number()

double shaka::proto::Value::value_number ( ) const
inline

Definition at line 834 of file database.pb.h.

§ value_object()

const ::shaka::proto::Object & shaka::proto::Value::value_object ( ) const
inline

Definition at line 964 of file database.pb.h.

§ value_string()

const std::string & shaka::proto::Value::value_string ( ) const
inline

Definition at line 863 of file database.pb.h.

Friends And Related Function Documentation

§ ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata

friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata
friend

Definition at line 492 of file database.pb.h.

§ ::TableStruct_shaka_2fsrc_2fjs_2fidb_2fdatabase_2eproto

Definition at line 597 of file database.pb.h.

§ swap

void swap ( Value a,
Value b 
)
friend

Definition at line 451 of file database.pb.h.

Member Data Documentation

§ kIndexInFileMessages

constexpr int shaka::proto::Value::kIndexInFileMessages
static
Initial value:
=
2

Definition at line 448 of file database.pb.h.


The documentation for this class was generated from the following files: