|
Aegis
4.25.D505
|
#include <by_method.h>
Public Member Functions | |
| virtual | ~introspector_boolean_by_method () |
Static Public Member Functions | |
| static pointer | create (T &a_object, void(T::*a_set)(bool), bool(T::*a_is_set)() const) |
Protected Member Functions | |
| void | enumeration (const nstring &name) |
Private Member Functions | |
| introspector_boolean_by_method (T &a_object, void(T::*a_set)(bool), bool(T::*a_is_set)() const) | |
| introspector_boolean_by_method () | |
| introspector_boolean_by_method (const introspector_boolean_by_method &) | |
| introspector_boolean_by_method & | operator= (const introspector_boolean_by_method &) |
Private Attributes | |
| T & | object |
| void(T::* | set )(bool) |
| bool(T::* | is_set )() const |
The introspector_boolean_by_method template class is used to represent the manipulations required to manage bool instance variables by the meta-data parser, using a template to allow parametric spacialization using pointers to methods to manipulate the bool within it's object.
Definition at line 32 of file by_method.h.
| virtual introspector_boolean_by_method< T >::~introspector_boolean_by_method | ( | ) | [inline, virtual] |
The destructor.
Definition at line 39 of file by_method.h.
| introspector_boolean_by_method< T >::introspector_boolean_by_method | ( | T & | a_object, |
| void(T::*)(bool) | a_set, | ||
| bool(T::*)() const | a_is_set | ||
| ) | [inline, private] |
The constructor. It is private on purpose, use the create class method instead.
| a_object | The object the bool is a member of. |
| a_set | method used to set the bool member |
| a_is_set | method used to determine whether or not the bool member has been set |
Definition at line 53 of file by_method.h.
| introspector_boolean_by_method< T >::introspector_boolean_by_method | ( | ) | [private] |
The default constructor. Do not use.
| introspector_boolean_by_method< T >::introspector_boolean_by_method | ( | const introspector_boolean_by_method< T > & | ) | [private] |
The copy constructor. Do not use.
| static pointer introspector_boolean_by_method< T >::create | ( | T & | a_object, |
| void(T::*)(bool) | a_set, | ||
| bool(T::*)() const | a_is_set | ||
| ) | [inline, static] |
The create class method is used to create new dynamically allocated instances of this class.
| a_object | The object the bool is a member of. |
| a_set | method used to set the bool member |
| a_is_set | method used to determine whether or not the bool member has been set |
Definition at line 74 of file by_method.h.
| void introspector_boolean_by_method< T >::enumeration | ( | const nstring & | name | ) | [inline, protected, virtual] |
The enumeration method is called when the parser sees a name in an enumeration tag place.
| name | The name of the enumerand. |
Reimplemented from introspector.
Definition at line 86 of file by_method.h.
| introspector_boolean_by_method& introspector_boolean_by_method< T >::operator= | ( | const introspector_boolean_by_method< T > & | ) | [private] |
The assignment operator. Do not use.
bool(T::* introspector_boolean_by_method< T >::is_set)() const [private] |
The is_set instance variable is sued to remember the method used to determine whether or not the member has been set.
Definition at line 113 of file by_method.h.
T& introspector_boolean_by_method< T >::object [private] |
The object instance variable is used to remember the object the field is a member of.
Definition at line 101 of file by_method.h.
void(T::* introspector_boolean_by_method< T >::set)(bool) [private] |
The set instance variable i sused to remember the method used to set the boolean_by_method member
Definition at line 107 of file by_method.h.
1.7.6.1