|
Aegis
4.25.D505
|
#include <nstring.h>
Public Member Functions | |
| virtual | ~introspector_nstring () |
Static Public Member Functions | |
| static pointer | create (nstring &where) |
| static void | write (const output::pointer &op, const char *name, const nstring &value, bool show_if_default=false) |
| static void | write_xml (const output::pointer &op, const char *name, const nstring &value, bool show_if_default=false) |
Protected Member Functions | |
| void | string (const nstring &text) |
| nstring | get_name () const |
Private Member Functions | |
| introspector_nstring (nstring &where) | |
| introspector_nstring () | |
| introspector_nstring (const introspector_nstring &) | |
| introspector_nstring & | operator= (const introspector_nstring &) |
Private Attributes | |
| nstring & | where |
The introspector_nstring class is used to represent the manipulations required to manage nstring values by the meta-data parser.
| virtual introspector_nstring::~introspector_nstring | ( | ) | [virtual] |
The destructor.
| introspector_nstring::introspector_nstring | ( | nstring & | 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_nstring::introspector_nstring | ( | ) | [private] |
The default constructor. Do not use.
| introspector_nstring::introspector_nstring | ( | const introspector_nstring & | ) | [private] |
The copy constructor. Do not use.
| static pointer introspector_nstring::create | ( | nstring & | 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_nstring::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_nstring& introspector_nstring::operator= | ( | const introspector_nstring & | ) | [private] |
The assignment operator. Do not use.
| void introspector_nstring::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_nstring::write | ( | const output::pointer & | op, |
| const char * | name, | ||
| const nstring & | value, | ||
| bool | show_if_default = false |
||
| ) | [static] |
The write class method is used to write out a string value in the format the meta-data parser can read back in.
| op | The output sink to send the text to. |
| name | The name of the field to be written. |
| value | The value of the field to be written. |
| show_if_default | whether or not to show the variable even if it is the empty string. |
| static void introspector_nstring::write_xml | ( | const output::pointer & | op, |
| const char * | name, | ||
| const nstring & | value, | ||
| bool | show_if_default = false |
||
| ) | [static] |
The write_xml class method is used to write out a string value in XML format.
| op | The output sink to send the text to. |
| name | The name of the field to be written. |
| value | The value of the field to be written. |
| show_if_default | whether or not to show the variable even if it is the empty string. |
nstring& introspector_nstring::where [private] |
1.7.6.1