TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
google::protobuf::GoogleOnceDynamic Class Reference

#include <once.h>

Public Member Functions

 GoogleOnceDynamic ()
 
template<typename T >
void Init (void(*func_with_arg)(T *), T *arg)
 

Private Attributes

ProtobufOnceType state_
 

Constructor & Destructor Documentation

google::protobuf::GoogleOnceDynamic::GoogleOnceDynamic ( )
inline
ProtobufOnceType state_
Definition: once.h:157
#define GOOGLE_PROTOBUF_ONCE_INIT
Definition: once.h:119

Member Function Documentation

template<typename T >
void google::protobuf::GoogleOnceDynamic::Init ( void(*)(T *)  func_with_arg,
T *  arg 
)
inline
151  {
152  GoogleOnceInit<T>(&this->state_,
153  func_with_arg,
154  arg);
155  }
ProtobufOnceType state_
Definition: once.h:157
internal::NamedArg< char > arg(StringRef name, const T &arg)
Definition: format.h:3248

+ Here is the call graph for this function:

Member Data Documentation

ProtobufOnceType google::protobuf::GoogleOnceDynamic::state_
private

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