TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
CollectionTraitsVector< BASE > Struct Template Reference
Inheritance diagram for CollectionTraitsVector< BASE >:
vector< BASE::tValueType >

Public Types

enum  {
  eKeyType,
  eValType,
  eModifyContainerInvalidatesAllIterators
}
 
typedef BASE tKeyTraits
 
typedef BASE tValTraits
 
typedef BASE::tValueType tKeyType
 
typedef BASE::tValueType tValType
 
typedef astl::vector< tValTypetContainer
 
- Public Types inherited from vector< BASE::tValueType >
typedef BASE::tValueType value_type
 
typedef value_typepointer
 
typedef const value_typeconst_pointer
 
typedef value_typeiterator
 
typedef const value_typeconst_iterator
 
typedef value_typereference
 
typedef const value_typeconst_reference
 
typedef size_t size_type
 
typedef ptrdiff_t difference_type
 
typedef random_access_iterator_tag _Iterator_category
 
typedef _Vector_base
< BASE::tValueType, _Alloc >
::allocator_type 
allocator_type
 

Public Member Functions

 CollectionTraitsVector ()
 
 CollectionTraitsVector (const tContainer &c)
 
const tValTypeat (tU32 anIndex) const
 
tValTypeoperator[] (tU32 anIndex)
 
const tValTypeoperator[] (tU32 anIndex) const
 
tValTypefront ()
 
const tValTypefront () const
 
tValTypeback ()
 
const tValTypeback () const
 
- Public Member Functions inherited from vector< BASE::tValueType >
allocator_type get_allocator () const
 
__forceinline iterator begin ()
 
__forceinline const_iterator begin () const
 
__forceinline iterator end ()
 
__forceinline const_iterator end () const
 
__forceinline iterator itat (size_type aIndex)
 
__forceinline const_iterator itat (size_type aIndex) const
 
__forceinline reverse_iterator rbegin ()
 
__forceinline
const_reverse_iterator 
rbegin () const
 
__forceinline reverse_iterator rend ()
 
__forceinline
const_reverse_iterator 
rend () const
 
__forceinline size_type size () const
 
__forceinline size_type max_size () const
 
__forceinline size_type capacity () const
 
__forceinline bool empty () const
 
__forceinline reference operator[] (size_type __n)
 
__forceinline const_reference operator[] (size_type __n) const
 
__forceinline reference front ()
 
__forceinline const_reference front () const
 
__forceinline reference back ()
 
__forceinline const_reference back () const
 
__noinline reference at (size_type __n)
 
__noinline const_reference at (size_type __n) const
 
__forceinline reference top ()
 
__forceinline const_reference top () const
 
__forceinline void insert_at (unsigned int idx, const BASE::tValueType &val)
 
__forceinline void remove_at (unsigned int idx)
 
__noinline vector (const allocator_type &__a=allocator_type())
 
__noinline vector (size_type __n, const BASE::tValueType &__val, const allocator_type &__a=allocator_type())
 
__noinline vector (size_type __n)
 
__noinline vector (const vector< BASE::tValueType, _Alloc > &__x)
 
__noinline vector (const BASE::tValueType *__first, const BASE::tValueType *__last, const allocator_type &__a=allocator_type())
 
__noinline ~vector ()
 
__noinline vector
< BASE::tValueType, _Alloc > & 
operator= (const vector< BASE::tValueType, _Alloc > &__x)
 
__noinline void reserve (size_type __n)
 
void assign (size_type __n, const BASE::tValueType &__val)
 
void assign (const_iterator __first, const_iterator __last)
 
__forceinline BASE::tValueType & push_back (const BASE::tValueType &__x)
 
reference push_back ()
 
__noinline void swap (vector< BASE::tValueType, _Alloc > &__x)
 
__noinline iterator insert (iterator __position, const BASE::tValueType &__x)
 
iterator insert (iterator __position)
 
void insert (iterator __position, const_iterator __first, const_iterator __last)
 
void insert (iterator __pos, size_type __n, const BASE::tValueType &__x)
 
