#include <OW_Array.hpp>
Inheritance diagram for OW_NAMESPACE::Array< T >:
Public Types | |
typedef V::value_type | value_type |
typedef V::pointer | pointer |
typedef V::const_pointer | const_pointer |
typedef V::iterator | iterator |
typedef V::const_iterator | const_iterator |
typedef V::reference | reference |
typedef V::const_reference | const_reference |
typedef V::size_type | size_type |
typedef V::difference_type | difference_type |
typedef V::reverse_iterator | reverse_iterator |
typedef V::const_reverse_iterator | const_reverse_iterator |
Public Member Functions | |
Array () | |
~Array () | |
Array (V *toWrap) | |
Array (size_type n, const T &value) | |
Array (int n, const T &value) | |
Array (long n, const T &value) | |
Array (size_type n) | |
template<class InputIterator> | |
Array (InputIterator first, InputIterator last) | |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
size_type | size () const |
size_type | max_size () const |
size_type | capacity () const |
bool | empty () const |
reference | operator[] (size_type n) |
const_reference | operator[] (size_type n) const |
Array< T > & | operator+= (const T &x) |
void | reserve (size_type n) |
reference | front () |
const_reference | front () const |
reference | back () |
const_reference | back () const |
void | push_back (const T &x) |
void | append (const T &x) |
void | swap (Array< T > &x) |
iterator | insert (iterator position, const T &x) |
void | insert (size_type position, const T &x) |
void | remove (size_type index) |
void | remove (size_type begin, size_type end) |
template<class InputIterator> | |
void | insert (iterator position, InputIterator first, InputIterator last) |
void | appendArray (const Array< T > &x) |
void | pop_back () |
iterator | erase (iterator position) |
iterator | erase (iterator first, iterator last) |
void | resize (size_type new_size, const T &x) |
void | resize (size_type new_size) |
void | clear () |
Private Types | |
typedef std::vector< T, std::allocator< T > > | V |
Private Member Functions | |
void | checkValidIndex (size_type index) const |
Private Attributes | |
COWReference< V > | m_impl |
Friends | |
bool | operator== (const Array< T > &x, const Array< T > &y) |
bool | operator< (const Array< T > &x, const Array< T > &y) |
It also adds valid range checks to operator[] if OW_CHECK_ARRAY_INDEXING is defined.
Invariants: See std::vector<> Thread safety: read Copy semantics: Copy On Write Exception safety: same as std::vector<T>
Definition at line 60 of file OW_Array.hpp.
|
Definition at line 80 of file OW_Array.hpp. |
|
Definition at line 78 of file OW_Array.hpp. |
|
Reimplemented in OW_NAMESPACE::Stack< T >. Definition at line 82 of file OW_Array.hpp. |
|
Definition at line 86 of file OW_Array.hpp. |
|
Definition at line 84 of file OW_Array.hpp. |
|
Definition at line 79 of file OW_Array.hpp. |
|
Definition at line 77 of file OW_Array.hpp. |
|
Reimplemented in OW_NAMESPACE::Stack< T >. Definition at line 81 of file OW_Array.hpp. |
|
Definition at line 85 of file OW_Array.hpp. |
|
Reimplemented in OW_NAMESPACE::Stack< T >. Definition at line 83 of file OW_Array.hpp. |
|
Definition at line 62 of file OW_Array.hpp. |
|
Definition at line 76 of file OW_Array.hpp. |
|
Definition at line 46 of file OW_ArrayImpl.hpp. |
|
Definition at line 52 of file OW_ArrayImpl.hpp. |
|
Definition at line 57 of file OW_ArrayImpl.hpp. |
|
Definition at line 63 of file OW_ArrayImpl.hpp. |
|
Definition at line 69 of file OW_ArrayImpl.hpp. |
|
Definition at line 75 of file OW_ArrayImpl.hpp. |
|
Definition at line 81 of file OW_ArrayImpl.hpp. |
|
Definition at line 88 of file OW_ArrayImpl.hpp. |
|
|
Definition at line 306 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::begin(), OW_NAMESPACE::Array< T >::end(), and OW_NAMESPACE::Array< T >::insert(). Referenced by OW_NAMESPACE::ProviderManager::getIndicationExportProviders(), and OW_NAMESPACE::ProviderManager::getPolledProviders(). |
|
Definition at line 235 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::m_impl. |
|
Definition at line 228 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::m_impl. Referenced by OW_NAMESPACE::Stack< T >::top(). |
|
Definition at line 102 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::m_impl. |
|
|
Definition at line 165 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::m_impl. |
|
Definition at line 360 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::size(), and OW_NAMESPACE::throwArrayOutOfBoundsException(). Referenced by OW_NAMESPACE::Array< T >::operator[](), and OW_NAMESPACE::Array< T >::remove(). |
|
|
|
Definition at line 116 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::m_impl. |
|
|
Definition at line 327 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::m_impl. |
|
Definition at line 320 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::m_impl. Referenced by OW_NAMESPACE::AssocDb::deleteEntry(), and OW_NAMESPACE::CIMClass::toMOF(). |
|
Definition at line 221 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::m_impl. |
|
Definition at line 214 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::m_impl. |
|
Definition at line 299 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::m_impl. |
|
Definition at line 270 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::m_impl. |
|
|
Definition at line 158 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::m_impl. |
|
Definition at line 199 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::m_impl. |
|
Definition at line 189 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::checkValidIndex(), and OW_NAMESPACE::Array< T >::m_impl. |
|
Definition at line 179 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::checkValidIndex(), and OW_NAMESPACE::Array< T >::m_impl. |
|
Definition at line 313 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::m_impl. Referenced by OW_NAMESPACE::Stack< T >::pop(). |
|
|
Definition at line 130 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::m_impl. |
|
Definition at line 123 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::m_impl. |
|
Definition at line 287 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::checkValidIndex(), and OW_NAMESPACE::Array< T >::m_impl. |
|
|
Definition at line 144 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::m_impl. |
|
Definition at line 137 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::m_impl. |
|
Definition at line 207 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::m_impl. Referenced by OW_NAMESPACE::Select::select(), and OW_NAMESPACE::WQLSelectStatement::WQLSelectStatement(). |
|
Definition at line 341 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::m_impl. |
|
Definition at line 334 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::m_impl. Referenced by OW_NAMESPACE::Exec::processInputOutput(). |
|
|
Definition at line 256 of file OW_ArrayImpl.hpp. References OW_NAMESPACE::Array< T >::m_impl, and OW_NAMESPACE::COWReference< T >::swap(). Referenced by OW_NAMESPACE::swap(). |
|
|
|
|
|