#include <Container.hpp>
Public Types | |
| typedef const Tptr * | constPtr |
| typedef T * | Tptr |
Static Public Member Functions | |
| static bool | CompareArray (T **const array1, T **const array2, const size_t &commonSize) |
| Compare array The type must have a defined "== operator". | |
| static void | CopyArray (T **&dest, T **const src, size_t &destSize, const size_t &srcSize) |
| static void | CopyArray (T **dest, T **const src, const size_t &destSize, const size_t &srcSize) |
| static void | CopyPtr (T *&dest, T *const &src) |
| static Tptr | DefaultElement () |
| This method returns a default constructed element. | |
| static T & | DefaultSubElement () |
| This method returns a default constructed element or can throw. | |
| static void | DeleteArray (Tptr *const array, const size_t ¤tSize) |
| Delete the array. | |
| static void | DuplicateArray (T **&dest, T **const src, size_t &destSize, const size_t &srcSize) |
| static T ** | Insert (T **const array, const size_t ¤tSize, const size_t &newSize, const size_t &index, T *const &elementToInsert) |
| static T ** | NonDestructiveAlloc (T **const array, const size_t ¤tSize, const size_t &newSize, T *const &fillWith) |
| static void | Remove (T *const data) |
| Remove on item from the array. | |
| static size_t | ReverseSearch (T **const array, const size_t &arraySize, T *const &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 (T **const array, const size_t &arraySize, T *const &valueToLookFor) |
| This method search for the given element and returns arraySize if not found The type must have a defined "== operator". | |
| static size_t | SearchRef (const Tptr *array, const size_t &arraySize, const T &valueToLookFor) |
| This method search for the given element and returns arraySize if not found. | |
| typedef const Tptr* Container::WithCopyConstructorPolicy::DefaultMemoryListPolicy< T, CloneMixin >::constPtr |
| typedef T* Container::WithCopyConstructorPolicy::DefaultMemoryListPolicy< T, CloneMixin >::Tptr |
| static bool Container::WithCopyConstructorPolicy::DefaultMemoryListPolicy< T, CloneMixin >::CompareArray | ( | T **const | array1, | |
| T **const | array2, | |||
| const size_t & | commonSize | |||
| ) | [inline, static] |
Compare array The type must have a defined "== operator".
| static void Container::WithCopyConstructorPolicy::DefaultMemoryListPolicy< T, CloneMixin >::CopyArray | ( | T **& | dest, | |
| T **const | src, | |||
| size_t & | destSize, | |||
| const size_t & | srcSize | |||
| ) | [inline, static] |
| static void Container::WithCopyConstructorPolicy::DefaultMemoryListPolicy< T, CloneMixin >::CopyArray | ( | T ** | dest, | |
| T **const | src, | |||
| const size_t & | destSize, | |||
| const size_t & | srcSize | |||
| ) | [inline, static] |
| static void Container::WithCopyConstructorPolicy::DefaultMemoryListPolicy< T, CloneMixin >::CopyPtr | ( | T *& | dest, | |
| T *const & | src | |||
| ) | [inline, static] |
| static Tptr Container::WithCopyConstructorPolicy::DefaultMemoryListPolicy< T, CloneMixin >::DefaultElement | ( | ) | [inline, static] |
This method returns a default constructed element.
| static T& Container::WithCopyConstructorPolicy::DefaultMemoryListPolicy< T, CloneMixin >::DefaultSubElement | ( | ) | [inline, static] |
This method returns a default constructed element or can throw.
| static void Container::WithCopyConstructorPolicy::DefaultMemoryListPolicy< T, CloneMixin >::DeleteArray | ( | Tptr *const | array, | |
| const size_t & | currentSize | |||
| ) | [inline, static] |
Delete the array.
| static void Container::WithCopyConstructorPolicy::DefaultMemoryListPolicy< T, CloneMixin >::DuplicateArray | ( | T **& | dest, | |
| T **const | src, | |||
| size_t & | destSize, | |||
| const size_t & | srcSize | |||
| ) | [inline, static] |
| static T* * Container::WithCopyConstructorPolicy::DefaultMemoryListPolicy< T, CloneMixin >::Insert | ( | T **const | array, | |
| const size_t & | currentSize, | |||
| const size_t & | newSize, | |||
| const size_t & | index, | |||
| T *const & | elementToInsert | |||
| ) | [inline, static] |
| static T** Container::WithCopyConstructorPolicy::DefaultMemoryListPolicy< T, CloneMixin >::NonDestructiveAlloc | ( | T **const | array, | |
| const size_t & | currentSize, | |||
| const size_t & | newSize, | |||
| T *const & | fillWith | |||
| ) | [inline, static] |
| static void Container::WithCopyConstructorPolicy::DefaultMemoryListPolicy< T, CloneMixin >::Remove | ( | T *const | data | ) | [inline, static] |
Remove on item from the array.
| static size_t Container::WithCopyConstructorPolicy::DefaultMemoryListPolicy< T, CloneMixin >::ReverseSearch | ( | T **const | array, | |
| const size_t & | arraySize, | |||
| T *const & | 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::DefaultMemoryListPolicy< T, CloneMixin >::Search | ( | T **const | array, | |
| const size_t & | arraySize, | |||
| T *const & | valueToLookFor | |||
| ) | [inline, static] |
This method search for the given element and returns arraySize if not found The type must have a defined "== operator".
| static size_t Container::WithCopyConstructorPolicy::DefaultMemoryListPolicy< T, CloneMixin >::SearchRef | ( | const Tptr * | array, | |
| const size_t & | arraySize, | |||
| const T & | valueToLookFor | |||
| ) | [inline, static] |
This method search for the given element and returns arraySize if not found.
