zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Common.h File Reference
#include <map>
#include <sstream>
#include <string>
#include <vector>
#include "compiler/PoolAlloc.h"

Go to the source code of this file.

Classes

class  TMap< K, D, CMP >
 
struct  TSourceLoc
 
class  TVector< T >
 

Macros

#define POOL_ALLOCATOR_NEW_DELETE()
 
#define TPersistString   std::string
 
#define TPersistStringStream   std::ostringstream
 

Typedefs

typedef std::basic_string
< char, std::char_traits< char >
, TStringAllocator
TString
 
typedef pool_allocator< char > TStringAllocator
 
typedef
std::basic_ostringstream< char,
std::char_traits< char >
, TStringAllocator
TStringStream
 

Functions

TStringNewPoolTString (const char *s)
 

Macro Definition Documentation

#define POOL_ALLOCATOR_NEW_DELETE ( )
Value:
void* operator new(size_t s) { return GetGlobalPoolAllocator()->allocate(s); } \
void* operator new(size_t, void *_Where) { return (_Where); } \
void operator delete(void*) { } \
void operator delete(void *, void *) { } \
void* operator new[](size_t s) { return GetGlobalPoolAllocator()->allocate(s); } \
void* operator new[](size_t, void *_Where) { return (_Where); } \
void operator delete[](void*) { } \
void operator delete[](void *, void *) { }
void * allocate(size_t numBytes)
Definition: PoolAlloc.cpp:206
GLdouble s
Definition: glew.h:1376
TPoolAllocator * GetGlobalPoolAllocator()
Definition: PoolAlloc.cpp:36
GLvoid **typedef void(GLAPIENTRY *PFNGLGETVERTEXATTRIBDVPROC)(GLuint
Definition: glew.h:1824
unsigned int size_t

Definition at line 27 of file Common.h.

#define TPersistString   std::string

Definition at line 53 of file Common.h.

#define TPersistStringStream   std::ostringstream

Definition at line 54 of file Common.h.

Referenced by TInfoSinkBase::location(), and TInfoSinkBase::operator<<().

Typedef Documentation

typedef std::basic_string<char, std::char_traits<char>, TStringAllocator> TString

Definition at line 41 of file Common.h.

Definition at line 40 of file Common.h.

typedef std::basic_ostringstream<char, std::char_traits<char>, TStringAllocator> TStringStream

Definition at line 42 of file Common.h.

Function Documentation