OGRE  1.8
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::ExceptionCodeType< num > Struct Template Reference

Template struct which creates a distinct type for each exception code. More...

#include <OgreException.h>

Public Types

enum  { number = num }
 

Detailed Description

template<int num>
struct Ogre::ExceptionCodeType< num >

Template struct which creates a distinct type for each exception code.

Note
This is useful because it allows us to create an overloaded method for returning different exception types by value without ambiguity. From 'Modern C++ Design' (Alexandrescu 2001).

Definition at line 187 of file OgreException.h.

Member Enumeration Documentation

template<int num>
anonymous enum
Enumerator
number 

Definition at line 189 of file OgreException.h.


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