ALBA
Public Member Functions | Protected Attributes | List of all members
albaQueryObject Class Reference

#include <albaQueryObject.h>

Public Member Functions

 albaQueryObject (const char *data)
 
void SetData (const char *data)
 
const char * GetValueAsString ()
 
int GetValueAsInt ()
 
long GetValueAsLong ()
 
float GetValueAsFloat ()
 
double GetValueAsDouble ()
 

Protected Attributes

std::string m_QueryData
 

Detailed Description

class name: albaQueryObject class dor handling a query data type (stored as std::string), which can be converted to int, long, float double or const char *

Definition at line 37 of file albaQueryObject.h.

Constructor & Destructor Documentation

◆ albaQueryObject()

albaQueryObject::albaQueryObject ( const char *  data)
inline

constructor

Definition at line 41 of file albaQueryObject.h.

Member Function Documentation

◆ SetData()

void albaQueryObject::SetData ( const char *  data)
inline

set query data

Definition at line 43 of file albaQueryObject.h.

References m_QueryData.

◆ GetValueAsString()

const char * albaQueryObject::GetValueAsString ( )
inline

retrieve data as const char pointer

Definition at line 46 of file albaQueryObject.h.

References m_QueryData.

◆ GetValueAsInt()

int albaQueryObject::GetValueAsInt ( )
inline

retrieve data as int

Definition at line 51 of file albaQueryObject.h.

References m_QueryData.

◆ GetValueAsLong()

long albaQueryObject::GetValueAsLong ( )
inline

retrieve data as long

Definition at line 56 of file albaQueryObject.h.

References m_QueryData.

◆ GetValueAsFloat()

float albaQueryObject::GetValueAsFloat ( )
inline

retrieve data as float

Definition at line 61 of file albaQueryObject.h.

References m_QueryData.

◆ GetValueAsDouble()

double albaQueryObject::GetValueAsDouble ( )
inline

retrieve data as double

Definition at line 66 of file albaQueryObject.h.

References m_QueryData.

Member Data Documentation

◆ m_QueryData

std::string albaQueryObject::m_QueryData
protected

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