BWAPI
Classes | Namespaces | Defines | Typedefs | Enumerations | Functions
Undermind/proxy/cpp/include/google/protobuf/stubs/common.h File Reference
#include <assert.h>
#include <stdlib.h>
#include <cstddef>
#include <string>
#include <string.h>
#include <stdint.h>
Include dependency graph for common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  google::protobuf::internal::CompileAssert< bool >
class  google::protobuf::internal::scoped_ptr< C >
class  google::protobuf::internal::scoped_array< C >
class  google::protobuf::internal::LogMessage
class  google::protobuf::internal::LogFinisher
class  google::protobuf::LogSilencer
class  google::protobuf::Closure
class  google::protobuf::internal::FunctionClosure0
class  google::protobuf::internal::MethodClosure0< Class >
class  google::protobuf::internal::FunctionClosure1< Arg1 >
class  google::protobuf::internal::MethodClosure1< Class, Arg1 >
class  google::protobuf::internal::FunctionClosure2< Arg1, Arg2 >
class  google::protobuf::internal::MethodClosure2< Class, Arg1, Arg2 >
class  google::protobuf::internal::Mutex
class  google::protobuf::internal::MutexLock
class  google::protobuf::internal::MutexLockMaybe
struct  google::protobuf::internal::remove_pointer< T >
struct  google::protobuf::internal::remove_pointer< T * >
struct  google::protobuf::internal::remove_pointer< T *const >
struct  google::protobuf::internal::remove_pointer< T *volatile >
struct  google::protobuf::internal::remove_pointer< T *const volatile >

Namespaces

namespace  std
namespace  google
namespace  google::protobuf
namespace  google::protobuf::internal

Defines

#define GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(TypeName)
#define LIBPROTOBUF_EXPORT
#define LIBPROTOC_EXPORT
#define GOOGLE_PROTOBUF_VERSION   2003000
#define GOOGLE_PROTOBUF_MIN_LIBRARY_VERSION   2003000
#define GOOGLE_PROTOBUF_MIN_PROTOC_VERSION   2003000
#define GOOGLE_PROTOBUF_VERIFY_VERSION
#define GOOGLE_LONGLONG(x)   x##LL
#define GOOGLE_ULONGLONG(x)   x##ULL
#define GOOGLE_LL_FORMAT   "ll"
#define GOOGLE_ATTRIBUTE_ALWAYS_INLINE
#define GOOGLE_ATTRIBUTE_DEPRECATED
#define GOOGLE_PREDICT_TRUE
#define GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN()
#define GOOGLE_SAFE_CONCURRENT_WRITES_END()
#define GOOGLE_ARRAYSIZE(a)
#define GOOGLE_COMPILE_ASSERT(expr, msg)
#define GOOGLE_LOG(LEVEL)
#define GOOGLE_LOG_IF(LEVEL, CONDITION)   !(CONDITION) ? (void)0 : GOOGLE_LOG(LEVEL)
#define GOOGLE_CHECK(EXPRESSION)   GOOGLE_LOG_IF(FATAL, !(EXPRESSION)) << "CHECK failed: " #EXPRESSION ": "
#define GOOGLE_CHECK_EQ(A, B)   GOOGLE_CHECK((A) == (B))
#define GOOGLE_CHECK_NE(A, B)   GOOGLE_CHECK((A) != (B))
#define GOOGLE_CHECK_LT(A, B)   GOOGLE_CHECK((A) < (B))
#define GOOGLE_CHECK_LE(A, B)   GOOGLE_CHECK((A) <= (B))
#define GOOGLE_CHECK_GT(A, B)   GOOGLE_CHECK((A) > (B))
#define GOOGLE_CHECK_GE(A, B)   GOOGLE_CHECK((A) >= (B))
#define GOOGLE_DLOG   GOOGLE_LOG
#define GOOGLE_DCHECK   GOOGLE_CHECK
#define GOOGLE_DCHECK_EQ   GOOGLE_CHECK_EQ
#define GOOGLE_DCHECK_NE   GOOGLE_CHECK_NE
#define GOOGLE_DCHECK_LT   GOOGLE_CHECK_LT
#define GOOGLE_DCHECK_LE   GOOGLE_CHECK_LE
#define GOOGLE_DCHECK_GT   GOOGLE_CHECK_GT
#define GOOGLE_DCHECK_GE   GOOGLE_CHECK_GE

Typedefs

typedef unsigned int google::protobuf::uint
typedef int8_t google::protobuf::int8
typedef int16_t google::protobuf::int16
typedef int32_t google::protobuf::int32
typedef int64_t google::protobuf::int64
typedef uint8_t google::protobuf::uint8
typedef uint16_t google::protobuf::uint16
typedef uint32_t google::protobuf::uint32
typedef uint64_t google::protobuf::uint64
typedef void google::protobuf::LogHandler (LogLevel level, const char *filename, int line, const string &message)
typedef MutexLock google::protobuf::internal::ReaderMutexLock
typedef MutexLock google::protobuf::internal::WriterMutexLock

Enumerations

