Frontend::AbstractMap< TKey, TValue > Class Template Reference

#include <AbstractMap.h>

Inheritance diagram for Frontend::AbstractMap< TKey, TValue >:

Frontend::Object Frontend::HashMap< TKey, TValue, TTraits > Frontend::LinearMap< TKey, TValue > Frontend::Map< TKey, TValue > List of all members.

Public Member Functions

virtual TValue & operator[] (TKey key)=0
virtual void Clear ()=0
virtual void Add (TKey key, TValue value)=0
virtual void Remove (TKey key)=0
virtual bool ContainsKey (TKey key)=0
virtual bool Get (TKey key, TValue &value)=0
virtual int Count ()=0
virtual MapIterator< TKey,
TValue > 
GetIterator ()=0
void AddRef ()
 Adds a reference to the object.
void Release ()
 Releases a reference on the object.
unsigned int GetRefCount ()
 Returns the number of references on the object.

template<typename TKey, typename TValue>
class Frontend::AbstractMap< TKey, TValue >


Member Function Documentation

template<typename TKey, typename TValue>
virtual void Frontend::AbstractMap< TKey, TValue >::Add TKey  key,
TValue  value
[pure virtual]
 

Implemented in Frontend::HashMap< TKey, TValue, TTraits >, Frontend::Map< TKey, TValue >, Frontend::LinearMap< TKey, TValue >, Frontend::HashMap< Bitmap *, int >, Frontend::HashMap< int, bool >, Frontend::HashMap< String, Probe * >, Frontend::Map< ResourceType, Array< Service * > * >, Frontend::Map< ResourceType, String >, Frontend::Map< GUI::BitmapFont *, int * >, Frontend::LinearMap< String, COLLADA::Transformation * >, Frontend::LinearMap< String, SceneGraph::Controller * >, Frontend::LinearMap< String, Scene * >, Frontend::LinearMap< String, Effect * >, Frontend::LinearMap< String, Surface * >, Frontend::LinearMap< String, Node * >, Frontend::LinearMap< String, Light * >, Frontend::LinearMap< String, Image * >, Frontend::LinearMap< String, SceneGraph::Material * >, Frontend::LinearMap< String, Camera * >, Frontend::LinearMap< String, Skin * >, Frontend::LinearMap< String, String >, Frontend::LinearMap< String, AnimationSampler * >, Frontend::LinearMap< String, Sampler2D * >, Frontend::LinearMap< String, COLLADA::Attribute * >, Frontend::LinearMap< String, Mesh * >, Frontend::LinearMap< String, Geometry * >, Frontend::LinearMap< String, Channel * >, Frontend::LinearMap< String, Source * >, and Frontend::LinearMap< String, Attribute * >.

void Frontend::Object::AddRef  )  [inherited]
 

Adds a reference to the object.

Aqcuires an additional ownership on the object. The object will not be deleted until all owners have called Release() on it.

See also:
Release()

template<typename TKey, typename TValue>
virtual void Frontend::AbstractMap< TKey, TValue >::Clear  )  [pure virtual]
 

Implemented in Frontend::HashMap< TKey, TValue, TTraits >, Frontend::Map< TKey, TValue >, Frontend::LinearMap< TKey, TValue >, Frontend::HashMap< Bitmap *, int >, Frontend::HashMap< int, bool >, Frontend::HashMap< String, Probe * >, Frontend::Map< ResourceType, Array< Service * > * >, Frontend::Map< ResourceType, String >, Frontend::Map< GUI::BitmapFont *, int * >, Frontend::LinearMap< String, COLLADA::Transformation * >, Frontend::LinearMap< String, SceneGraph::Controller * >, Frontend::LinearMap< String, Scene * >, Frontend::LinearMap< String, Effect * >, Frontend::LinearMap< String, Surface * >, Frontend::LinearMap< String, Node * >, Frontend::LinearMap< String, Light * >, Frontend::LinearMap< String, Image * >, Frontend::LinearMap< String, SceneGraph::Material * >, Frontend::LinearMap< String, Camera * >, Frontend::LinearMap< String, Skin * >, Frontend::LinearMap< String, String >, Frontend::LinearMap< String, AnimationSampler * >, Frontend::LinearMap< String, Sampler2D * >, Frontend::LinearMap< String, COLLADA::Attribute * >, Frontend::LinearMap< String, Mesh * >, Frontend::LinearMap< String, Geometry * >, Frontend::LinearMap< String, Channel * >, Frontend::LinearMap< String, Source * >, and Frontend::LinearMap< String, Attribute * >.

template<typename TKey, typename TValue>
virtual bool Frontend::AbstractMap< TKey, TValue >::ContainsKey TKey  key  )  [pure virtual]
 

