SqlCDataPool Class Reference

A pool for holding SqlCData objects. More...

List of all members.

Public Member Functions

 DEPRECATED ("Use IConnection::GetSqlCDataPool()") static SqlCDataPool *GetInstance()
 Singleton accessor. This pool will use the deprecated singleton metadata factory.
AutoPtr< SqlCDataGet (simba_int16 in_type)
 Retrieve a SqlCData from the pool.
void Release (AutoPtr< SqlCData > in_data)
 Place a SqlCData back into the pool.
 SqlCDataPool (SqlCTypeMetadataFactory &in_metadataFactory)
 Constructor.
 ~SqlCDataPool ()
 Destructor.

Static Public Member Functions

static void DestroyInstance ()
 Destroying Singleton.

Detailed Description

A pool for holding SqlCData objects.

SqlCDatas retrieved from the pool can either be deleted or placed back in the pool for later use by using Replace().


Constructor & Destructor Documentation

SqlCDataPool ( SqlCTypeMetadataFactory in_metadataFactory  ) 

Constructor.

Parameters:
in_metadataFactory Factory for metadata to be used in SqlCData objects returned by this pool
~SqlCDataPool (  ) 

Destructor.


Member Function Documentation

DEPRECATED ( "Use IConnection::GetSqlCDataPool()"   )  [inline]

Singleton accessor. This pool will use the deprecated singleton metadata factory.

Returns:
The singleton instance. (NOT OWN)
static void DestroyInstance (  )  [inline, static]

Destroying Singleton.

AutoPtr<SqlCData> Get ( simba_int16  in_type  ) 

Retrieve a SqlCData from the pool.

If there are no SqlCData objects of the desired type, then one will be created.

Parameters:
in_type The type of the SqlCData to retrieve.
Returns:
The retrieved SqlCData. (OWN)
void Release ( AutoPtr< SqlCData in_data  ) 

Place a SqlCData back into the pool.

Parameters:
in_data The SqlCData object to place back in the pool. (OWN)

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

Generated on Wed May 17 14:21:19 2017 for SimbaEngine 10.1.3.1011 by simba