Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
google::protobuf::ScopedMemoryLog Class Reference

#include <googletest.h>

Public Member Functions

const std::vector< string > & GetMessages (LogLevel error)
 
const std::vector< std::string > & GetMessages (LogLevel error)
 
 ScopedMemoryLog ()
 
 ScopedMemoryLog ()
 
virtual ~ScopedMemoryLog ()
 
virtual ~ScopedMemoryLog ()
 

Private Member Functions

 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (ScopedMemoryLog)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (ScopedMemoryLog)
 

Static Private Member Functions

static void HandleLog (LogLevel level, const char *filename, int line, const std::string &message)
 
static void HandleLog (LogLevel level, const char *filename, int line, const string &message)
 

Private Attributes

std::map< LogLevel, std::vector< string > > messages_
 
std::map< LogLevel, std::vector< std::string > > messages_
 
LogHandlerold_handler_
 

Static Private Attributes

static ScopedMemoryLogactive_log_ = NULL
 

Detailed Description

Definition at line 81 of file bloaty/third_party/protobuf/src/google/protobuf/testing/googletest.h.

Constructor & Destructor Documentation

◆ ScopedMemoryLog() [1/2]

google::protobuf::ScopedMemoryLog::ScopedMemoryLog ( )

◆ ~ScopedMemoryLog() [1/2]

google::protobuf::ScopedMemoryLog::~ScopedMemoryLog ( )
virtual

◆ ScopedMemoryLog() [2/2]

google::protobuf::ScopedMemoryLog::ScopedMemoryLog ( )

◆ ~ScopedMemoryLog() [2/2]

virtual google::protobuf::ScopedMemoryLog::~ScopedMemoryLog ( )
virtual

Member Function Documentation

◆ GetMessages() [1/2]

const std::vector< std::string > & google::protobuf::ScopedMemoryLog::GetMessages ( LogLevel  error)

◆ GetMessages() [2/2]

const std::vector<std::string>& google::protobuf::ScopedMemoryLog::GetMessages ( LogLevel  error)

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [1/2]

google::protobuf::ScopedMemoryLog::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( ScopedMemoryLog  )
private

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [2/2]

google::protobuf::ScopedMemoryLog::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( ScopedMemoryLog  )
private

◆ HandleLog() [1/2]

void google::protobuf::ScopedMemoryLog::HandleLog ( LogLevel  level,
const char *  filename,
int  line,
const std::string &  message 
)
staticprivate

◆ HandleLog() [2/2]

void google::protobuf::ScopedMemoryLog::HandleLog ( LogLevel  level,
const char *  filename,
int  line,
const string &  message 
)
staticprivate

Member Data Documentation

◆ active_log_

static ScopedMemoryLog * google::protobuf::ScopedMemoryLog::active_log_ = NULL
staticprivate

◆ messages_ [1/2]

std::map<LogLevel, std::vector<std::string> > google::protobuf::ScopedMemoryLog::messages_
private

◆ messages_ [2/2]

std::map<LogLevel, std::vector<string> > google::protobuf::ScopedMemoryLog::messages_
private

◆ old_handler_

LogHandler * google::protobuf::ScopedMemoryLog::old_handler_
private

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:21