Aegis  4.25.D505
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
introspector_string Class Reference

#include <string.h>

Inheritance diagram for introspector_string:
introspector

Public Member Functions

virtual ~introspector_string ()

Static Public Member Functions

static pointer create (string_ty *&where)
static void write (const output::pointer &op, const nstring &name, const nstring &value)
static void write_xml (const output::pointer &op, const nstring &name, const nstring &value)

Protected Member Functions

void string (const nstring &text)
nstring get_name () const

Private Member Functions

 introspector_string (string_ty *&where)
 introspector_string ()
 introspector_string (const introspector_string &)
introspector_stringoperator= (const introspector_string &)

Private Attributes

string_ty *& where

Detailed Description

The introspector_string class is used to represent the manipulations required to manage string_ty* values by the meta-data parser.

Definition at line 31 of file string.h.


Constructor & Destructor Documentation

The destructor.

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

Parameters:
whereThe location of the string_ty* value to be manipulated.

The default constructor. Do not use.

The copy constructor. Do not use.


Member Function Documentation

static pointer introspector_string::create ( string_ty *&  where) [static]

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

Parameters:
whereThe location of the string_ty* value to be manipulated.
nstring introspector_string::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_string& introspector_string::operator= ( const introspector_string ) [private]

The assignment operator. Do not use.

void introspector_string::string ( const nstring text) [protected, virtual]

The string method is called by the parser when a string value is seen.

Parameters:
textThe value of the string constant.

Reimplemented from introspector.

static void introspector_string::write ( const output::pointer op,
const nstring name,
const nstring value 
) [static]

The write class method is used to write the value of the given string text to the given output.

Parameters:
opThe output stream to write on
nameThe name of the string field (NULL if list).
valueThe value of he string field.
static void introspector_string::write_xml ( const output::pointer op,
const nstring name,
const nstring value 
) [static]

The write_xml class method is used to write the value of the given string as an XML element to the given output.

Parameters:
opThe output stream to write on
nameThe name of the string field (NULL if list).
valueThe value of he string field.

Field Documentation

The where instance variable is ued to remember where to put the value, once parsed.

Definition at line 100 of file string.h.


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