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 ( )
ProtobufOnceType state_
Definition: once.h:157
Definition: once.h:119

Member Function Documentation

template<typename T >
void google::protobuf::GoogleOnceDynamic::Init ( void(*)(T *)  func_with_arg,
T *  arg 
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_

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