Double Class ReferenceClass for converting double to and from database types.
More...
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| Double (double &pDouble) | |
| Constructor. | |
| virtual void | fromDate (const ConvSpec &pSpec, const tm &pDate) throw (StoreableFilterException) |
| Convert to C++ type from int value received from database. | |
| virtual void | fromDouble (const ConvSpec &pSpec, double pData) throw (StoreableFilterException) |
| Convert to C++ type from double value received from database. | |
| virtual void | fromInt (const ConvSpec &pSpec, int pData) throw (StoreableFilterException) |
| Convert to C++ type from int value received from database. | |
| virtual void | fromNull () throw (StoreableFilterException) |
| Set C++ type from NULL value. | |
| virtual void | fromString (const ConvSpec &pSpec, const std::string &pData) throw (StoreableFilterException) |
| Convert to C++ type from std::string value received from database. | |
| virtual bool | isNull () const |
| Check if C++ type should be stored as NULL value in database. | |
| virtual std::string | toString (const ConvSpec &pSpec) const throw (StoreableFilterException) |
| Convert type to string. | |
|
|
Constructor.
|
|
||||||||||||
|
Convert to C++ type from int value received from database. Should throw dba::StoreableFilterException if conversion fails Must be implemented for BIND_DAT usage
Reimplemented from StoreableFilterBase. |
|
||||||||||||
|
Convert to C++ type from double value received from database. Should throw dba::StoreableFilterException if conversion fails Must be implemented for BIND_FLT usage
Reimplemented from StoreableFilterBase. |
|
||||||||||||
|
Convert to C++ type from int value received from database. Should throw dba::StoreableFilterException if conversion fails Must be implemented for BIND_INT usage
Reimplemented from StoreableFilterBase. |
|
||||||||||||
|
Convert to C++ type from std::string value received from database. Should throw dba::StoreableFilterException if conversion fails Must be implemented for BIND_STR usage
Reimplemented from StoreableFilterBase. |
|
|
Check if C++ type should be stored as NULL value in database.
Implements StoreableFilterBase. |
|
|
Convert type to string. Should throw dba::StoreableFilterException if conversion fails
Implements StoreableFilterBase. |
| Documentation |
|---|
| Quick start |
| Examples |
| Search |
| API Documentation |
|---|
| Class hierarchy |
| Member index |
| API Reference |
| Store filters |
| Store table macros |