|
libdap++
Updated for version 3.8.2
|
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 |
|
inline |
|
inline |
Definition at line 97 of file parser.h.
Referenced by libdap::parse_error().
|
inline |
Definition at line 105 of file parser.h.
References libdap::check_byte(), libdap::check_float32(), libdap::check_float64(), libdap::check_int16(), libdap::check_int32(), libdap::check_uint16(), libdap::check_uint32(), libdap::check_url(), libdap::is_keyword(), libdap::parse_error(), and libdap::save_str().
Referenced by libdap::parse_error().

|
inline |
| Error* libdap::parser_arg::_error |
Definition at line 71 of file parser.h.
Referenced by error(), and ~parser_arg().