31 #ifndef _AK_WWISE_SOURCECONTROLCONTAINERS_H
32 #define _AK_WWISE_SOURCECONTROLCONTAINERS_H
40 namespace SourceControlContainers
56 template <
class Type,
class Arg_Type = const Type&>
60 virtual unsigned int GetCount()
const = 0;
61 virtual unsigned int GetSize()
const = 0;
62 virtual bool IsEmpty()
const = 0;
73 virtual const Type&
GetHead()
const = 0;
75 virtual const Type&
GetTail()
const = 0;
79 virtual const Type&
GetNext(
AkPos& in_rPosition )
const = 0;
81 virtual const Type&
GetPrev(
AkPos& in_rPosition )
const = 0;
83 virtual const Type&
GetAt(
AkPos in_position )
const = 0;
85 virtual void SetAt(
AkPos in_pos, Arg_Type in_newElement ) = 0;
101 template <
class Key,
class Arg_Key,
class Value,
class Arg_Value>
105 virtual unsigned int GetCount()
const = 0;
106 virtual unsigned int GetSize()
const = 0;
107 virtual bool IsEmpty()
const = 0;
109 virtual bool Lookup( Arg_Key in_key, Value& in_rValue )
const = 0;
111 virtual Value&
operator[]( Arg_Key in_key ) = 0;
112 virtual void SetAt( Arg_Key in_key, Arg_Value in_newValue ) = 0;
114 virtual bool RemoveKey( Arg_Key in_key ) = 0;
118 virtual void GetNextAssoc(
AkPos& in_rNextPosition, Key& in_rKey, Value& in_rValue )
const = 0;
124 #endif // _AK_WWISE_SOURCECONTROLCONTAINERS_H
virtual void GetNextAssoc(AkPos &in_rNextPosition, Key &in_rKey, Value &in_rValue) const =0
virtual AkPos AddHead(Arg_Type in_newElement)=0
virtual void RemoveAll()=0
virtual unsigned int GetSize() const =0
virtual Type & GetNext(AkPos &in_rPosition)=0
virtual void RemoveAll()=0
virtual unsigned int GetCount() const =0
virtual AkPos InsertAfter(AkPos in_position, Arg_Type in_newElement)=0
virtual AkPos GetTailPosition() const =0
virtual Type & GetHead()=0
virtual void RemoveTail()=0
virtual void SetAt(AkPos in_pos, Arg_Type in_newElement)=0
virtual bool IsEmpty() const =0
virtual AkPos GetHeadPosition() const =0
virtual unsigned int GetSize() const =0
virtual bool RemoveKey(Arg_Key in_key)=0
virtual Type & GetAt(AkPos in_position)=0
virtual unsigned int GetCount() const =0
virtual void SetAt(Arg_Key in_key, Arg_Value in_newValue)=0
virtual AkPos AddTail(Arg_Type in_newElement)=0
virtual Value & operator[](Arg_Key in_key)=0
virtual AkPos InsertBefore(AkPos in_position, Arg_Type in_newElement)=0
__AkPos * AkPos
Pointer to a container position.
virtual Type & GetPrev(AkPos &in_rPosition)=0
virtual Type & GetTail()=0
virtual void RemoveAt(AkPos in_position)=0
virtual bool IsEmpty() const =0
virtual AkPos GetStartPosition() const =0
virtual void RemoveHead()=0
virtual bool Lookup(Arg_Key in_key, Value &in_rValue) const =0