TAssociationArray< K, O > Class Template Reference
[Template Containers]

Association Array template definition. More...

#include <tassociation.h>

Inheritance diagram for TAssociationArray< K, O >:
Inheritance graph
[legend]

Public Member Functions

 TAssociationArray ()
TAssociationArray< K, O > & operator= (const TAssociationArray< K, O > &t)
bool addKeyAndObject (const K &key, const O &object)
bool insertKeyAndObject (int32 atIndex, const K &key, const O &object)
bool removeKeyAndObject (const K &key)
bool setKeyAndObject (const K &key, const O &object)
bool containsKeyAndObject (const K &key, const O &object)
lookupObject (const K &key) const
lookupKey (const O &object) const
int32 getObjectIndex (const O &object) const
int32 getKeyIndex (const K &key) const
bool containsKey (const K &key) const
getKey (int32 index) const
getObject (int32 index) const
void setKey (int32 index, const K &k)
void setObject (int32 index, const O &o)

Detailed Description

template<class K, class O>
class Steinberg::TAssociationArray< K, O >

Association Array template definition.

A TArray containing TAssociationArray 's.


Constructor & Destructor Documentation

TAssociationArray (  )  [inline]

Member Function Documentation

TAssociationArray<K,O>& operator= ( const TAssociationArray< K, O > &  t  )  [inline]
bool addKeyAndObject ( const K &  key,
const O &  object 
) [inline]
bool insertKeyAndObject ( int32  atIndex,
const K &  key,
const O &  object 
) [inline]
bool removeKeyAndObject ( const K &  key  )  [inline]
bool setKeyAndObject ( const K &  key,
const O &  object 
) [inline]
bool containsKeyAndObject ( const K &  key,
const O &  object 
) [inline]
O lookupObject ( const K &  key  )  const [inline]
K lookupKey ( const O &  object  )  const [inline]
int32 getObjectIndex ( const O &  object  )  const [inline]
int32 getKeyIndex ( const K &  key  )  const [inline]
bool containsKey ( const K &  key  )  const [inline]
K getKey ( int32  index  )  const [inline]
O getObject ( int32  index  )  const [inline]
void setKey ( int32  index,
const K &  k 
) [inline]
void setObject ( int32  index,
const O &  o 
) [inline]
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Empty

Copyright ©2013 Steinberg Media Technologies GmbH. All Rights Reserved.