#include <SQLSerialize.h>

Definition at line 176 of file SQLSerialize.h.
Public Member Functions | |
| SQLExtract (SQLImplementation *impl) | |
| Constructor. | |
| const char * | next_field () |
| void | process (const char *name, u_int32_t *i) |
| Process function for a 4 byte integer. | |
| void | process (const char *name, u_int16_t *i) |
| Process function for a 2 byte integer. | |
| void | process (const char *name, u_int8_t *i) |
| Process function for a byte. | |
| void | process (const char *name, bool *b) |
| Process function for a boolean. | |
| void | process (const char *name, u_char *bp, size_t len) |
| void | process (const char *name, u_char **bp, size_t *lenp, int flags) |
| void | process (const char *name, std::string *s) |
| Process function for a c++ string. | |
Protected Attributes | |
| int | field_ |
| counter over the fields in the returned tuple | |
Private Attributes | |
| SQLImplementation * | sql_impl_ |
| oasys::SQLExtract::SQLExtract | ( | SQLImplementation * | impl | ) |
| const char * oasys::SQLExtract::next_field | ( | ) |
Definition at line 411 of file SQLSerialize.cc.
References field_, oasys::SQLImplementation::get_value(), and sql_impl_.
Referenced by process().
| void oasys::SQLExtract::process | ( | const char * | name, | |
| u_int32_t * | i | |||
| ) | [virtual] |
Process function for a 4 byte integer.
Implements oasys::SerializeAction.
Definition at line 417 of file SQLSerialize.cc.
References oasys::SerializeAction::log_, oasys::LOG_DEBUG, oasys::logf(), and next_field().
| void oasys::SQLExtract::process | ( | const char * | name, | |
| u_int16_t * | i | |||
| ) | [virtual] |
Process function for a 2 byte integer.
Implements oasys::SerializeAction.
Definition at line 429 of file SQLSerialize.cc.
References oasys::SerializeAction::log_, oasys::LOG_DEBUG, oasys::logf(), and next_field().
| void oasys::SQLExtract::process | ( | const char * | name, | |
| u_int8_t * | i | |||
| ) | [virtual] |
Process function for a byte.
Implements oasys::SerializeAction.
Definition at line 441 of file SQLSerialize.cc.
References oasys::SerializeAction::log_, oasys::LOG_DEBUG, oasys::logf(), and next_field().
| void oasys::SQLExtract::process | ( | const char * | name, | |
| bool * | b | |||
| ) | [virtual] |
Process function for a boolean.
Implements oasys::SerializeAction.
Definition at line 453 of file SQLSerialize.cc.
References oasys::SerializeAction::log_, oasys::LOG_DEBUG, oasys::LOG_ERR, oasys::logf(), next_field(), and oasys::SerializeAction::signal_error().
| void oasys::SQLExtract::process | ( | const char * | name, | |
| u_char * | bp, | |||
| size_t | len | |||
| ) |
Definition at line 498 of file SQLSerialize.cc.
References oasys::hex2str(), oasys::SerializeAction::log_, oasys::LOG_DEBUG, oasys::logf(), next_field(), sql_impl_, and oasys::SQLImplementation::unescape_binary().
| void oasys::SQLExtract::process | ( | const char * | name, | |
| u_char ** | bp, | |||
| size_t * | lenp, | |||
| int | flags | |||
| ) |
| void oasys::SQLExtract::process | ( | const char * | name, | |
| std::string * | s | |||
| ) | [virtual] |
Process function for a c++ string.
Implements oasys::SerializeAction.
Definition at line 483 of file SQLSerialize.cc.
References oasys::SerializeAction::log_, oasys::LOG_DEBUG, oasys::logf(), and next_field().
int oasys::SQLExtract::field_ [protected] |
counter over the fields in the returned tuple
Definition at line 193 of file SQLSerialize.h.
Referenced by next_field(), and SQLExtract().
SQLImplementation* oasys::SQLExtract::sql_impl_ [private] |
Definition at line 196 of file SQLSerialize.h.
Referenced by next_field(), process(), and SQLExtract().
1.5.3