|
Aegis
4.25.D505
|
#include <string.h>
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_string & | operator= (const introspector_string &) |
Private Attributes | |
| string_ty *& | where |
The introspector_string class is used to represent the manipulations required to manage string_ty* values by the meta-data parser.
| virtual introspector_string::~introspector_string | ( | ) | [virtual] |
The destructor.
| introspector_string::introspector_string | ( | string_ty *& | where | ) | [private] |
The constructor. It is private on purpose, use the create class method instead.
| where | The location of the string_ty* value to be manipulated. |
| introspector_string::introspector_string | ( | ) | [private] |
The default constructor. Do not use.
| introspector_string::introspector_string | ( | const introspector_string & | ) | [private] |
The copy constructor. Do not use.
| static pointer introspector_string::create | ( | string_ty *& | where | ) | [static] |
The create class method is used to create new dynamically allocated instances of this class.
| where | The 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.
| text | The 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.
| op | The output stream to write on |
| name | The name of the string field (NULL if list). |
| value | The 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.
| op | The output stream to write on |
| name | The name of the string field (NULL if list). |
| value | The value of he string field. |
string_ty*& introspector_string::where [private] |
1.7.6.1