|
void | bindAdd (uint32_t bindIndex) |
|
uint32_t | bindCount () const |
|
uint32_t | bindIndex (uint32_t ind) |
|
uint8_t * | conversionBuffer () |
|
long & | callbackLength () |
|
| QueryParameter (const char *name, bool isOutput=false) |
|
| ~QueryParameter () override=default |
|
String | name () const |
|
void | setOutput () |
|
QueryParameter & | operator= (const Variant ¶m) |
|
QueryParameter & | operator= (int16_t v) |
|
QueryParameter & | operator= (uint16_t v) |
|
QueryParameter & | operator= (int32_t v) override |
|
QueryParameter & | operator= (int64_t v) override |
|
QueryParameter & | operator= (double v) override |
|
QueryParameter & | operator= (const char *s) override |
|
QueryParameter & | operator= (const std::string &s) |
|
QueryParameter & | operator= (DateTime dt) override |
|
QueryParameter & | operator= (const uint8_t *value) override |
|
QueryParameter & | operator= (const Buffer &buffer) override |
|
virtual void | setString (const char *value) |
|
virtual void | setString (const char *value, size_t maxlen) |
|
void | setString (const String &value) override |
|
bool | isOutput () const |
|
QueryParameterBinding & | binding () |
|
void | reallocateBuffer (const char *value, size_t maxlen, size_t valueLength) |
|
| Variant () |
|
| Variant (bool value) |
|
| Variant (int32_t value) |
|
| Variant (int64_t value, unsigned scale=1) |
|
| Variant (double value) |
|
| Variant (const char *value) |
|
| Variant (const String &v) |
|
| Variant (const DateTime &v) |
|
| Variant (const uint8_t *value, size_t sz) |
|
| Variant (const Buffer &value) |
|
| Variant (const Variant &other)=default |
|
| Variant (Variant &&other) noexcept=default |
|
| ~Variant () override |
|
Variant & | operator= (const Variant &other) |
|
Variant & | operator= (Variant &&other) noexcept |
|
virtual Variant & | operator= (bool value) |
|
virtual Variant & | operator= (int32_t value) |
|
virtual Variant & | operator= (int64_t value) |
|
virtual Variant & | operator= (double value) |
|
virtual Variant & | operator= (const MoneyData &value) |
|
virtual Variant & | operator= (const char *value) |
|
virtual Variant & | operator= (const String &value) |
|
virtual Variant & | operator= (DateTime value) |
|
virtual Variant & | operator= (const uint8_t *value) |
|
virtual Variant & | operator= (const Buffer &value) |
|
virtual | operator bool () const |
|
virtual | operator int () const |
|
virtual | operator int64_t () const |
|
virtual | operator uint64_t () const |
|
virtual | operator double () const |
|
virtual | operator String () const |
|
virtual | operator DateTime () const |
|
virtual void | load (const std::shared_ptr< xdoc::Node > &element) |
|
void | save (const std::shared_ptr< xdoc::Node > &node) const |
|
| VariantAdaptors ()=default |
| Default constructor.
|
|
| VariantAdaptors (const VariantAdaptors &other)=default |
| Copy constructor. More...
|
|
| VariantAdaptors (VariantAdaptors &&other) noexcept=default |
| Move constructor. More...
|
|
| ~VariantAdaptors () override=default |
| Default destructor.
|
|
virtual void | setBool (bool value) |
|
virtual void | setInteger (int32_t value) |
|
virtual void | setInt64 (int64_t value) |
|
virtual void | setFloat (double value) |
|
virtual void | setMoney (int64_t value, unsigned scale) |
|
virtual void | setString (const String &value) |
|
virtual void | setBuffer (const uint8_t *value, size_t valueSize, VariantDataType type=VariantDataType::VAR_BUFFER) |
|
virtual void | setExternalBuffer (uint8_t *value, size_t valueSize, VariantDataType type=VariantDataType::VAR_BUFFER) |
|
virtual void | setDateTime (DateTime value, bool dateOnly=false) |
|
virtual void | setImagePtr (const uint8_t *value) |
|
virtual void | setImageNdx (uint32_t value) |
|
virtual void | setMoney (const MoneyData &value) |
|
virtual void | setNull (VariantDataType vtype=VariantDataType::VAR_NONE) |
|
int | asInteger () const |
|
int64_t | asInt64 () const |
|
bool | asBool () const |
|
double | asFloat () const |
|
virtual String | asString () const |
|
DateTime | asDate () const |
|
DateTime | asDateTime () const |
|
const uint8_t * | asImagePtr () const |
|
| BaseVariant ()=default |
| Default constructor.
|
|
| BaseVariant (const BaseVariant &other)=default |
| Copy constructor. More...
|
|
| BaseVariant (BaseVariant &&other) noexcept=default |
| Move constructor. More...
|
|
virtual | ~BaseVariant ()=default |
| Destructor.
|
|
VariantDataType | dataType () const |
|
size_t | dataSize () const |
|
void | dataSize (size_t newDataSize) |
|
size_t | bufferSize () const |
|
bool | isNull () const |
|
template<typename T > |
const T & | get () const |
| Direct and fast const access to variant data. More...
|
|
template<typename T > |
T & | get () |
| Direct and fast access to variant data. More...
|
|
virtual const MoneyData & | getMoney () const |
|
virtual const char * | getString () const |
|
virtual const uint8_t * | getExternalBuffer () const |
|
virtual const char * | getText () const |
|
virtual const uint8_t * | getImagePtr () const |
|
virtual uint32_t | getImageNdx () const |
|
SQL query parameter.
Simplifies the ODBC parameter binding. Automatically handles most of the data conversions on assignments.