ALBA
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
albaResultQueryAbstractHandler Class Referenceabstract

#include <albaResultQueryAbstractHandler.h>

Inheritance diagram for albaResultQueryAbstractHandler:
Inheritance graph
[legend]
Collaboration diagram for albaResultQueryAbstractHandler:
Collaboration graph
[legend]

Public Member Functions

 albaResultQueryAbstractHandler ()
 
virtual ~albaResultQueryAbstractHandler ()
 
 albaAbstractTypeMacro (albaResultQueryAbstractHandler, albaObject)
 
WebRowSetStringDataTable GetResultAsStringMatrix ()
 
WebRowSetColumnTypeVector GetColumnsTypeInformationAsStringVector ()
 
WebRowSetColumnNameVector GetColumnsNameInformationAsStringVector ()
 
WebRowSetQueryObjectsTable GetResultAsObjectsMatrix ()
 
int GetNumberOfRecords () const
 
int GetNumberOfFields () const
 
virtual void LoadQueryResult ()=0
 
virtual bool IsFailed ()=0
 
- Public Member Functions inherited from albaObject
 albaObject ()
 
virtual ~albaObject ()
 
virtual void Delete ()
 
virtual const char * GetTypeName () const
 
virtual bool IsA (const char *type_name) const
 
virtual bool IsA (const albaTypeID &type_id) const
 
virtual albaObjectNewObjectInstance () const =0
 
virtual const albaTypeIDGetTypeId () const
 
virtual void Print (std::ostream &os, const int indent=0) const
 
 albaObject (const albaObject &c)
 

Protected Member Functions

virtual void InternalResultReset ()
 

Protected Attributes

WebRowSetStringDataTable m_MatrixStringResult
 
WebRowSetColumnTypeVector m_ColumnsTypeInformation
 
WebRowSetColumnNameVector m_ColumnsNameInformation
 
WebRowSetQueryObjectsTable m_MatrixObjectResult
 
- Protected Attributes inherited from albaObject
bool m_HeapFlag
 

Additional Inherited Members

- Static Public Member Functions inherited from albaObject
static const char * GetStaticTypeName ()
 
static bool IsStaticType (const char *type_name)
 
static bool IsStaticType (const albaTypeID &type_id)
 
static const albaTypeIDGetStaticTypeId ()
 
static albaObjectSafeDownCast (albaObject *o)
 

Detailed Description

class name: albaResultQueryAbstractHandler Interface for handle results from a query to a database

Definition at line 44 of file albaResultQueryAbstractHandler.h.

Constructor & Destructor Documentation

◆ albaResultQueryAbstractHandler()

albaResultQueryAbstractHandler::albaResultQueryAbstractHandler ( )

constructor

◆ ~albaResultQueryAbstractHandler()

virtual albaResultQueryAbstractHandler::~albaResultQueryAbstractHandler ( )
virtual

destructor

Member Function Documentation

◆ albaAbstractTypeMacro()

albaResultQueryAbstractHandler::albaAbstractTypeMacro ( albaResultQueryAbstractHandler  ,
albaObject   
)

RTTI macro.

◆ GetResultAsStringMatrix()

WebRowSetStringDataTable albaResultQueryAbstractHandler::GetResultAsStringMatrix ( )
inline

Get result as string matrix.

Definition at line 56 of file albaResultQueryAbstractHandler.h.

◆ GetColumnsTypeInformationAsStringVector()

WebRowSetColumnTypeVector albaResultQueryAbstractHandler::GetColumnsTypeInformationAsStringVector ( )
inline

Get column type as list of string.

Definition at line 59 of file albaResultQueryAbstractHandler.h.

◆ GetColumnsNameInformationAsStringVector()

WebRowSetColumnNameVector albaResultQueryAbstractHandler::GetColumnsNameInformationAsStringVector ( )
inline

Get column name as list of string.

Definition at line 62 of file albaResultQueryAbstractHandler.h.

◆ GetResultAsObjectsMatrix()

WebRowSetQueryObjectsTable albaResultQueryAbstractHandler::GetResultAsObjectsMatrix ( )
inline

Get result as string matrix.

Definition at line 65 of file albaResultQueryAbstractHandler.h.

◆ GetNumberOfRecords()

int albaResultQueryAbstractHandler::GetNumberOfRecords ( ) const

Get number of records (rows)

◆ GetNumberOfFields()

int albaResultQueryAbstractHandler::GetNumberOfFields ( ) const

Get number of fields (columns)

◆ LoadQueryResult()

virtual void albaResultQueryAbstractHandler::LoadQueryResult ( )
pure virtual

load result of Query

◆ IsFailed()

virtual bool albaResultQueryAbstractHandler::IsFailed ( )
pure virtual

load result of Query

◆ InternalResultReset()

virtual void albaResultQueryAbstractHandler::InternalResultReset ( )
protectedvirtual

clear all the results

Member Data Documentation

◆ m_MatrixStringResult

WebRowSetStringDataTable albaResultQueryAbstractHandler::m_MatrixStringResult
protected

Definition at line 84 of file albaResultQueryAbstractHandler.h.

◆ m_ColumnsTypeInformation

WebRowSetColumnTypeVector albaResultQueryAbstractHandler::m_ColumnsTypeInformation
protected

Definition at line 85 of file albaResultQueryAbstractHandler.h.

◆ m_ColumnsNameInformation

WebRowSetColumnNameVector albaResultQueryAbstractHandler::m_ColumnsNameInformation
protected

Definition at line 86 of file albaResultQueryAbstractHandler.h.

◆ m_MatrixObjectResult

WebRowSetQueryObjectsTable albaResultQueryAbstractHandler::m_MatrixObjectResult
protected

Definition at line 88 of file albaResultQueryAbstractHandler.h.


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