ADTF  3.18.2
cDDLAutoVec< vectorType >

This class template provides a auto deletion for DDL vector content like tDDLEnumVec, tDDLUnitVec etc. More...

Public Member Functions

 cDDLAutoVec (std::vector< vectorType * > *pSyncVec)
 CTOR. More...
 
 ~cDDLAutoVec ()
 DTOR.
 
void Reset ()
 Reset the DDL vector pointer. More...
 
void Set (std::vector< vectorType * > *pSyncVec)
 Reset the DDL vector pointer and set the given one. More...
 

Private Member Functions

void AutoDelete ()
 Deletes the current set sync pointer to an DDL Vector.
 

Private Attributes

std::vector< vectorType * > * m_pSyncVec
 

Detailed Description

template<class vectorType>
class adtf_ddl::cDDLAutoVec< vectorType >

This class template provides a auto deletion for DDL vector content like tDDLEnumVec, tDDLUnitVec etc.

Parameters
[in]vectorTypeThe Vector Type class name the auto deletion of the vector content is performed.

Definition at line 860 of file ddldescription.h.

Constructor & Destructor Documentation

◆ cDDLAutoVec()

cDDLAutoVec ( std::vector< vectorType * > *  pSyncVec)
inline

CTOR.

Parameters
[in]pSyncVecpointer to the vector is auto delete.

Definition at line 869 of file ddldescription.h.

Member Function Documentation

◆ Reset()

void Reset ( )
inline

Reset the DDL vector pointer.

Remarks
no deletion will be made at this time
Returns
void

Definition at line 886 of file ddldescription.h.

◆ Set()

void Set ( std::vector< vectorType * > *  pSyncVec)
inline

Reset the DDL vector pointer and set the given one.

Remarks
no deletion will be made at this time.
Parameters
[in]pSyncVecpointer to the vector is auto delete.
Returns
void

Definition at line 897 of file ddldescription.h.