enum  google::protobuf::LogLevel {
  google::protobuf::LOGLEVEL_INFO, google::protobuf::LOGLEVEL_WARNING, google::protobuf::LOGLEVEL_ERROR, google::protobuf::LOGLEVEL_FATAL,
  google::protobuf::LOGLEVEL_DFATAL = LOGLEVEL_FATAL
}

Functions

void LIBPROTOBUF_EXPORT google::protobuf::internal::VerifyVersion (int headerVersion, int minLibraryVersion, const char *filename)
string LIBPROTOBUF_EXPORT google::protobuf::internal::VersionString (int version)
template<typename To , typename From >
To google::protobuf::internal::implicit_cast (From const &f)
template<typename To , typename From >
To google::protobuf::internal::down_cast (From *f)
LIBPROTOBUF_EXPORT LogHandler * google::protobuf::SetLogHandler (LogHandler *new_func)
Closure * google::protobuf::NewCallback (void(*function)())
Closure * google::protobuf::NewPermanentCallback (void(*function)())
template<typename Class >
Closure * google::protobuf::NewCallback (Class *object, void(Class::*method)())
template<typename Class >
Closure * google::protobuf::NewPermanentCallback (Class *object, void(Class::*method)())
template<typename Arg1 >
Closure * google::protobuf::NewCallback (void(*function)(Arg1), Arg1 arg1)
template<typename Arg1 >
Closure * google::protobuf::NewPermanentCallback (void(*function)(Arg1), Arg1 arg1)
template<typename Class , typename Arg1 >
Closure * google::protobuf::NewCallback (Class *object, void(Class::*method)(Arg1), Arg1 arg1)
template<typename Class , typename Arg1 >
Closure * google::protobuf::NewPermanentCallback (Class *object, void(Class::*method)(Arg1), Arg1 arg1)
template<typename Arg1 , typename Arg2 >
Closure * google::protobuf::NewCallback (void(*function)(Arg1, Arg2), Arg1 arg1, Arg2 arg2)
template<typename Arg1 , typename Arg2 >
Closure * google::protobuf::NewPermanentCallback (void(*function)(Arg1, Arg2), Arg1 arg1, Arg2 arg2)
template<typename Class , typename Arg1 , typename Arg2 >
Closure * google::protobuf::NewCallback (Class *object, void(Class::*method)(Arg1, Arg2), Arg1 arg1, Arg2 arg2)
template<typename Class , typename Arg1 , typename Arg2 >
Closure * google::protobuf::NewPermanentCallback (Class *object, void(Class::*method)(Arg1, Arg2), Arg1 arg1, Arg2 arg2)
void LIBPROTOBUF_EXPORT google::protobuf::DoNothing ()
LIBPROTOBUF_EXPORT bool google::protobuf::internal::IsStructurallyValidUTF8 (const char *buf, int len)
LIBPROTOBUF_EXPORT void google::protobuf::ShutdownProtobufLibrary ()
LIBPROTOBUF_EXPORT void google::protobuf::internal::OnShutdown (void(*func)())

Define Documentation

#define GOOGLE_ARRAYSIZE (   a)
Value:
((sizeof(a) / sizeof(*(a))) / \
   static_cast<size_t>(!(sizeof(a) % sizeof(*(a)))))
#define GOOGLE_CHECK (   EXPRESSION)    GOOGLE_LOG_IF(FATAL, !(EXPRESSION)) << "CHECK failed: " #EXPRESSION ": "
#define GOOGLE_CHECK_EQ (   A,
 
)    GOOGLE_CHECK((A) == (B))
#define GOOGLE_CHECK_GE (   A,
 
)    GOOGLE_CHECK((A) >= (B))
#define GOOGLE_CHECK_GT (   A,
 
)    GOOGLE_CHECK((A) > (B))
#define GOOGLE_CHECK_LE (   A,
 
)    GOOGLE_CHECK((A) <= (B))
#define GOOGLE_CHECK_LT (   A,
 
)    GOOGLE_CHECK((A) < (B))
#define GOOGLE_CHECK_NE (   A,
 
)    GOOGLE_CHECK((A) != (B))
#define GOOGLE_COMPILE_ASSERT (   expr,
  msg 
)
Value:
typedef ::google::protobuf::internal::CompileAssert<(bool(expr))> \
          msg[bool(expr) ? 1 : -1]
#define GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (   TypeName)
Value:
TypeName(const TypeName&);                           \
  void operator=(const TypeName&)
#define GOOGLE_DLOG   GOOGLE_LOG
#define GOOGLE_LL_FORMAT   "ll"
#define GOOGLE_LOG (   LEVEL)
Value:
::google::protobuf::internal::LogFinisher() =                           \
    ::google::protobuf::internal::LogMessage(                             \
      ::google::protobuf::LOGLEVEL_##LEVEL, __FILE__, __LINE__)
#define GOOGLE_LOG_IF (   LEVEL,
  CONDITION 
)    !(CONDITION) ? (void)0 : GOOGLE_LOG(LEVEL)
#define GOOGLE_LONGLONG (   x)    x##LL
#define GOOGLE_PROTOBUF_MIN_PROTOC_VERSION   2003000
#define GOOGLE_PROTOBUF_VERSION   2003000
#define GOOGLE_ULONGLONG (   x)    x##ULL
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines