Specialized version for the bool data type, converts to / from string as SQL expects it. More...
#include <db_field.h>

Public Member Functions | |
| DBField (DBClass *owner, const DBField< bool > *other) | |
| DBField (Type type, DBClass *owner, std::string name, std::string table_name, bool write_permission) | |
| virtual bool | fromString (const std::string &str) | 
| Sets the value of this field from a text string.   | |
| virtual bool | toString (std::string &str) const | 
| Gets the value of this field as a text string.   | |
Specialized version for the bool data type, converts to / from string as SQL expects it.
Definition at line 363 of file db_field.h.
| database_interface::DBField< bool >::DBField | ( | Type | type, | |
| DBClass * | owner, | |||
| std::string | name, | |||
| std::string | table_name, | |||
| bool | write_permission | |||
| ) |  [inline] | 
        
Definition at line 366 of file db_field.h.
| database_interface::DBField< bool >::DBField | ( | DBClass * | owner, | |
| const DBField< bool > * | other | |||
| ) |  [inline] | 
        
Definition at line 369 of file db_field.h.
| virtual bool database_interface::DBField< bool >::fromString | ( | const std::string & | str | ) |  [inline, virtual] | 
        
Sets the value of this field from a text string.
Reimplemented from database_interface::DBFieldData< bool >.
Definition at line 374 of file db_field.h.
| virtual bool database_interface::DBField< bool >::toString | ( | std::string & | str | ) |  const [inline, virtual] | 
        
Gets the value of this field as a text string.
Reimplemented from database_interface::DBFieldData< bool >.
Definition at line 382 of file db_field.h.