|
libdap++
Updated for version 3.13.1
|
Pass parameters by reference to a parser. More...
#include <parser.h>

Public Member Functions | |
| Error * | error () |
| void * | object () |
| parser_arg () | |
| parser_arg (void *obj) | |
| void | set_error (Error *obj) |
| void | set_object (void *obj) |
| void | set_status (int val=0) |
| int | status () |
| virtual | ~parser_arg () |
Public Attributes | |
| Error * | _error |
| void * | _object |
| int | _status |
parser_arg is used to pass parameters to the bison parsers and get error codes and objects in return. If status() is true, then the object() returns a pointer to the object built during the parse process. If status() is false, then the error() returns a pointer to an Error object.
Note that the object() mfunc returns a void pointer. Pass parameters by reference to a parser.
|
inlinevirtual |
|
inline |
Definition at line 93 of file parser.h.
References _error.
Referenced by libdap::DAS::parse(), and libdap::DDS::parse().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 101 of file parser.h.
References _status.
Referenced by libdap::Error::parse(), libdap::DAS::parse(), and libdap::DDS::parse().
| Error* libdap::parser_arg::_error |
Definition at line 71 of file parser.h.
Referenced by error(), set_error(), and ~parser_arg().
| void* libdap::parser_arg::_object |
Definition at line 70 of file parser.h.
Referenced by object(), and set_object().
| int libdap::parser_arg::_status |
Definition at line 72 of file parser.h.
Referenced by set_status(), and status().