fastcgi++
Public Member Functions | Private Member Functions | Private Attributes
ASql::Data::IndySetRefBuilder< T > Class Template Reference

Wraps a Set object around a reference to an individual object of type T. More...

#include <data.hpp>

Inheritance diagram for ASql::Data::IndySetRefBuilder< T >:
ASql::Data::Set

List of all members.

Public Member Functions

 IndySetRefBuilder (const T &x)

Private Member Functions

virtual size_t numberOfSqlElements () const
 Returns 1 as it is an individual container.
virtual Index getSqlIndex (const size_t index) const
 Just returns an index to data.

Private Attributes

const T & data
 Object of type T that the Set is wrapped around. This is your object.

Detailed Description

template<class T>
class ASql::Data::IndySetRefBuilder< T >

Wraps a Set object around a reference to an individual object of type T.

Template Parameters:
Tobject type to create.

Definition at line 482 of file data.hpp.


Constructor & Destructor Documentation

template<class T >
ASql::Data::IndySetRefBuilder< T >::IndySetRefBuilder ( const T &  x)
inline
Parameters:
xReference to the object of type T to reference to.

Definition at line 494 of file data.hpp.


Member Function Documentation

template<class T >
virtual Index ASql::Data::IndySetRefBuilder< T >::getSqlIndex ( const size_t  index) const
inlineprivatevirtual

Just returns an index to data.

Implements ASql::Data::Set.

Definition at line 489 of file data.hpp.

References ASql::Data::IndySetRefBuilder< T >::data.

template<class T >
virtual size_t ASql::Data::IndySetRefBuilder< T >::numberOfSqlElements ( ) const
inlineprivatevirtual

Returns 1 as it is an individual container.

Implements ASql::Data::Set.

Definition at line 487 of file data.hpp.


Member Data Documentation

template<class T >
const T& ASql::Data::IndySetRefBuilder< T >::data
private

Object of type T that the Set is wrapped around. This is your object.

Definition at line 485 of file data.hpp.

Referenced by ASql::Data::IndySetRefBuilder< T >::getSqlIndex().


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