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

#include <parse_context.h>

Inheritance diagram for google::protobuf.internal::ParseContext:
Inheritance graph
[legend]

Classes

struct  Data
 

Public Member Functions

Datadata ()
 
const Datadata () const
 
int depth () const
 
bool Done (const char **ptr)
 
bool DoneNoSlopCheck (const char **ptr)
 
template<typename... T>
 ParseContext (int depth, bool aliasing, const char **start, T &&... args)
 
template<typename T >
PROTOBUF_MUST_USE_RESULT const PROTOBUF_ALWAYS_INLINE char * ParseGroup (T *msg, const char *ptr, uint32 tag)
 
const char * ParseMessage (Message *msg, const char *ptr)
 
const char * ParseMessage (MessageLite *msg, const char *ptr)
 
template<typename T >
PROTOBUF_MUST_USE_RESULT const PROTOBUF_ALWAYS_INLINE char * ParseMessage (T *msg, const char *ptr)
 
template<typename T >
const PROTOBUF_MUST_USE_RESULT char * ParseMessage (T *msg, const char *ptr)
 
void TrackCorrectEnding ()
 
- Public Member Functions inherited from google::protobuf.internal::EpsCopyInputStream
const PROTOBUF_MUST_USE_RESULT char * AppendString (const char *ptr, int size, std::string *s)
 
void BackUp (const char *ptr)
 
bool ConsumeEndGroup (uint32 start_tag)
 
bool DataAvailable (const char *ptr)
 
bool EndedAtEndOfStream () const
 
bool EndedAtLimit () const
 
 EpsCopyInputStream (bool enable_aliasing)
 
bool IsExceedingLimit (const char *ptr)
 
uint32 LastTag () const
 
PROTOBUF_MUST_USE_RESULT bool PopLimit (int delta)
 
PROTOBUF_MUST_USE_RESULT int PushLimit (const char *ptr, int limit)
 
template<typename T >
const PROTOBUF_MUST_USE_RESULT char * ReadPackedFixed (const char *ptr, int size, RepeatedField< T > *out)
 
template<typename T >
const char * ReadPackedFixed (const char *ptr, int size, RepeatedField< T > *out)
 
template<typename Add >
const PROTOBUF_MUST_USE_RESULT char * ReadPackedVarint (const char *ptr, Add add)
 
template<typename Add >
const char * ReadPackedVarint (const char *ptr, Add add)
 
template<typename Tag , typename T >
const PROTOBUF_MUST_USE_RESULT char * ReadRepeatedFixed (const char *ptr, Tag expected_tag, RepeatedField< T > *out)
 
template<typename Tag , typename T >
const char * ReadRepeatedFixed (const char *ptr, Tag expected_tag, RepeatedField< T > *out)
 
const PROTOBUF_MUST_USE_RESULT char * ReadString (const char *ptr, int size, std::string *s)
 
void SetEndOfStream ()
 
void SetLastTag (uint32 tag)
 
const PROTOBUF_MUST_USE_RESULT char * Skip (const char *ptr, int size)
 

Private Attributes

Data data_
 
int depth_
 
int group_depth_ = INT_MIN
 

Additional Inherited Members

- Public Types inherited from google::protobuf.internal::EpsCopyInputStream
enum  { kSlopBytes = 16, kMaxCordBytesToCopy = 512 }
 
- Protected Member Functions inherited from google::protobuf.internal::EpsCopyInputStream
bool DoneWithCheck (const char **ptr, int d)
 
const char * InitFrom (io::ZeroCopyInputStream *zcis)
 
const char * InitFrom (io::ZeroCopyInputStream *zcis, int limit)
 
const char * InitFrom (StringPiece flat)
 

Detailed Description

Definition at line 322 of file parse_context.h.

Constructor & Destructor Documentation

◆ ParseContext()

template<typename... T>
google::protobuf.internal::ParseContext::ParseContext ( int  depth,
bool  aliasing,
const char **  start,
T &&...  args 
)
inline

Definition at line 330 of file parse_context.h.

Member Function Documentation

◆ data() [1/2]

Data& google::protobuf.internal::ParseContext::data ( )
inline

Definition at line 342 of file parse_context.h.

◆ data() [2/2]

const Data& google::protobuf.internal::ParseContext::data ( ) const
inline

Definition at line 343 of file parse_context.h.

◆ depth()

int google::protobuf.internal::ParseContext::depth ( ) const
inline

Definition at line 340 of file parse_context.h.

◆ Done()

bool google::protobuf.internal::ParseContext::Done ( const char **  ptr)
inline

Definition at line 337 of file parse_context.h.

◆ DoneNoSlopCheck()

bool google::protobuf.internal::ParseContext::DoneNoSlopCheck ( const char **  ptr)
inline

Definition at line 338 of file parse_context.h.

◆ ParseGroup()

template<typename T >
PROTOBUF_MUST_USE_RESULT const PROTOBUF_ALWAYS_INLINE char* google::protobuf.internal::ParseContext::ParseGroup ( T msg,
const char *  ptr,
uint32  tag 
)
inline

Definition at line 353 of file parse_context.h.

◆ ParseMessage() [1/4]

const char* google::protobuf.internal::ParseContext::ParseMessage ( Message msg,
const char *  ptr 
)

◆ ParseMessage() [2/4]

const char* google::protobuf.internal::ParseContext::ParseMessage ( MessageLite msg,
const char *  ptr 
)

◆ ParseMessage() [3/4]

template<typename T >
PROTOBUF_MUST_USE_RESULT const PROTOBUF_ALWAYS_INLINE char* google::protobuf.internal::ParseContext::ParseMessage ( T msg,
const char *  ptr 
)

◆ ParseMessage() [4/4]

template<typename T >
const PROTOBUF_MUST_USE_RESULT char* google::protobuf.internal::ParseContext::ParseMessage ( T msg,
const char *  ptr 
)

Definition at line 572 of file parse_context.h.

◆ TrackCorrectEnding()

void google::protobuf.internal::ParseContext::TrackCorrectEnding ( )
inline

Definition at line 335 of file parse_context.h.

Member Data Documentation

◆ data_

Data google::protobuf.internal::ParseContext::data_
private

Definition at line 374 of file parse_context.h.

◆ depth_

int google::protobuf.internal::ParseContext::depth_
private

Definition at line 370 of file parse_context.h.

◆ group_depth_

int google::protobuf.internal::ParseContext::group_depth_ = INT_MIN
private

Definition at line 373 of file parse_context.h.


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


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