Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
google::protobuf.internal::AnyMetadata Class Reference

#include <any.h>

Public Member Functions

 AnyMetadata (UrlType *type_url, ValueType *value)
 
template<typename T >
bool Is () const
 
void PackFrom (const Message &message)
 
void PackFrom (const Message &message, const std::string &type_url_prefix)
 
template<typename T >
void PackFrom (const T &message)
 
template<typename T >
void PackFrom (const T &message, StringPiece type_url_prefix)
 
bool UnpackTo (Message *message) const
 
template<typename T >
bool UnpackTo (T *message) const
 

Private Types

typedef ArenaStringPtr UrlType
 
typedef ArenaStringPtr ValueType
 

Private Member Functions

 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (AnyMetadata)
 
bool InternalIs (StringPiece type_name) const
 
void InternalPackFrom (const MessageLite &message, StringPiece type_url_prefix, StringPiece type_name)
 
bool InternalUnpackTo (StringPiece type_name, MessageLite *message) const
 

Private Attributes

UrlTypetype_url_
 
ValueTypevalue_
 

Detailed Description

Definition at line 58 of file any.h.

Member Typedef Documentation

◆ UrlType

Definition at line 59 of file any.h.

◆ ValueType

Definition at line 60 of file any.h.

Constructor & Destructor Documentation

◆ AnyMetadata()

google::protobuf.internal::AnyMetadata::AnyMetadata ( UrlType type_url,
ValueType value 
)

Definition at line 57 of file any_lite.cc.

Member Function Documentation

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS()

google::protobuf.internal::AnyMetadata::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( AnyMetadata  )
private

◆ InternalIs()

bool google::protobuf.internal::AnyMetadata::InternalIs ( StringPiece  type_name) const
private

Definition at line 97 of file any_lite.cc.

◆ InternalPackFrom()

void google::protobuf.internal::AnyMetadata::InternalPackFrom ( const MessageLite message,
StringPiece  type_url_prefix,
StringPiece  type_name 
)
private

Definition at line 60 of file any_lite.cc.

◆ InternalUnpackTo()

bool google::protobuf.internal::AnyMetadata::InternalUnpackTo ( StringPiece  type_name,
MessageLite message 
) const
private

Definition at line 69 of file any_lite.cc.

◆ Is()

template<typename T >
bool google::protobuf.internal::AnyMetadata::Is ( ) const
inline

Definition at line 102 of file any.h.

◆ PackFrom() [1/4]

void google::protobuf.internal::AnyMetadata::PackFrom ( const Message message)

Definition at line 44 of file any.cc.

◆ PackFrom() [2/4]

void google::protobuf.internal::AnyMetadata::PackFrom ( const Message message,
const std::string type_url_prefix 
)

Definition at line 48 of file any.cc.

◆ PackFrom() [3/4]

template<typename T >
void google::protobuf.internal::AnyMetadata::PackFrom ( const T message)
inline

Definition at line 68 of file any.h.

◆ PackFrom() [4/4]

template<typename T >
void google::protobuf.internal::AnyMetadata::PackFrom ( const T message,
StringPiece  type_url_prefix 
)
inline

Definition at line 81 of file any.h.

◆ UnpackTo() [1/2]

bool google::protobuf.internal::AnyMetadata::UnpackTo ( Message message) const

Definition at line 57 of file any.cc.

◆ UnpackTo() [2/2]

template<typename T >
bool google::protobuf.internal::AnyMetadata::UnpackTo ( T message) const
inline

Definition at line 92 of file any.h.

Member Data Documentation

◆ type_url_

UrlType* google::protobuf.internal::AnyMetadata::type_url_
private

Definition at line 114 of file any.h.

◆ value_

ValueType* google::protobuf.internal::AnyMetadata::value_
private

Definition at line 115 of file any.h.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:09