#include <Field.h>
Public Member Functions | |
Field (cstring name, bool text=false) | |
Creates a new field with the specified name and 'textness'. | |
virtual | ~Field () |
Destructor, a noop. | |
const std::string & | getName () const |
Returns the name of the field. | |
bool | isText () const |
Returns whether this field is a text field. | |
virtual bool | isKey () const |
Returns wether this field is a key. | |
Protected Attributes | |
std::string | m_name |
The name of this field. | |
bool | m_text |
Whether this field is a text field. |
Definition at line 36 of file Field.h.
Field::Field | ( | cstring | name, | |
bool | text = false | |||
) |
Creates a new field with the specified name and 'textness'.
virtual Field::~Field | ( | ) | [virtual] |
Destructor, a noop.
const std::string& Field::getName | ( | ) | const [inline] |
bool Field::isText | ( | ) | const [inline] |
virtual bool Field::isKey | ( | ) | const [inline, virtual] |
std::string Field::m_name [protected] |
bool Field::m_text [protected] |