Classes | |
struct | Option |
Public Types | |
typedef boost::shared_ptr < FormField > | ref |
Public Member Functions | |
virtual | ~FormField () |
void | setName (const std::string &name) |
const std::string & | getName () const |
void | setLabel (const std::string &label) |
const std::string & | getLabel () const |
void | setDescription (const std::string &description) |
const std::string & | getDescription () const |
void | setRequired (bool required) |
bool | getRequired () const |
void | addOption (const Option &option) |
const std::vector< Option > & | getOptions () const |
const std::vector< std::string > & | getRawValues () const |
void | addRawValue (const std::string &value) |
Protected Member Functions | |
FormField () |
Definition at line 19 of file FormField.h.
typedef boost::shared_ptr<FormField> Swift::FormField::ref |
Definition at line 21 of file FormField.h.
virtual Swift::FormField::~FormField | ( | ) | [inline, virtual] |
Definition at line 23 of file FormField.h.
Swift::FormField::FormField | ( | ) | [inline, protected] |
Definition at line 60 of file FormField.h.
void Swift::FormField::addOption | ( | const Option & | option | ) | [inline] |
Definition at line 43 of file FormField.h.
void Swift::FormField::addRawValue | ( | const std::string & | value | ) | [inline] |
Definition at line 55 of file FormField.h.
const std::string& Swift::FormField::getDescription | ( | ) | const [inline] |
Definition at line 38 of file FormField.h.
const std::string& Swift::FormField::getLabel | ( | ) | const [inline] |
Definition at line 35 of file FormField.h.
const std::string& Swift::FormField::getName | ( | ) | const [inline] |
Definition at line 32 of file FormField.h.
const std::vector<Option>& Swift::FormField::getOptions | ( | ) | const [inline] |
Definition at line 47 of file FormField.h.
const std::vector<std::string>& Swift::FormField::getRawValues | ( | ) | const [inline] |
Definition at line 51 of file FormField.h.
bool Swift::FormField::getRequired | ( | ) | const [inline] |
Definition at line 41 of file FormField.h.
void Swift::FormField::setDescription | ( | const std::string & | description | ) | [inline] |
Definition at line 37 of file FormField.h.
void Swift::FormField::setLabel | ( | const std::string & | label | ) | [inline] |
Definition at line 34 of file FormField.h.
void Swift::FormField::setName | ( | const std::string & | name | ) | [inline] |
Definition at line 31 of file FormField.h.
void Swift::FormField::setRequired | ( | bool | required | ) | [inline] |
Definition at line 40 of file FormField.h.