Aegis  4.25.D505
Data Structures | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
introspector_structure Class Reference

#include <structure.h>

Inheritance diagram for introspector_structure:
introspector

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_structureoperator= (const introspector_structure &)

Private Attributes

nstring name
symtab< adapter::pointermembers

Detailed Description

The introspector_structure class is used to represent

Definition at line 28 of file structure.h.


Member Typedef Documentation

Reimplemented from introspector.

Definition at line 32 of file structure.h.


Constructor & Destructor Documentation

The destructor.

The constructor. It is private on purpose, use the create class method instead.

Parameters:
nameThe name of the class fo the structure being manipulated.

The default constructor. Do not use.

The copy constructor. Do not use.


Member Function Documentation

static pointer introspector_structure::create ( const nstring name) [static]

The create class method is used to create new dynamically allocated instances of this class.

Parameters:
nameThe 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.

Parameters:
nameThe 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.

Parameters:
nameThe name of the member
factoryHow to manipulate the member.

Field Documentation

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.

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.


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