clan::DBValue Class Reference

#include <db_value.h>

Public Member Functions

 DBValue ()
 
 DBValue (const DBReader &db_reader, int column_index)
 
 DBValue (const DBReader &db_reader, const std::string &column_name)
 
 operator bool () const
 
 operator DataBuffer () const
 
 operator DateTime () const
 
 operator double () const
 
 operator int () const
 
 operator std::string () const
 
DataBuffer to_binary () const
 
bool to_boolean () const
 
DateTime to_datetime () const
 
double to_double () const
 
int to_integer () const
 
std::string to_string () const
 

Constructor & Destructor Documentation

◆ DBValue() [1/3]

clan::DBValue::DBValue ( )

◆ DBValue() [2/3]

clan::DBValue::DBValue ( const DBReader db_reader,
int  column_index 
)

◆ DBValue() [3/3]

clan::DBValue::DBValue ( const DBReader db_reader,
const std::string &  column_name 
)

Member Function Documentation

◆ operator bool()

clan::DBValue::operator bool ( ) const
inline

References to_boolean().

◆ operator DataBuffer()

clan::DBValue::operator DataBuffer ( ) const
inline

References to_binary().

◆ operator DateTime()

clan::DBValue::operator DateTime ( ) const
inline

References to_datetime().

◆ operator double()

clan::DBValue::operator double ( ) const
inline

References to_double().

◆ operator int()

clan::DBValue::operator int ( ) const
inline

References to_integer().

◆ operator std::string()

clan::DBValue::operator std::string ( ) const
inline

References to_string().

◆ to_binary()

DataBuffer clan::DBValue::to_binary ( ) const

Referenced by operator DataBuffer().

◆ to_boolean()

bool clan::DBValue::to_boolean ( ) const

Referenced by operator bool().

◆ to_datetime()

DateTime clan::DBValue::to_datetime ( ) const

Referenced by operator DateTime().

◆ to_double()

double clan::DBValue::to_double ( ) const

Referenced by operator double().

◆ to_integer()

int clan::DBValue::to_integer ( ) const

Referenced by operator int().

◆ to_string()

std::string clan::DBValue::to_string ( ) const

Referenced by operator std::string().


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