fastcgi++
Public Member Functions
ASql::Data::SetContainer Struct Reference

Base class for containers of Data::Set objects to be used for result/parameter data in SQL queries. More...

#include <data.hpp>

Inheritance diagram for ASql::Data::SetContainer:
ASql::Data::IndySTLSetContainer< T > ASql::Data::STLSetContainer< T > ASql::Data::STLSetRefContainer< T > ASql::Data::STLSharedSetContainer< T >

List of all members.

Public Member Functions

virtual Setmanufacture ()=0
 Appends a row to the container and returns a reference to it.
virtual void trim ()=0
 Pop a row off the end of the container.
virtual ~SetContainer ()
virtual const Setpull () const =0
 Get a row from the front and move on to the next row.
virtual void init () const =0

Detailed Description

Base class for containers of Data::Set objects to be used for result/parameter data in SQL queries.

Definition at line 531 of file data.hpp.


Constructor & Destructor Documentation

virtual ASql::Data::SetContainer::~SetContainer ( )
inlinevirtual

Definition at line 537 of file data.hpp.


Member Function Documentation

virtual void ASql::Data::SetContainer::init ( ) const
pure virtual
virtual Set& ASql::Data::SetContainer::manufacture ( )
pure virtual
virtual const Set* ASql::Data::SetContainer::pull ( ) const
pure virtual

Get a row from the front and move on to the next row.

Returns:
This function should return a pointer to the row or null if at the end.

Implemented in ASql::Data::STLSharedSetContainer< T >, ASql::Data::STLSetRefContainer< T >, ASql::Data::IndySTLSetContainer< T >, and ASql::Data::STLSetContainer< T >.

Referenced by ASql::MySQL::Statement::execute().

virtual void ASql::Data::SetContainer::trim ( )
pure virtual

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