Go to the documentation of this file.
30 #ifndef _AK_WWISE_SOURCECONTROLCONTAINERS_H
31 #define _AK_WWISE_SOURCECONTROLCONTAINERS_H
40 namespace SourceControlContainers
58 template <
class Type,
class Arg_Type = const Type&>
62 virtual void Reserve(
size_t in_capacity) {}
63 [[deprecated(
"Use GetSize() instead.")]]
69 [[deprecated(
"Use InsertBefore(GetHeadPosition(), in_newElement) instead.")]]
70 virtual void AddHead( Arg_Type in_newElement ) = 0;
72 virtual void AddTail( Arg_Type in_newElement ) = 0;
75 [[deprecated(
"Use RemoveAt(GetHeadPosition()) instead.")]]
103 virtual const Type&
GetAt(
unsigned int in_index )
const = 0;
105 virtual void SetAt(
AkPos in_pos, Arg_Type in_newElement ) = 0;
125 template <
class Key,
class Arg_Key,
class Value,
class Arg_Value>
129 [[deprecated(
"Use GetSize() instead.")]]
134 virtual bool Lookup( Arg_Key in_key, Value& in_rValue )
const = 0;
137 virtual void SetAt( Arg_Key in_key, Arg_Value in_newValue ) = 0;
149 #endif // _AK_WWISE_SOURCECONTROLCONTAINERS_H
virtual void Reserve(size_t in_capacity)
virtual void GetNextAssoc(AkPos &in_rNextPosition, Key &in_rKey, Value &in_rValue) const =0
virtual Type & GetPrev(AkPos &in_rPosition)=0
virtual AkPos GetStartPosition() const =0
virtual AkPos InsertAfter(AkPos in_position, Arg_Type in_newElement)=0
unsigned int GetCount() const
virtual const Type & GetAt(unsigned int in_index) const =0
virtual void SetAt(AkPos in_pos, Arg_Type in_newElement)=0
virtual Type & GetNext(AkPos &in_rPosition)=0
virtual void RemoveTail()=0
virtual AkPos GetTailPosition() const =0
virtual void AddTail(Arg_Type in_newElement)=0
virtual const Type & GetAt(AkPos in_position) const =0
virtual AkPos InsertBefore(AkPos in_position, Arg_Type in_newElement)=0
virtual unsigned int GetSize() const =0
virtual const Type & GetNext(AkPos &in_rPosition) const =0
virtual Type & GetAt(AkPos in_position)=0
virtual const Type & GetHead() const =0
virtual void SetAt(Arg_Key in_key, Arg_Value in_newValue)=0
__AkPos * AkPos
Pointer to a container position.
virtual Type & GetHead()=0
virtual Value & operator[](Arg_Key in_key)=0
Type
IDs of temporary memory pools used by the sound engine.
virtual bool IsEmpty() const =0
virtual unsigned int GetSize() const =0
virtual void AddHead(Arg_Type in_newElement)=0
virtual void RemoveAt(AkPos in_position)=0
virtual Type & GetTail()=0
virtual Type & GetAt(unsigned int in_index)=0
virtual bool IsEmpty() const =0
virtual const Type & GetTail() const =0
virtual void RemoveHead()=0
virtual const Type & GetPrev(AkPos &in_rPosition) const =0
virtual void RemoveAll()=0
unsigned int GetCount() const
virtual bool Lookup(Arg_Key in_key, Value &in_rValue) const =0
virtual bool RemoveKey(Arg_Key in_key)=0
virtual void RemoveAll()=0
virtual AkPos GetHeadPosition() const =0
Tell us about your project. We're here to help.
Register your project and we'll help you get started with no strings attached!
Get started with Wwise