Public Member Functions | Private Attributes | List of all members
google::protobuf::compiler::cpp::NamespaceOpener Class Reference

#include <cpp_helpers.h>

Public Member Functions

void ChangeTo (const std::string &name)
 
 NamespaceOpener (const Formatter &format)
 
 NamespaceOpener (const std::string &name, const Formatter &format)
 
 ~NamespaceOpener ()
 

Private Attributes

std::vector< std::stringname_stack_
 
io::Printerprinter_
 

Detailed Description

Definition at line 706 of file cpp_helpers.h.

Constructor & Destructor Documentation

◆ NamespaceOpener() [1/2]

google::protobuf::compiler::cpp::NamespaceOpener::NamespaceOpener ( const Formatter format)
inlineexplicit

Definition at line 708 of file cpp_helpers.h.

◆ NamespaceOpener() [2/2]

google::protobuf::compiler::cpp::NamespaceOpener::NamespaceOpener ( const std::string name,
const Formatter format 
)
inline

Definition at line 710 of file cpp_helpers.h.

◆ ~NamespaceOpener()

google::protobuf::compiler::cpp::NamespaceOpener::~NamespaceOpener ( )
inline

Definition at line 714 of file cpp_helpers.h.

Member Function Documentation

◆ ChangeTo()

void google::protobuf::compiler::cpp::NamespaceOpener::ChangeTo ( const std::string name)
inline

Definition at line 716 of file cpp_helpers.h.

Member Data Documentation

◆ name_stack_

std::vector<std::string> google::protobuf::compiler::cpp::NamespaceOpener::name_stack_
private

Definition at line 744 of file cpp_helpers.h.

◆ printer_

io::Printer* google::protobuf::compiler::cpp::NamespaceOpener::printer_
private

Definition at line 743 of file cpp_helpers.h.


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


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