Implemented in Frontend::HashMap< TKey, TValue, TTraits >, Frontend::Map< TKey, TValue >, Frontend::LinearMap< TKey, TValue >, Frontend::HashMap< Bitmap *, int >, Frontend::HashMap< int, bool >, Frontend::HashMap< String, Probe * >, Frontend::Map< ResourceType, Array< Service * > * >, Frontend::Map< ResourceType, String >, Frontend::Map< GUI::BitmapFont *, int * >, Frontend::LinearMap< String, COLLADA::Transformation * >, Frontend::LinearMap< String, SceneGraph::Controller * >, Frontend::LinearMap< String, Scene * >, Frontend::LinearMap< String, Effect * >, Frontend::LinearMap< String, Surface * >, Frontend::LinearMap< String, Node * >, Frontend::LinearMap< String, Light * >, Frontend::LinearMap< String, Image * >, Frontend::LinearMap< String, SceneGraph::Material * >, Frontend::LinearMap< String, Camera * >, Frontend::LinearMap< String, Skin * >, Frontend::LinearMap< String, String >, Frontend::LinearMap< String, AnimationSampler * >, Frontend::LinearMap< String, Sampler2D * >, Frontend::LinearMap< String, COLLADA::Attribute * >, Frontend::LinearMap< String, Mesh * >, Frontend::LinearMap< String, Geometry * >, Frontend::LinearMap< String, Channel * >, Frontend::LinearMap< String, Source * >, and Frontend::LinearMap< String, Attribute * >.

template<typename TKey, typename TValue>
virtual int Frontend::AbstractMap< TKey, TValue >::Count  )  [pure virtual]
 

Implemented in Frontend::HashMap< TKey, TValue, TTraits >, Frontend::Map< TKey, TValue >, Frontend::LinearMap< TKey, TValue >, Frontend::HashMap< Bitmap *, int >, Frontend::HashMap< int, bool >, Frontend::HashMap< String, Probe * >, Frontend::Map< ResourceType, Array< Service * > * >, Frontend::Map< ResourceType, String >, Frontend::Map< GUI::BitmapFont *, int * >, Frontend::LinearMap< String, COLLADA::Transformation * >, Frontend::LinearMap< String, SceneGraph::Controller * >, Frontend::LinearMap< String, Scene * >, Frontend::LinearMap< String, Effect * >, Frontend::LinearMap< String, Surface * >, Frontend::LinearMap< String, Node * >, Frontend::LinearMap< String, Light * >, Frontend::LinearMap< String, Image * >, Frontend::LinearMap< String, SceneGraph::Material * >, Frontend::LinearMap< String, Camera * >, Frontend::LinearMap< String, Skin * >, Frontend::LinearMap< String, String >, Frontend::LinearMap< String, AnimationSampler * >, Frontend::LinearMap< String, Sampler2D * >, Frontend::LinearMap< String, COLLADA::Attribute * >, Frontend::LinearMap< String, Mesh * >, Frontend::LinearMap< String, Geometry * >, Frontend::LinearMap< String, Channel * >, Frontend::LinearMap< String, Source * >, and Frontend::LinearMap< String, Attribute * >.

template<typename TKey, typename TValue>
virtual bool Frontend::AbstractMap< TKey, TValue >::Get TKey  key,
TValue &  value
[pure virtual]
 

Implemented in Frontend::HashMap< TKey, TValue, TTraits >, Frontend::Map< TKey, TValue >, Frontend::LinearMap< TKey, TValue >, Frontend::HashMap< Bitmap *, int >, Frontend::HashMap< int, bool >, Frontend::HashMap< String, Probe * >, Frontend::Map< ResourceType, Array< Service * > * >, Frontend::Map< ResourceType, String >, Frontend::Map< GUI::BitmapFont *, int * >, Frontend::LinearMap< String, COLLADA::Transformation * >, Frontend::LinearMap< String, SceneGraph::Controller * >, Frontend::LinearMap< String, Scene * >, Frontend::LinearMap< String, Effect * >, Frontend::LinearMap< String, Surface * >, Frontend::LinearMap< String, Node * >, Frontend::LinearMap< String, Light * >, Frontend::LinearMap< String, Image * >, Frontend::LinearMap< String, SceneGraph::Material * >, Frontend::LinearMap< String, Camera * >, Frontend::LinearMap< String, Skin * >, Frontend::LinearMap< String, String >, Frontend::LinearMap< String, AnimationSampler * >, Frontend::LinearMap< String, Sampler2D * >, Frontend::LinearMap< String, COLLADA::Attribute * >, Frontend::LinearMap< String, Mesh * >, Frontend::LinearMap< String, Geometry * >, Frontend::LinearMap< String, Channel * >, Frontend::LinearMap< String, Source * >, and Frontend::LinearMap< String, Attribute * >.

template<typename TKey, typename TValue>
virtual MapIterator<TKey, TValue> Frontend::AbstractMap< TKey, TValue >::GetIterator  )  [pure virtual]
 

