CGR Localization
 All Classes Namespaces Files Functions Variables Macros Pages
extensions.h File Reference

C++ Extensions. More...

#include <string>
#include "geometry.h"
Include dependency graph for extensions.h:

Go to the source code of this file.

Macros

#define TYPE_CHECK(Type)
 

Typedefs

typedef unsigned char CustomExtensions::uchar
 
typedef unsigned int CustomExtensions::uint
 
typedef unsigned long CustomExtensions::ulong
 
typedef long long CustomExtensions::longlong
 
typedef unsigned long long CustomExtensions::ulonglong
 

Enumerations

enum  TypeIDs {
  tuchar, tuint, tulong, tulonglong,
  tchar, tint, tlong, tlonglong,
  tfloat, tdouble, tvector2i, tvector2f,
  tvector2d, tvector3i, tvector3f, tvector3d,
  tline2i, tline2f, tline2d, tstring
}
 

Detailed Description

C++ Extensions.

Author
Joydeep Biswas, (C) 2010

Definition in file extensions.h.

Macro Definition Documentation

#define TYPE_CHECK (   Type)
Value:
const char* typeCheck(const Type p){ \
return #Type; \
} \
int typeCheckID(const Type p){ \
return CustomExtensions::t##Type; \
}

Returns a C - string denoting the type of the variable Returns a CustomExtensions::TypeIDs value denoting the type of the variable

Definition at line 30 of file extensions.h.