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 <asql.hpp>

Inheritance diagram for ASql::Data::SetContainer:
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.

Detailed Description

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

Definition at line 534 of file asql.hpp.


Constructor & Destructor Documentation

virtual ASql::Data::SetContainer::~SetContainer (  ) [inline, virtual]

Definition at line 544 of file asql.hpp.


Member Function Documentation

virtual Set& ASql::Data::SetContainer::manufacture (  ) [pure virtual]

Appends a row to the container and returns a reference to it.

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

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

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::STLSetContainer< T >, ASql::Data::STLSetRefContainer< T >, and ASql::Data::STLSharedSetContainer< 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: