fastcgi++
|
Defines data types and conversion techniques standard to the fastcgipp SQL facilities. More...
Classes | |
struct | NullablePar |
Base class to the Nullable template class. More... | |
struct | Nullable |
Class for adding null capabilities to any type. Needed for SQL queries involving. More... | |
struct | NullableArray |
Class for adding null capabilities to character arrays. More... | |
struct | Blob |
Derive from this to create your own Blob types. More... | |
struct | VectorBlob |
struct | Index |
Stores on index value from a Set. More... | |
struct | Set |
class | SetBuilder |
Wraps a Set object around an new auto-allocated dataset of type T. More... | |
class | SetRefBuilder |
Wraps a Set object around a reference to a dataset of type T. More... | |
class | SetPtrBuilder |
Wraps a Set object around a pointer to a dataset of type T. More... | |
class | SetSharedPtrBuilder |
Wraps a Set object around a shared pointer to a dataset of type T. More... | |
class | IndySetBuilder |
Wraps a Set object around an new auto-allocated individual object of type T. More... | |
class | IndySetRefBuilder |
Wraps a Set object around a reference to an individual object of type T. More... | |
class | IndySetPtrBuilder |
Wraps a Set object around a pointer to an individual object of type T. More... | |
struct | SetContainer |
Base class for containers of Data::Set objects to be used for result/parameter data in SQL queries. More... | |
class | STLSetContainer |
Wraps a SetContainer object around a new auto-allocated STL container of type T. More... | |
class | IndySTLSetContainer |
Wraps a SetContainer object around a new auto-allocated STL container of type T. More... | |
class | STLSetRefContainer |
Wraps a SetContainer object around a reference to an STL container of type T. More... | |
class | STLSharedSetContainer |
Wraps a SetContainer object around a shared pointer to an STL container of type T. More... | |
struct | Conversion |
Handle data conversion from standard data types to internal SQL engine types. More... |
Typedefs | |
typedef unsigned char | Utiny |
typedef signed char | Tiny |
typedef unsigned short int | Ushort |
typedef short int | Short |
typedef unsigned int | Uint |
typedef int | Int |
typedef unsigned long long int | Ubigint |
typedef long long int | Bigint |
typedef float | Float |
typedef double | Double |
typedef boost::posix_time::time_duration | Time |
typedef boost::gregorian::date | Date |
typedef boost::posix_time::ptime | Datetime |
typedef std::string | Text |
typedef std::wstring | Wtext |
typedef bool | Boolean |
typedef Nullable< Utiny > | UtinyN |
typedef Nullable< Tiny > | TinyN |
typedef Nullable< Ushort > | UshortN |
typedef Nullable< Short > | ShortN |
typedef Nullable< Uint > | UintN |
typedef Nullable< Int > | IntN |
typedef Nullable< Ubigint > | UbigintN |
typedef Nullable< Bigint > | BigintN |
typedef Nullable< Float > | FloatN |
typedef Nullable< Double > | DoubleN |
typedef Nullable< Time > | TimeN |
typedef Nullable< Date > | DateN |
typedef Nullable< Datetime > | DatetimeN |
typedef Nullable< Text > | TextN |
typedef Nullable< Wtext > | WtextN |
typedef Nullable< Boolean > | BooleanN |
typedef std::map< int, boost::shared_ptr< Conversion > > | Conversions |
Enumerations | |
enum | Type { U_TINY = 0, U_SHORT, U_INT, U_BIGINT, TINY, SHORT, INT, BIGINT, FLOAT, DOUBLE, TIME, DATE, DATETIME, BLOB, TEXT, WTEXT, CHAR, BINARY, BIT, U_TINY_N, U_SHORT_N, U_INT_N, U_BIGINT_N, TINY_N, SHORT_N, INT_N, BIGINT_N, FLOAT_N, DOUBLE_N, TIME_N, DATE_N, DATETIME_N, BLOB_N, TEXT_N, WTEXT_N, CHAR_N, BINARY_N, BIT_N, NOTHING } |
Defines data types supported by the fastcgi++ sql facilities. More... |
Functions | |
template<class charT , class Traits , class T > | |
std::basic_ostream< charT, Traits > & | operator<< (std::basic_ostream< charT, Traits > &os, const Nullable< T > &x) |
A basic, practically none-functional stream inserter for Nullable objects. |
Defines data types and conversion techniques standard to the fastcgipp SQL facilities.
typedef long long int ASql::Data::Bigint |
typedef Nullable<Bigint> ASql::Data::BigintN |
typedef bool ASql::Data::Boolean |
typedef Nullable<Boolean> ASql::Data::BooleanN |
typedef std::map<int, boost::shared_ptr<Conversion> > ASql::Data::Conversions |
typedef boost::gregorian::date ASql::Data::Date |
typedef Nullable<Date> ASql::Data::DateN |
typedef boost::posix_time::ptime ASql::Data::Datetime |
typedef Nullable<Datetime> ASql::Data::DatetimeN |
typedef double ASql::Data::Double |
typedef Nullable<Double> ASql::Data::DoubleN |
typedef float ASql::Data::Float |
typedef Nullable<Float> ASql::Data::FloatN |
typedef int ASql::Data::Int |
typedef Nullable<Int> ASql::Data::IntN |
typedef short int ASql::Data::Short |
typedef Nullable<Short> ASql::Data::ShortN |
typedef std::string ASql::Data::Text |
typedef Nullable<Text> ASql::Data::TextN |
typedef boost::posix_time::time_duration ASql::Data::Time |
typedef Nullable<Time> ASql::Data::TimeN |
typedef signed char ASql::Data::Tiny |
typedef Nullable<Tiny> ASql::Data::TinyN |
typedef unsigned long long int ASql::Data::Ubigint |
typedef Nullable<Ubigint> ASql::Data::UbigintN |
typedef unsigned int ASql::Data::Uint |
typedef Nullable<Uint> ASql::Data::UintN |
typedef unsigned short int ASql::Data::Ushort |
typedef Nullable<Ushort> ASql::Data::UshortN |
typedef unsigned char ASql::Data::Utiny |
typedef Nullable<Utiny> ASql::Data::UtinyN |
typedef std::wstring ASql::Data::Wtext |
typedef Nullable<Wtext> ASql::Data::WtextN |
enum ASql::Data::Type |
Defines data types supported by the fastcgi++ sql facilities.
This enumeration provides runtime type identification capabilities to classes derived from the Set class. All types starting with U_ mean unsigned and all types ending will _N means they can store null values via the Nullable class.
|
inline |
A basic, practically none-functional stream inserter for Nullable objects.
Definition at line 117 of file data.hpp.
References ASql::Data::Nullable< T >::object.