Implemented in Frontend::HashMap< TKey, TValue, TTraits >, Frontend::Map< TKey, TValue >, Frontend::LinearMap< TKey, TValue >, Frontend::HashMap< Bitmap *, int >, Frontend::HashMap< int, bool >, Frontend::HashMap< String, Probe * >, Frontend::Map< ResourceType, Array< Service * > * >, Frontend::Map< ResourceType, String >, Frontend::Map< GUI::BitmapFont *, int * >, Frontend::LinearMap< String, COLLADA::Transformation * >, Frontend::LinearMap< String, SceneGraph::Controller * >, Frontend::LinearMap< String, Scene * >, Frontend::LinearMap< String, Effect * >, Frontend::LinearMap< String, Surface * >, Frontend::LinearMap< String, Node * >, Frontend::LinearMap< String, Light * >, Frontend::LinearMap< String, Image * >, Frontend::LinearMap< String, SceneGraph::Material * >, Frontend::LinearMap< String, Camera * >, Frontend::LinearMap< String, Skin * >, Frontend::LinearMap< String, String >, Frontend::LinearMap< String, AnimationSampler * >, Frontend::LinearMap< String, Sampler2D * >, Frontend::LinearMap< String, COLLADA::Attribute * >, Frontend::LinearMap< String, Mesh * >, Frontend::LinearMap< String, Geometry * >, Frontend::LinearMap< String, Channel * >, Frontend::LinearMap< String, Source * >, and Frontend::LinearMap< String, Attribute * >.

unsigned int Frontend::Object::GetRefCount  )  [inline, inherited]
 

Returns the number of references on the object.

Returns:
The number of references on the object.

template<typename TKey, typename TValue>
virtual TValue& Frontend::AbstractMap< TKey, TValue >::operator[] TKey  key  )  [pure virtual]
 

Implemented in Frontend::HashMap< TKey, TValue, TTraits >, Frontend::Map< TKey, TValue >, Frontend::LinearMap< TKey, TValue >, Frontend::HashMap< Bitmap *, int >, Frontend::HashMap< int, bool >, Frontend::HashMap< String, Probe * >, Frontend::Map< ResourceType, Array< Service * > * >, Frontend::Map< ResourceType, String >, Frontend::Map< GUI::BitmapFont *, int * >, Frontend::LinearMap< String, COLLADA::Transformation * >, Frontend::LinearMap< String, SceneGraph::Controller * >, Frontend::LinearMap< String, Scene * >, Frontend::LinearMap< String, Effect * >, Frontend::LinearMap< String, Surface * >, Frontend::LinearMap< String, Node * >, Frontend::LinearMap< String, Light * >, Frontend::LinearMap< String, Image * >, Frontend::LinearMap< String, SceneGraph::Material * >, Frontend::LinearMap< String, Camera * >, Frontend::LinearMap< String, Skin * >, Frontend::LinearMap< String, String >, Frontend::LinearMap< String, AnimationSampler * >, Frontend::LinearMap< String, Sampler2D * >, Frontend::LinearMap< String, COLLADA::Attribute * >, Frontend::LinearMap< String, Mesh * >, Frontend::LinearMap< String, Geometry * >, Frontend::LinearMap< String, Channel * >, Frontend::LinearMap< String, Source * >, and Frontend::LinearMap< String, Attribute * >.

void Frontend::Object::Release  )  [inherited]
 

Releases a reference on the object.

If you are an owner of an object, use this function to release it when you are done with it. The object will not be deleted until all owners have called Release() on it.

template<typename TKey, typename TValue>
virtual void Frontend::AbstractMap< TKey, TValue >::Remove TKey  key  )  [pure virtual]
 

Implemented in Frontend::HashMap< TKey, TValue, TTraits >, Frontend::Map< TKey, TValue >, Frontend::LinearMap< TKey, TValue >, Frontend::HashMap< Bitmap *, int >, Frontend::HashMap< int, bool >, Frontend::HashMap< String, Probe * >, Frontend::Map< ResourceType, Array< Service * > * >, Frontend::Map< ResourceType, String >, Frontend::Map< GUI::BitmapFont *, int * >, Frontend::LinearMap< String, COLLADA::Transformation * >, Frontend::LinearMap< String, SceneGraph::Controller * >, Frontend::LinearMap< String, Scene * >, Frontend::LinearMap< String, Effect * >, Frontend::LinearMap< String, Surface * >, Frontend::LinearMap< String, Node * >, Frontend::LinearMap< String, Light * >, Frontend::LinearMap< String, Image * >, Frontend::LinearMap< String, SceneGraph::Material * >, Frontend::LinearMap< String, Camera * >, Frontend::LinearMap< String, Skin * >, Frontend::LinearMap< String, String >, Frontend::LinearMap< String, AnimationSampler * >, Frontend::LinearMap< String, Sampler2D * >, Frontend::LinearMap< String, COLLADA::Attribute * >, Frontend::LinearMap< String, Mesh * >, Frontend::LinearMap< String, Geometry * >, Frontend::LinearMap< String, Channel * >, Frontend::LinearMap< String, Source * >, and Frontend::LinearMap< String, Attribute * >.


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