fastcgi++
|
Wraps a Set object around a pointer to an individual object of type T. More...
#include <data.hpp>
Public Member Functions | |
IndySetPtrBuilder () | |
Default constructor set's the pointer to null. | |
IndySetPtrBuilder (const T &x) | |
Set the pointer to the address of the object referenced to by x. | |
IndySetPtrBuilder (IndySetPtrBuilder &x) | |
void | set (const T &data) |
Set the pointer to the address of the object referenced to by x. | |
void | clear () |
Set the pointer to null. | |
operator bool () const | |
Return true if the pointer is not null. |
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 * | m_data |
Object of type T that the Set is wrapped around. This is your object. |
Wraps a Set object around a pointer to an individual object of type T.
T | object type to create. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivatevirtual |
|
inlineprivatevirtual |
Returns 1 as it is an individual container.
Implements ASql::Data::Set.
|
inline |
|
inline |
Set the pointer to the address of the object referenced to by x.
Definition at line 521 of file data.hpp.
Referenced by ASql::Data::IndySTLSetContainer< T >::manufacture(), and ASql::Data::IndySTLSetContainer< T >::pull().
|
private |
Object of type T that the Set is wrapped around. This is your object.
Definition at line 504 of file data.hpp.
Referenced by ASql::Data::IndySetPtrBuilder< typename T::value_type >::clear(), ASql::Data::IndySetPtrBuilder< typename T::value_type >::getSqlIndex(), ASql::Data::IndySetPtrBuilder< typename T::value_type >::operator bool(), and ASql::Data::IndySetPtrBuilder< typename T::value_type >::set().