|
Aegis
4.25.D505
|
#include <enumeration.h>
Public Types | |
| typedef aegis_shared_ptr< adapter > | pointer |
Public Member Functions | |
| virtual | ~adapter () |
| virtual void | set (int x)=0 |
| virtual bool | is_set ()=0 |
Protected Member Functions | |
| adapter () | |
Private Member Functions | |
| adapter (const adapter &rhs) | |
| adapter & | operator= (const adapter &rhs) |
The adapter class is used to map an integer into an enumerated value, so that when it is set, it is still type safe. This is specifically to cope with compilers which are able to have enumerated types which are smaller than integers.
Definition at line 46 of file enumeration.h.
Definition at line 49 of file enumeration.h.
| virtual introspector_enumeration::adapter::~adapter | ( | ) | [inline, virtual] |
Definition at line 51 of file enumeration.h.
| introspector_enumeration::adapter::adapter | ( | ) | [inline, protected] |
Definition at line 54 of file enumeration.h.
| introspector_enumeration::adapter::adapter | ( | const adapter & | rhs | ) | [private] |
| virtual bool introspector_enumeration::adapter::is_set | ( | ) | [pure virtual] |
| virtual void introspector_enumeration::adapter::set | ( | int | x | ) | [pure virtual] |
1.7.6.1