|
Aegis
4.25.D505
|
#include <structure.h>
Data Structures | |
| class | adapter |
| class | adapter_by_method |
Public Types | |
| typedef aegis_shared_ptr < introspector_structure > | pointer |
Public Member Functions | |
| virtual | ~introspector_structure () |
| void | register_member (const nstring &name, const adapter::pointer &factory) |
Static Public Member Functions | |
| static pointer | create (const nstring &name) |
Protected Member Functions | |
| nstring | get_name () const |
| introspector::pointer | field (const nstring &name) |
Private Member Functions | |
| introspector_structure (const nstring &name) | |
| introspector_structure () | |
| introspector_structure (const introspector_structure &) | |
| introspector_structure & | operator= (const introspector_structure &) |
Private Attributes | |
| nstring | name |
| symtab< adapter::pointer > | members |
The introspector_structure class is used to represent
Definition at line 28 of file structure.h.
Reimplemented from introspector.
Definition at line 32 of file structure.h.
| virtual introspector_structure::~introspector_structure | ( | ) | [virtual] |
The destructor.
| introspector_structure::introspector_structure | ( | const nstring & | name | ) | [private] |
The constructor. It is private on purpose, use the create class method instead.
| name | The name of the class fo the structure being manipulated. |
| introspector_structure::introspector_structure | ( | ) | [private] |
The default constructor. Do not use.
| introspector_structure::introspector_structure | ( | const introspector_structure & | ) | [private] |
The copy constructor. Do not use.
| static pointer introspector_structure::create | ( | const nstring & | name | ) | [static] |
The create class method is used to create new dynamically allocated instances of this class.
| name | The name of the class fo the structure being manipulated. |
| introspector::pointer introspector_structure::field | ( | const nstring & | name | ) | [protected, virtual] |
The field method is called when the parser sees the start of a name=value field.
| name | The name of the field. |
Reimplemented from introspector.
| nstring introspector_structure::get_name | ( | ) | const [protected, virtual] |
The get_name mathod is used to get the name of the type of value the introspector is managing. Used in error messages.
Implements introspector.
| introspector_structure& introspector_structure::operator= | ( | const introspector_structure & | ) | [private] |
The assignment operator. Do not use.
| void introspector_structure::register_member | ( | const nstring & | name, |
| const adapter::pointer & | factory | ||
| ) |
The register_member method is used to add another member name and factory generator.
| name | The name of the member |
| factory | How to manipulate the member. |
The members instance variable is used to remember the mapping from member name to member introspector factory.
Definition at line 155 of file structure.h.
nstring introspector_structure::name [private] |
The name instance variable is used to remember the name of the class fo the structure being manipulated.
Definition at line 149 of file structure.h.
1.7.6.1