pgDef -- Basic difinitions

Provides the basic definitions used by the all modules of Pogolyn. More...


Classes

class  pgException
 The base class for the exceptions of Pogolyn. More...

Namespaces

namespace  pgBasicType
 The basic types of Pogolyn.

Defines

#define pgDefineException(e)
 Defines an exception class of Pogolyn.
#define pgTry   try
 Tries to catch an exception in the following block.
#define pgThrow(e)   throw e(#e, __FILE__, __LINE__)
 Throws an exception.
#define pgCatch(...)   catch (__VA_ARGS__)
 Catches the specified exception.

Variables

const u32 POGOLYN_VERSION = 80
 The version number of Pogolyn.


Detailed Description

Provides the basic definitions used by the all modules of Pogolyn.

Define Documentation

#define pgCatch ( ...   )     catch (__VA_ARGS__)

Catches the specified exception.

Parameters:
[in] ... The name of an exception class.

#define pgDefineException (  ) 

Value:

class e : public pgException \
    { \
    public: \
        e(const char* exception, const char* file, u32 line) : pgException(exception, file, line) {} \
    }
Defines an exception class of Pogolyn.

Parameters:
[in] e The name of an exception class.

#define pgThrow (  )     throw e(#e, __FILE__, __LINE__)

Throws an exception.

Parameters:
[in] e The name of an exception class.


Generated on Sat Aug 15 11:24:38 2009 for Pogolyn by  doxygen 1.5.8