Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
dbiplus::field_value Class Reference

#include <qry_dat.h>

Public Member Functions

 field_value ()
 
 field_value (const char *s)
 
 field_value (const bool b)
 
 field_value (const char c)
 
 field_value (const short s)
 
 field_value (const unsigned short us)
 
 field_value (const int l)
 
 field_value (const unsigned int ul)
 
 field_value (const float f)
 
 field_value (const double d)
 
 field_value (const int64_t i)
 
 field_value (const char *s, std::size_t len)
 
 field_value (const field_value &fv)
 
 field_value (field_value &&fv) noexcept
 
 ~field_value ()
 
fType get_fType () const
 
bool get_isNull () const
 
std::string get_asString () const &
 
std::string get_asString () &&
 
bool get_asBool () const
 
char get_asChar () const
 
short get_asShort () const
 
unsigned short get_asUShort () const
 
int get_asInt () const
 
unsigned int get_asUInt () const
 
float get_asFloat () const
 
double get_asDouble () const
 
int64_t get_asInt64 () const
 
field_valueoperator= (const char *s)
 
field_valueoperator= (const std::string &s)
 
field_valueoperator= (std::string &&s)
 
field_valueoperator= (const bool b)
 
field_valueoperator= (const short s)
 
field_valueoperator= (const unsigned short us)
 
field_valueoperator= (const int l)
 
field_valueoperator= (const unsigned int l)
 
field_valueoperator= (const float f)
 
field_valueoperator= (const double d)
 
field_valueoperator= (const int64_t i)
 
field_valueoperator= (const field_value &fv)
 
field_valueoperator= (field_value &&fv) noexcept
 
void set_isNull ()
 
void set_asString (const char *s)
 
void set_asString (const char *s, std::size_t len)
 
void set_asString (const std::string &s)
 
void set_asString (std::string &&s)
 
void set_asBool (const bool b)
 
void set_asChar (const char c)
 
void set_asShort (const short s)
 
void set_asUShort (const unsigned short us)
 
void set_asInt (const int l)
 
void set_asUInt (const unsigned int l)
 
void set_asFloat (const float f)
 
void set_asDouble (const double d)
 
void set_asInt64 (const int64_t i)
 
fType get_field_type ()
 
std::string gft ()
 

Friends

std::ostream & operator<< (std::ostream &os, const field_value &fv)
 

Constructor & Destructor Documentation

◆ field_value() [1/14]

dbiplus::field_value::field_value ( )

◆ field_value() [2/14]

dbiplus::field_value::field_value ( const char * s)
explicit

◆ field_value() [3/14]

dbiplus::field_value::field_value ( const bool b)
explicit

◆ field_value() [4/14]

dbiplus::field_value::field_value ( const char c)
explicit

◆ field_value() [5/14]

dbiplus::field_value::field_value ( const short s)
explicit

◆ field_value() [6/14]

dbiplus::field_value::field_value ( const unsigned short us)
explicit

◆ field_value() [7/14]

dbiplus::field_value::field_value ( const int l)
explicit

◆ field_value() [8/14]

dbiplus::field_value::field_value ( const unsigned int ul)
explicit

◆ field_value() [9/14]

dbiplus::field_value::field_value ( const float f)
explicit

◆ field_value() [10/14]

dbiplus::field_value::field_value ( const double d)
explicit

◆ field_value() [11/14]

dbiplus::field_value::field_value ( const int64_t i)
explicit

◆ field_value() [12/14]

dbiplus::field_value::field_value ( const char * s,
std::size_t len )

◆ field_value() [13/14]

dbiplus::field_value::field_value ( const field_value & fv)

◆ field_value() [14/14]

dbiplus::field_value::field_value ( field_value && fv)
noexcept

◆ ~field_value()

dbiplus::field_value::~field_value ( )
default

Member Function Documentation

◆ get_asBool()

bool dbiplus::field_value::get_asBool ( ) const

◆ get_asChar()

char dbiplus::field_value::get_asChar ( ) const

◆ get_asDouble()

double dbiplus::field_value::get_asDouble ( ) const

◆ get_asFloat()

float dbiplus::field_value::get_asFloat ( ) const

◆ get_asInt()

int dbiplus::field_value::get_asInt ( ) const

