Public Types | |
typedef T | value_type |
The type of each element. More... | |
typedef T & | reference |
Type for a reference to an element. More... | |
typedef T const & | const_reference |
Type for a constant reference to an element. More... | |
typedef _ptr_eo_array_iterator< T const > | const_iterator |
Type for a iterator for this container. More... | |
typedef _ptr_eo_array_iterator< T > | iterator |
Type for a constant iterator for this container. More... | |
typedef T * | pointer |
Type for a pointer to an element. More... | |
typedef T const * | const_pointer |
Type for a constant pointer for an element. More... | |
typedef _base_type::size_type | size_type |
Type for size information used in the array. More... | |
typedef _base_type::difference_type | difference_type |
Type to represent the distance between two iterators. More... | |
typedef _base_type::clone_allocator_type | clone_allocator_type |
typedef std::reverse_iterator< iterator > | reverse_iterator |
Type for the clone allocator. More... | |
typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
Type for reverse iterator for this container. More... | |
typedef _base_type::native_handle_type | native_handle_type |
Type for the native handle of the container. More... | |
Public Member Functions | |
array (native_handle_type handle) | |
array (clone_allocator_type alloc) | |
array (size_type n, const_reference t) | |
template<typename InputIterator > | |
array (InputIterator i, InputIterator const &j, clone_allocator_type const &alloc=clone_allocator_type(), typename eina::enable_if<!eina::is_integral< InputIterator >::value >::type *=0) | |
array (array< T, CloneAllocator > const &other) | |
template<typename CloneAllocator1 > | |
array (array< T, CloneAllocator1 >const &other) | |
array< T, CloneAllocator > & | operator= (array< T, CloneAllocator >const &other) |
void | push_back (const_reference w) |
iterator | insert (iterator i, value_type const &t) |
iterator | insert (iterator i, size_t n, value_type const &t) |
template<typename InputIterator > | |
iterator | insert (iterator p, InputIterator i, InputIterator j, typename eina::enable_if<!eina::is_integral< InputIterator >::value >::type *=0) |
iterator | erase (iterator p) |
iterator | erase (iterator i, iterator j) |
template<typename InputIterator > | |
void | assign (InputIterator i, InputIterator j, typename eina::enable_if<!eina::is_integral< InputIterator >::value >::type *=0) |
void | assign (size_type n, value_type const &t) |
reference | front () |
reference | back () |
const_reference | front () const |
const_reference | back () const |
const_reference | operator[] (size_type n) const |
reference | operator[] (size_type n) |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
reverse_iterator | rbegin () |
reverse_iterator | rend () |
const_reverse_iterator | rbegin () const |
const_reverse_iterator | rend () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
const_reverse_iterator | crbegin () const |
const_reverse_iterator | crend () const |
eina::iterator< value_type > | ibegin () |
eina::iterator< value_type > | iend () |
eina::iterator< value_type const > | ibegin () const |
eina::iterator< value_type const > | iend () const |
eina::iterator< value_type const > | cibegin () const |
eina::iterator< value_type const > | ciend () const |
void | clear () |
Remove all the elements of the array. | |
std::size_t | size () const |
Get the current size of the array. More... | |
bool | empty () const |
Check if the array is empty. More... | |
clone_allocator_type | get_clone_allocator () const |
Get the clone allocator of the array. More... | |
void | pop_back () |
Remove the last element of the array. | |
void | swap (ptr_array< T, CloneAllocator > &other) |
Swap content between two arrays. More... | |
size_type | max_size () const |
Get the maximum number of elements ptr_array can hold. More... | |
Eina_Array * | release_native_handle () |
Eina_Array * | native_handle () |
Get a handle for the wrapped Eina_Array. More... | |
Eina_Array const * | native_handle () const |
Get a constant handle for the wrapped Eina_Array. More... | |
Friends | |
bool | operator== (array< T, CloneAllocator > const &lhs, array< T, CloneAllocator > const &rhs) |
typedef T efl::eina::array< T, CloneAllocator, typename std::enable_if< ::efl::eo::is_eolian_object< T >::value >::type >::value_type |
The type of each element.
typedef T& efl::eina::array< T, CloneAllocator, typename std::enable_if< ::efl::eo::is_eolian_object< T >::value >::type >::reference |
Type for a reference to an element.
typedef T const& efl::eina::array< T, CloneAllocator, typename std::enable_if< ::efl::eo::is_eolian_object< T >::value >::type >::const_reference |
Type for a constant reference to an element.
typedef _ptr_eo_array_iterator<T const> efl::eina::array< T, CloneAllocator, typename std::enable_if< ::efl::eo::is_eolian_object< T >::value >::type >::const_iterator |
Type for a iterator for this container.
typedef _ptr_eo_array_iterator<T> efl::eina::array< T, CloneAllocator, typename std::enable_if< ::efl::eo::is_eolian_object< T >::value >::type >::iterator |
Type for a constant iterator for this container.
typedef T* efl::eina::array< T, CloneAllocator, typename std::enable_if< ::efl::eo::is_eolian_object< T >::value >::type >::pointer |
Type for a pointer to an element.
typedef T const* efl::eina::array< T, CloneAllocator, typename std::enable_if< ::efl::eo::is_eolian_object< T >::value >::type >::const_pointer |
Type for a constant pointer for an element.
typedef _base_type::size_type efl::eina::array< T, CloneAllocator, typename std::enable_if< ::efl::eo::is_eolian_object< T >::value >::type >::size_type |
Type for size information used in the array.
typedef _base_type::difference_type efl::eina::array< T, CloneAllocator, typename std::enable_if< ::efl::eo::is_eolian_object< T >::value >::type >::difference_type |
Type to represent the distance between two iterators.
typedef std::reverse_iterator<iterator> efl::eina::array< T, CloneAllocator, typename std::enable_if< ::efl::eo::is_eolian_object< T >::value >::type >::reverse_iterator |
Type for the clone allocator.
Type for reverse iterator for this container.
typedef std::reverse_iterator<const_iterator> efl::eina::array< T, CloneAllocator, typename std::enable_if< ::efl::eo::is_eolian_object< T >::value >::type >::const_reverse_iterator |
Type for reverse iterator for this container.
typedef _base_type::native_handle_type efl::eina::array< T, CloneAllocator, typename std::enable_if< ::efl::eo::is_eolian_object< T >::value >::type >::native_handle_type |
Type for the native handle of the container.
|
inline |
Get the current size of the array.
This member function returns the current number of elements inside the array.
|
inline |
Check if the array is empty.
true
if the array is empty, false
otherwise.This member function returns true
if the array does not contain any elements, otherwise it returns false
.
|
inline |
Get the clone allocator of the array.
|
inline |
Swap content between two arrays.
other | Other ptr_array of the same type. |
|
inline |
|
inline |
Get a handle for the wrapped Eina_Array.
This member function returns the native Eina_Array handle that is wrapped inside this object.
|
inline |
Get a constant handle for the wrapped Eina_Array.
Version of native_handle() for const-qualified objects. Returns a constant handle instead.