56 template<
typename T,
class U_POOL, AkUInt32 uGrowBy = 1 >
66 template<
typename T,
class U_POOL, AkUInt32 uGrowBy >
71 while (itA != in_A.
End() && itB != in_B.
End())
86 template<
typename T,
class U_POOL, AkUInt32 uGrowBy >
95 template<
typename T,
class U_POOL, AkUInt32 uGrowBy >
100 while (itA != in_A.
End() && itB != in_B.
End())
106 else if (*itA < *itB)
113 return (itA == in_A.
End());
119 template<
typename T,
class U_POOL, AkUInt32 uGrowBy >
125 while (itA != in_A.
End() && itB != in_B.
End())
129 ++uSize; ++itA; ++itB;
131 else if (*itA < *itB)
146 template<
typename T,
class U_POOL, AkUInt32 uGrowBy >
150 itAr = itAw = in_A.
Begin();
152 while (itAr != in_A.
End())
154 if (itB == in_B.
End() || *itAr < *itB)
162 else if (*itAr == *itB)
179 template<
typename T,
class U_POOL, AkUInt32 uGrowBy >
183 itAr = itAw = in_A.
Begin();
185 while (itAr != in_A.
End() && itB != in_B.
End())
196 else if (*itAr < *itB)
212 template<
typename T,
class U_POOL, AkUInt32 uGrowBy >
219 while (itA != in_A.
End() && itB != in_B.
End())
228 else if (*itA < *itB)
244 template<
typename T,
class U_POOL, AkUInt32 uGrowBy >
250 if (result.
Resize(uSizeNeeded))
256 while (itB != in_B.
End() || itA != io_A.
End())
258 if ( itB != in_B.
End() && (itA == io_A.
End() || *itB < *itA))
263 else if (itB == in_B.
End() || *itA < *itB)
290 template<
typename T,
class U_POOL, AkUInt32 uGrowBy >
312 template<
typename T,
class U_POOL, AkUInt32 uGrowBy >
323 template<
typename T,
class U_POOL, AkUInt32 uGrowBy >
346 template<
typename T,
class U_POOL, AkUInt32 uGrowBy >
The operation was successful.
AKRESULT Copy(const AkArray< T, const T &, U_POOL, TGrowBy, AkAssignmentMovePolicy< T > > &in_rSource)
AkForceInline AkUInt32 Length() const
Returns the numbers of items in the array.
AkSet< AkUniqueID, ArrayPoolDefault > AkUniqueIDSet
static bool AkIsSubset(const AkSet< T, U_POOL, uGrowBy > &in_A, const AkSet< T, U_POOL, uGrowBy > &in_B)
static AkForceInline T & Get(T &in_item)
static bool AkIntersection(AkSet< T, U_POOL, uGrowBy > &in_A, const AkSet< T, U_POOL, uGrowBy > &in_B)
Iterator End() const
Returns the iterator to the end of the array.
static bool AkContains(const AkSet< T, U_POOL, uGrowBy > &in_Set, AkSetType in_type, T in_item)
static bool AkDisjoint(const AkSet< T, U_POOL, uGrowBy > &in_A, const AkSet< T, U_POOL, uGrowBy > &in_B)
static bool AkUnion(AkSet< T, U_POOL, uGrowBy > &io_A, const AkSet< T, U_POOL, uGrowBy > &in_B)
Iterator Begin() const
Returns the iterator to the first item of the array, will be End() if the array is empty.
void Transfer(AkArray< T, const T &, U_POOL, TGrowBy, AkAssignmentMovePolicy< T > > &in_rSource)
static bool AkSubtraction(AkSet< T, U_POOL, uGrowBy > &in_A, const AkSet< T, U_POOL, uGrowBy > &in_B)
static bool AkIntersect(const AkSet< T, U_POOL, uGrowBy > &in_A, const AkSet< T, U_POOL, uGrowBy > &in_B)
void RemoveAll()
Removes all items in the array.
bool Resize(AkUInt32 in_uiSize)
Resize the array to the specified size.
bool Contains(T in_item) const
T * Exists(T in_key) const
void Term()
Term the array. Must be called before destroying the object.
static AkUInt32 AkCountIntersection(const AkSet< T, U_POOL, uGrowBy > &in_A, const AkSet< T, U_POOL, uGrowBy > &in_B)