All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions
database_interface::DBField< bool > Class Template Reference

Specialized version for the bool data type, converts to / from string as SQL expects it. More...

#include <db_field.h>

Inheritance diagram for database_interface::DBField< bool >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DBField (Type type, DBClass *owner, std::string name, std::string table_name, bool write_permission)
 DBField (DBClass *owner, const DBField< bool > *other)
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.

Detailed Description

template<>
class database_interface::DBField< bool >

Specialized version for the bool data type, converts to / from string as SQL expects it.

Definition at line 363 of file db_field.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends


database_interface
Author(s): Matei Ciocarlie and Lorenz Mosenlechner
autogenerated on Wed Jan 16 2013 13:32:14