|
Aegis
4.25.D505
|
#include <error.h>
Public Member Functions | |
| virtual | ~introspector_error () |
Static Public Member Functions | |
| static pointer | create () |
Protected Member Functions | |
| void | integer (long n) |
| void | real (double n) |
| void | string (const nstring &text) |
| void | enumeration (const nstring &name) |
| pointer | list () |
| pointer | field (const nstring &name) |
| nstring | get_name () const |
Private Member Functions | |
| introspector_error () | |
| introspector_error (const introspector_error &) | |
| introspector_error & | operator= (const introspector_error &) |
The introspector_error class is used to represent the processing (or rather lack of processing) required to handle bogus meta-data once errors have been reported. This silences secondary errors.
| virtual introspector_error::~introspector_error | ( | ) | [virtual] |
The destructor.
| introspector_error::introspector_error | ( | ) | [private] |
The default constructor. It is private on purpose, use the create class method instead.
| introspector_error::introspector_error | ( | const introspector_error & | ) | [private] |
The copy constructor. Do not use.
| static pointer introspector_error::create | ( | ) | [static] |
The create class method is used to create new dynamically allocated instances of this class.
| void introspector_error::enumeration | ( | const nstring & | name | ) | [protected, virtual] |
The enumeration method is called when the parser sees a name in an enumeration tag place.
| name | The name of the enumerand. |
Reimplemented from introspector.
| pointer introspector_error::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_error::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.
| void introspector_error::integer | ( | long | n | ) | [protected, virtual] |
The integer method is called by the parser when an integer value is seen.
| n | The value of the number. |
Reimplemented from introspector.
| pointer introspector_error::list | ( | ) | [protected, virtual] |
The list method is called when the parser sees the start of a list value.
Reimplemented from introspector.
| introspector_error& introspector_error::operator= | ( | const introspector_error & | ) | [private] |
The assignment operator. Do not use.
| void introspector_error::real | ( | double | n | ) | [protected, virtual] |
The real method is called by the parser when a floating point value is seen.
| n | The value of the number. |
Reimplemented from introspector.
| void introspector_error::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.
1.7.6.1