ARB
Classes | Macros | Functions
ED4_objspec.cxx File Reference
#include "ed4_class.hxx"
Include dependency graph for ED4_objspec.cxx:

Go to the source code of this file.

Classes

class  ED4_objspec_registry
 

Macros

#define MAX_POSSIBLE_SPECIFIED_OBJECT_TYPES   ((sizeof(ED4_level)*8)-1)
 

Functions

 STATIC_ASSERT (SPECIFIED_OBJECT_TYPES<=MAX_POSSIBLE_SPECIFIED_OBJECT_TYPES)
 
int level2index (ED4_level lev)
 
ED4_level index2level (int index)
 
static class ED4_objspec_registryget_objspec_registry ()
 

Macro Definition Documentation

#define MAX_POSSIBLE_SPECIFIED_OBJECT_TYPES   ((sizeof(ED4_level)*8)-1)

Definition at line 14 of file ED4_objspec.cxx.

Function Documentation

STATIC_ASSERT ( SPECIFIED_OBJECT_TYPES<=  MAX_POSSIBLE_SPECIFIED_OBJECT_TYPES)
int level2index ( ED4_level  lev)
inline

Definition at line 18 of file ED4_objspec.cxx.

References e4_assert, and U.

Referenced by ED4_objspec_registry::get_object_spec(), and ED4_objspec_registry::register_objspec().

ED4_level index2level ( int  index)
inline

Definition at line 32 of file ED4_objspec.cxx.

static ED4_objspec_registry & get_objspec_registry ( )
static