Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

uesqlc::IDataSource< TInstance, TSize > Class Template Reference

#include <data_source.hh>

List of all members.

Public Types

typedef TSize size_type
 Size type.


Public Methods

virtual void closeCursor (const mpcl::text::TString &rkyCURSOR_NAME)=0
virtual size_type declareCursor (const mpcl::text::TString &rkyCURSOR_NAME)=0
virtual void fetchNext (const mpcl::text::TString &rkyCURSOR_NAME, TInstance &rtINSTANCE)=0
virtual void fetchAbsolute (const mpcl::text::TString &rkyCURSOR_NAME, TInstance &rtINSTANCE, size_type zINDEX)=0
virtual void openCursor (const mpcl::text::TString &rkyCURSOR_NAME)=0
virtual void setErrorException (void)=0
 Activates error exception.


Detailed Description

template<typename TInstance, typename TSize = std::size_t>
class uesqlc::IDataSource< TInstance, TSize >

Base class for data sources.
See also:
TQuery.

Definition at line 41 of file data_source.hh.


Member Function Documentation

template<typename TInstance, typename TSize = std::size_t>
virtual void uesqlc::IDataSource< TInstance, TSize >::closeCursor const mpcl::text::TString   rkyCURSOR_NAME [pure virtual]
 

Closes the cursor.

Parameters:
rkyCURSOR_NAME  Cursor name.

template<typename TInstance, typename TSize = std::size_t>
virtual size_type uesqlc::IDataSource< TInstance, TSize >::declareCursor const mpcl::text::TString   rkyCURSOR_NAME [pure virtual]
 

Declares the cursor, and returns the tuple count of the query.

Parameters:
rkyCURSOR_NAME  Cursor name.
Returns:
Tuple count of the query.

template<typename TInstance, typename TSize = std::size_t>
virtual void uesqlc::IDataSource< TInstance, TSize >::fetchAbsolute const mpcl::text::TString   rkyCURSOR_NAME,
TInstance &    rtINSTANCE,
size_type    zINDEX
[pure virtual]
 

Gets the data from tuple at position zINDEX in the cursor named rkyCURSOR_NAME and puts it into rtINSTANCE.

Parameters:
rkyCURSOR_NAME  Cursor name.
rtINSTANCE  Data holder instance.
zINDEX  Position of the tuple in the query.

template<typename TInstance, typename TSize = std::size_t>
virtual void uesqlc::IDataSource< TInstance, TSize >::fetchNext const mpcl::text::TString   rkyCURSOR_NAME,
TInstance &    rtINSTANCE
[pure virtual]
 

Gets the data from next tuple in the cursor named rkyCURSOR_NAME and puts it into rtINSTANCE.

Parameters:
rkyCURSOR_NAME  Cursor name.
rtINSTANCE  Data holder instance.

template<typename TInstance, typename TSize = std::size_t>
virtual void uesqlc::IDataSource< TInstance, TSize >::openCursor const mpcl::text::TString   rkyCURSOR_NAME [pure virtual]
 

Opens the cursor.

Parameters:
rkyCURSOR_NAME  Cursor name.


The documentation for this class was generated from the following file:
Generated on Mon Oct 13 02:40:11 2003 for UESQLC by doxygen1.2.18