DCCL v4
Loading...
Searching...
No Matches
dccl::internal::MessageStack Class Reference

Public Member Functions

 MessageStack (const google::protobuf::Message *root_message, MessageStackData &data, const google::protobuf::FieldDescriptor *field=nullptr)
bool first () const
int count () const
void push (const google::protobuf::Descriptor *desc)
void push (const google::protobuf::FieldDescriptor *field)
void push (MessagePart part)
void update_index (const google::protobuf::Message *root_message, const google::protobuf::FieldDescriptor *field, int index)
void push_message (const google::protobuf::Message *root_message, const google::protobuf::FieldDescriptor *field, int index=-1)
std::size_t field_size () const
MessagePart current_part () const

Detailed Description

Definition at line 72 of file field_codec_message_stack.h.

Constructor & Destructor Documentation

◆ MessageStack()

dccl::internal::MessageStack::MessageStack ( const google::protobuf::Message * root_message,
MessageStackData & data,
const google::protobuf::FieldDescriptor * field = nullptr )

Definition at line 77 of file field_codec_message_stack.cpp.

◆ ~MessageStack()

dccl::internal::MessageStack::~MessageStack ( )

Definition at line 157 of file field_codec_message_stack.cpp.

Member Function Documentation

◆ count()

int dccl::internal::MessageStack::count ( ) const
inline

Definition at line 81 of file field_codec_message_stack.h.

◆ current_part()

MessagePart dccl::internal::MessageStack::current_part ( ) const
inline

Definition at line 93 of file field_codec_message_stack.h.

◆ field_size()

std::size_t dccl::internal::MessageStack::field_size ( ) const
inline

Definition at line 92 of file field_codec_message_stack.h.

◆ first()

bool dccl::internal::MessageStack::first ( ) const
inline

Definition at line 80 of file field_codec_message_stack.h.

◆ push() [1/3]

void dccl::internal::MessageStack::push ( const google::protobuf::Descriptor * desc)

Definition at line 30 of file field_codec_message_stack.cpp.

◆ push() [2/3]

void dccl::internal::MessageStack::push ( const google::protobuf::FieldDescriptor * field)

Definition at line 37 of file field_codec_message_stack.cpp.

◆ push() [3/3]

void dccl::internal::MessageStack::push ( MessagePart part)

Definition at line 43 of file field_codec_message_stack.cpp.

◆ push_message()

void dccl::internal::MessageStack::push_message ( const google::protobuf::Message * root_message,
const google::protobuf::FieldDescriptor * field,
int index = -1 )

Definition at line 112 of file field_codec_message_stack.cpp.

◆ update_index()

void dccl::internal::MessageStack::update_index ( const google::protobuf::Message * root_message,
const google::protobuf::FieldDescriptor * field,
int index )

Definition at line 105 of file field_codec_message_stack.cpp.


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