__forceinline void pop_back ()
 
__noinline iterator erase (iterator __position)
 
__noinline iterator erase (iterator __first, iterator __last)
 
__noinline void resize (size_type __new_size, const BASE::tValueType &__x)
 
__forceinline void resize (size_type __new_size)
 
__forceinline void clear ()
 

Static Public Member Functions

static tContainer::iterator Find (const tContainer &aContainer, const tValType &aVal)
 
static tBool Reserve (tContainer &aContainer, tU32 anNumElements)
 
static tBool Resize (tContainer &aContainer, tU32 anNumElements)
 
static tBool CanPut (const Var &aKey, const Var &aValue)
 
static tBool Put (tContainer &aContainer, const Var &aKey, const Var &aValue)
 
static Var Get (const tContainer &aContainer, const Var &aKey)
 
static Var GetFirst (const tContainer &aContainer)
 
static tBool SetFirst (tContainer &aContainer, const Var &aValue)
 
static Var GetLast (const tContainer &aContainer)
 
static tBool SetLast (tContainer &aContainer, const Var &aValue)
 
static void AddValue (tContainer &aContainer, const tValType &aV)
 
static void Add (tContainer &aContainer, const Var &aVar)
 
static tBool RemoveFirst (tContainer &aContainer)
 
static tBool RemoveLast (tContainer &aContainer)
 
static tPtr GetDataPtr (const tContainer &aContainer)
 
static tSize GetDataSize (const tContainer &aContainer)
 
static void GetIterator (const tContainer &aContainer, const typename tContainer::const_iterator &aIt, Var &aKey, Var &aVal)
 

Additional Inherited Members

- Public Attributes inherited from vector< BASE::tValueType >
 ASTL_DECLARE_RANDOM_ACCESS_REVERSE_ITERATORS
 
- Protected Types inherited from vector< BASE::tValueType >
typedef __type_traits
< BASE::tValueType >
::has_trivial_assignment_operator 
_TrivialAss
 
typedef __type_traits
< BASE::tValueType >
::has_trivial_assignment_operator 
_IsPODType
 

Member Typedef Documentation

typedef BASE tKeyTraits
typedef BASE tValTraits
typedef BASE::tValueType tKeyType
typedef BASE::tValueType tValType

Member Enumeration Documentation

anonymous enum
Enumerator
eKeyType 
eValType 
eModifyContainerInvalidatesAllIterators 

Constructor & Destructor Documentation

Member Function Documentation

const tValType& at ( tU32  anIndex) const
tValType& operator[] ( tU32  anIndex)
const tValType& operator[] ( tU32  anIndex) const
tValType& front ( )
const tValType& front ( ) const
tValType& back ( )
const tValType& back ( ) const
static tContainer::iterator Find ( const tContainer aContainer,
const tValType aVal 
)
static
static tBool Reserve ( tContainer aContainer,
tU32  anNumElements 
)
static
static tBool Resize ( tContainer aContainer,
tU32  anNumElements 
)
static
static tBool CanPut ( const Var aKey,
const Var aValue 
)
static
static tBool Put ( tContainer aContainer,
const Var aKey,
const Var aValue 
)
static
static Var Get ( const tContainer aContainer,
const Var aKey 
)
static
static Var GetFirst ( const tContainer aContainer)
static
static tBool SetFirst ( tContainer aContainer,
const Var aValue 
)
static
static Var GetLast ( const tContainer aContainer)
static
static tBool SetLast ( tContainer aContainer,
const Var aValue 
)
static
static void AddValue ( tContainer aContainer,
const tValType aV 
)
static
static void Add ( tContainer aContainer,
const Var aVar 
)
static
static tBool RemoveFirst ( tContainer aContainer)
static
static tBool RemoveLast ( tContainer aContainer)
static
static tPtr GetDataPtr ( const tContainer aContainer)
static
static tSize GetDataSize ( const tContainer aContainer)
static
static void GetIterator ( const tContainer aContainer,
const typename tContainer::const_iterator aIt,
Var aKey,
Var aVal 
)
static