#include <Container.hpp>
Public Types | |
typedef const T * | constPtr |
Static Public Member Functions | |
static bool | CompareArray (const T *array1, const T *array2, const size_t &commonSize) |
Compare array The type must have a defined "== operator". | |
static void | Copy (T &dest, const T &src) |
static void | CopyArray (T *&dest, const T *src, size_t &destSize, const size_t &srcSize) |
static void | CopyArray (T *dest, const T *src, const size_t &destSize, const size_t &srcSize) |
static T & | DefaultElement () |
static void | DeleteArray (const T *array, const size_t ¤tSize) |
static T * | Insert (const T *array, const size_t ¤tSize, const size_t &newSize, const size_t &index, const T &elementToInsert) |
static T * | NonDestructiveAlloc (const T *array, const size_t ¤tSize, const size_t &newSize, const T &fillWith) |
static size_t | ReverseSearch (const T *array, const size_t &arraySize, const T &valueToLookFor) |
This method search for the last element that match the given element and returns arraySize if not found The type must have a defined "== operator". | |
static size_t | Search (const T *array, const size_t &arraySize, const T &valueToLookFor) |
This method search for the given element and returns arraySize if not found The type must have a defined "== operator". |
typedef const T* Container::WithCopyConstructorPolicy::SimplerMemoryPolicy< T >::constPtr |
static bool Container::WithCopyConstructorPolicy::SimplerMemoryPolicy< T >::CompareArray | ( | const T * | array1, | |
const T * | array2, | |||
const size_t & | commonSize | |||
) | [inline, static] |
Compare array The type must have a defined "== operator".
static void Container::WithCopyConstructorPolicy::SimplerMemoryPolicy< T >::Copy | ( | T & | dest, | |
const T & | src | |||
) | [inline, static] |
static void Container::WithCopyConstructorPolicy::SimplerMemoryPolicy< T >::CopyArray | ( | T *& | dest, | |
const T * | src, | |||
size_t & | destSize, | |||
const size_t & | srcSize | |||
) | [inline, static] |
static void Container::WithCopyConstructorPolicy::SimplerMemoryPolicy< T >::CopyArray | ( | T * | dest, | |
const T * | src, | |||
const size_t & | destSize, | |||
const size_t & | srcSize | |||
) | [inline, static] |
static T& Container::WithCopyConstructorPolicy::SimplerMemoryPolicy< T >::DefaultElement | ( | ) | [inline, static] |
static void Container::WithCopyConstructorPolicy::SimplerMemoryPolicy< T >::DeleteArray | ( | const T * | array, | |
const size_t & | currentSize | |||
) | [inline, static] |
static T* Container::WithCopyConstructorPolicy::SimplerMemoryPolicy< T >::Insert | ( | const T * | array, | |
const size_t & | currentSize, | |||
const size_t & | newSize, | |||
const size_t & | index, | |||
const T & | elementToInsert | |||
) | [inline, static] |
static T* Container::WithCopyConstructorPolicy::SimplerMemoryPolicy< T >::NonDestructiveAlloc | ( | const T * | array, | |
const size_t & | currentSize, | |||
const size_t & | newSize, | |||
const T & | fillWith | |||
) | [inline, static] |
static size_t Container::WithCopyConstructorPolicy::SimplerMemoryPolicy< T >::ReverseSearch | ( | const T * | array, | |
const size_t & | arraySize, | |||
const T & | valueToLookFor | |||
) | [inline, static] |
This method search for the last element that match the given element and returns arraySize if not found The type must have a defined "== operator".
static size_t Container::WithCopyConstructorPolicy::SimplerMemoryPolicy< T >::Search | ( | const T * | array, | |
const size_t & | arraySize, | |||
const T & | valueToLookFor | |||
) | [inline, static] |
This method search for the given element and returns arraySize if not found The type must have a defined "== operator".