#include <Field.h>
Inheritance diagram for MySQLaux::Field
Public Methods | |
virtual | ~Field () |
Destructor. More... | |
virtual string | to_string () const=0 |
Get value as string. More... | |
virtual size_t | size () const=0 |
Get storage size of value. More... | |
string const& | name () const |
Get type name. More... | |
Protected Methods | |
Field (string const &name, bool const is_null=false) | |
Constructor. More... | |
Protected Attributes | |
bool const | _is_null |
The Field type must not be used directly, instead use derived classes.
Definition at line 35 of file Field.h.
|
Constructor.
Definition at line 46 of file Field.h. 00048 : _name (name), 00049 _is_null (is_null) 00050 { 00051 |
|
Destructor.
Definition at line 57 of file Field.h. 00058 { 00059 |
|
Get type name.
Definition at line 74 of file Field.h. 00074 { return _name; } 00075 |
|
Get storage size of value.
Reimplemented in MySQLaux::TypedField. |
|
Get value as string.
Reimplemented in MySQLaux::TypedField. |
|
|