AutoList< T, Deallocator > Class Template Reference

Provides pointer management for lists. More...

List of all members.

Public Member Functions

 AutoList ()
 Constructor.
void DeleteClear ()
 Clear the contents of the list and delete them.
 ~AutoList ()
 Destructor.

Detailed Description

template<class T, typename Deallocator = AutoPtr_DefaultDeallocator<T>>
class Simba::Support::AutoList< T, Deallocator >

Provides pointer management for lists.

Wraps the owned pointers to guarantee their automatic deletion when the list goes out of scope.

This list should only be used with pointer types, and will automatically delete the contained pointers when the list goes out of scope.

Protect against using NULL contained pointers with asserts to catch programmer errors, but depend on callers using the new operator to throw exceptions on failure at runtime.

Here are some guidelines for using the AutoList.


Constructor & Destructor Documentation

AutoList (  )  [inline, explicit]

Constructor.

~AutoList (  )  [inline]

Destructor.


Member Function Documentation

void DeleteClear (  )  [inline]

Clear the contents of the list and delete them.


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

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