◆ get_asInt64()

int64_t dbiplus::field_value::get_asInt64 ( ) const

◆ get_asShort()

short dbiplus::field_value::get_asShort ( ) const

◆ get_asString() [1/2]

std::string dbiplus::field_value::get_asString ( ) &&

◆ get_asString() [2/2]

std::string dbiplus::field_value::get_asString ( ) const &

◆ get_asUInt()

unsigned int dbiplus::field_value::get_asUInt ( ) const

◆ get_asUShort()

unsigned short dbiplus::field_value::get_asUShort ( ) const

◆ get_field_type()

fType dbiplus::field_value::get_field_type ( )

◆ get_fType()

fType dbiplus::field_value::get_fType ( ) const
inline

◆ get_isNull()

bool dbiplus::field_value::get_isNull ( ) const
inline

◆ gft()

std::string dbiplus::field_value::gft ( )

◆ operator=() [1/13]

field_value & dbiplus::field_value::operator= ( const bool b)
inline

◆ operator=() [2/13]

field_value & dbiplus::field_value::operator= ( const char * s)
inline

◆ operator=() [3/13]

field_value & dbiplus::field_value::operator= ( const double d)
inline

◆ operator=() [4/13]

field_value & dbiplus::field_value::operator= ( const field_value & fv)

◆ operator=() [5/13]

field_value & dbiplus::field_value::operator= ( const float f)
inline

◆ operator=() [6/13]

field_value & dbiplus::field_value::operator= ( const int l)
inline

◆ operator=() [7/13]

field_value & dbiplus::field_value::operator= ( const int64_t i)
inline

◆ operator=() [8/13]

field_value & dbiplus::field_value::operator= ( const short s)
inline

◆ operator=() [9/13]

field_value & dbiplus::field_value::operator= ( const std::string & s)
inline

◆ operator=() [10/13]

field_value & dbiplus::field_value::operator= ( const unsigned int l)
inline

◆ operator=() [11/13]

field_value & dbiplus::field_value::operator= ( const unsigned short us)
inline

◆ operator=() [12/13]

field_value & dbiplus::field_value::operator= ( field_value && fv)
noexcept

◆ operator=() [13/13]

field_value & dbiplus::field_value::operator= ( std::string && s)
inline

◆ set_asBool()

void dbiplus::field_value::set_asBool ( const bool b)

◆ set_asChar()

void dbiplus::field_value::set_asChar ( const char c)

◆ set_asDouble()

void dbiplus::field_value::set_asDouble ( const double d)

◆ set_asFloat()

void dbiplus::field_value::set_asFloat ( const float f)

◆ set_asInt()

void dbiplus::field_value::set_asInt ( const int l)

◆ set_asInt64()

void dbiplus::field_value::set_asInt64 ( const int64_t i)

◆ set_asShort()

void dbiplus::field_value::set_asShort ( const short s)

◆ set_asString() [1/4]

void dbiplus::field_value::set_asString ( const char * s)

◆ set_asString() [2/4]

void dbiplus::field_value::set_asString ( const char * s,
std::size_t len )

◆ set_asString() [3/4]

void dbiplus::field_value::set_asString ( const std::string & s)

◆ set_asString() [4/4]

void dbiplus::field_value::set_asString ( std::string && s)

◆ set_asUInt()

void dbiplus::field_value::set_asUInt ( const unsigned int l)

◆ set_asUShort()

void dbiplus::field_value::set_asUShort ( const unsigned short us)

◆ set_isNull()

void dbiplus::field_value::set_isNull ( )
inline

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
const field_value & fv )
friend

Member Data Documentation

◆ bool_value

bool dbiplus::field_value::bool_value

◆ char_value

char dbiplus::field_value::char_value

◆ double_value

double dbiplus::field_value::double_value

◆ float_value

float dbiplus::field_value::float_value

◆ int64_value

int64_t dbiplus::field_value::int64_value

◆ int_value

int dbiplus::field_value::int_value

◆ object_value

void* dbiplus::field_value::object_value

◆ short_value

short dbiplus::field_value::short_value

◆ uint_value

unsigned int dbiplus::field_value::uint_value

◆ ushort_value

unsigned short dbiplus::field_value::ushort_value

The documentation for this class was generated from the following files: