TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
cMutableCollectionImpl< TRAITS, IMMIMPL > Class Template Reference
Inheritance diagram for cMutableCollectionImpl< TRAITS, IMMIMPL >:

Public Types

typedef cMutableCollectionImpl
< TRAITS, IMMIMPL > 
tMutable
 
typedef IMMIMPL::tImmutable tImmutable
 
typedef IMMIMPL::tKeyTraits tKeyTraits
 
typedef IMMIMPL::tValTraits tValTraits
 
typedef IMMIMPL::tKeyType tKeyType
 
typedef IMMIMPL::tValType tValType
 
typedef IMMIMPL::tContainer tContainer
 
typedef IMMIMPL::const_iterator const_iterator
 
typedef
IMMIMPL::const_reverse_iterator 
const_reverse_iterator
 
typedef tContainer::iterator iterator
 
typedef
tContainer::reverse_iterator 
reverse_iterator
 

Public Member Functions

tBool Reserve (tU32 anSize)
 
tBool Resize (tU32 anSize)
 
tBool Clear ()
 
tBool Copy (const iCollection *apCollection)
 
tBool Add (const Var &aVar)
 
tBool AddAll (const iCollection *apCollection)
 
tBool Remove (const Var &aVar)
 
tBool RemoveAll (const iCollection *apCollection)
 
tBool RemoveIterator (iIterator *apIt)
 
tBool RemoveFirst ()
 
tBool RemoveLast ()
 
sIterator_MutableIterator (const_iterator it) const
 
sIterator_MutableIterator () const
 
virtual iIteratorIterator (const_iterator it) const
 
virtual iIteratorIterator () const
 
virtual tBool Put (const Var &aKey, const Var &aValue)
 
virtual tBool SetFirst (const Var &aValue)
 
virtual tBool SetLast (const Var &aValue)
 
tPtr GetDataPtr () const
 
tSize GetDataSize () const
 
const tValType_Data () const
 
tValType_Data ()
 
void reserve (size_t newSize)
 
void resize (size_t newSize)
 
void clear ()
 
void push_back (const tValType &aV)
 
bool empty () const
 
tU32 size () const
 
iterator begin ()
 
iterator end ()
 
reverse_iterator rbegin ()
 
reverse_iterator rend ()
 
const_iterator begin () const
 
const_iterator end () const
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator rend () const
 
iterator find (const tValType &aVal)
 
__forceinline tContainerGetUnderlyingContainer ()
 

Static Public Member Functions

static cMutableCollectionImplCreate ()
 
static cMutableCollectionImplCreate (const tContainer &aContainer)
 
static cMutableCollectionImplCreate (const tImmutable *apCollection)
 

Protected Member Functions

 cMutableCollectionImpl ()
 
 cMutableCollectionImpl (const tContainer &aContainer)
 

Member Typedef Documentation

typedef cMutableCollectionImpl<TRAITS,IMMIMPL> tMutable
typedef IMMIMPL::tImmutable tImmutable
typedef IMMIMPL::tKeyTraits tKeyTraits
typedef IMMIMPL::tValTraits tValTraits
typedef IMMIMPL::tKeyType tKeyType
typedef IMMIMPL::tValType tValType
typedef IMMIMPL::tContainer tContainer
typedef IMMIMPL::const_iterator const_iterator
typedef IMMIMPL::const_reverse_iterator const_reverse_iterator
typedef tContainer::iterator iterator
typedef tContainer::reverse_iterator reverse_iterator

Constructor & Destructor Documentation

cMutableCollectionImpl ( )
protected
cMutableCollectionImpl ( const tContainer aContainer)
protected

Member Function Documentation

static cMutableCollectionImpl* Create ( )
static
static cMutableCollectionImpl* Create ( const tContainer aContainer)
static
static cMutableCollectionImpl* Create ( const tImmutable apCollection)
static
tBool Reserve ( tU32  anSize)
tBool Resize ( tU32  anSize)
tBool Clear ( )
tBool Copy ( const iCollection apCollection)
tBool Add ( const Var aVar)
tBool AddAll ( const iCollection apCollection)
tBool Remove ( const Var aVar)
tBool RemoveAll ( const iCollection apCollection)
tBool RemoveIterator ( iIterator apIt)
tBool RemoveFirst ( )
tBool RemoveLast ( )
sIterator* _MutableIterator ( const_iterator  it) const
sIterator* _MutableIterator ( ) const
virtual iIterator* Iterator ( const_iterator  it) const
virtual
virtual iIterator* Iterator ( ) const
virtual
virtual tBool Put ( const Var aKey,
const Var aValue 
)
virtual
virtual tBool SetFirst ( const Var aValue)
virtual
virtual tBool SetLast ( const Var aValue)
virtual
tPtr GetDataPtr ( ) const
tSize GetDataSize ( ) const
const tValType* _Data ( ) const
tValType* _Data ( )
void reserve ( size_t  newSize)
void resize ( size_t  newSize)
void clear ( )
void push_back ( const tValType aV)
bool empty ( ) const
tU32 size ( ) const
iterator begin ( )
iterator end ( )
reverse_iterator rbegin ( )
reverse_iterator rend ( )
const_iterator begin ( ) const
const_iterator end ( ) const
const_reverse_iterator rbegin ( ) const
const_reverse_iterator rend ( ) const
iterator find ( const tValType aVal)
__forceinline tContainer& GetUnderlyingContainer ( )
Remarks
Assumes that the underlying container will be modified, so invalidates the iterators accordingly.