#include <OWBI1_Array.hpp>
Collaboration diagram for OWBI1::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 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 OWBI1_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 OWBI1_Array.hpp.
|
Definition at line 80 of file OWBI1_Array.hpp. |
|
Definition at line 78 of file OWBI1_Array.hpp. |
|
Definition at line 82 of file OWBI1_Array.hpp. |
|
Definition at line 86 of file OWBI1_Array.hpp. |
|
Definition at line 84 of file OWBI1_Array.hpp. |
|
Definition at line 79 of file OWBI1_Array.hpp. |
|
Definition at line 77 of file OWBI1_Array.hpp. |
|
Definition at line 81 of file OWBI1_Array.hpp. |
|
Definition at line 85 of file OWBI1_Array.hpp. |
|
Definition at line 83 of file OWBI1_Array.hpp. |
|
Definition at line 62 of file OWBI1_Array.hpp. |
|
Definition at line 76 of file OWBI1_Array.hpp. |
|
Definition at line 46 of file OWBI1_ArrayImpl.hpp. |
|
Definition at line 52 of file OWBI1_ArrayImpl.hpp. |
|
Definition at line 57 of file OWBI1_ArrayImpl.hpp. |
|
Definition at line 63 of file OWBI1_ArrayImpl.hpp. |
|
Definition at line 69 of file OWBI1_ArrayImpl.hpp. |
|
Definition at line 75 of file OWBI1_ArrayImpl.hpp. |
|
Definition at line 81 of file OWBI1_ArrayImpl.hpp. |
|
Definition at line 88 of file OWBI1_ArrayImpl.hpp. |
|
Definition at line 249 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::push_back(). Referenced by OWBI1::WQLCompile::_buildEvalHeap(), OWBI1::WQLCompile::_factoring(), OWBI1::WQLCompile::_gather(), OWBI1::CIMInstance::clone(), OWBI1::CIMClass::getKeys(), OWBI1::CIMClass::getMethods(), OWBI1::CIMClass::getProperties(), and OWBI1::String::tokenize(). |
|
Definition at line 306 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::begin(), OWBI1::Array< T >::end(), and OWBI1::Array< T >::insert(). |
|
Definition at line 235 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. |
|
Definition at line 228 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. |
|
Definition at line 102 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. |
|
Definition at line 95 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. Referenced by OWBI1::Array< T >::appendArray(), OWBI1::CIMInstance::createModifiedInstance(), OWBI1::getParamValue(), and OWBI1::CIMClass::toMOF(). |
|
Definition at line 165 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. |
|
Definition at line 348 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. Referenced by OWBI1::WQLSelectStatement::clear(). |
|
Definition at line 172 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. Referenced by OWBI1::WQLCompile::_gather(). |
|
Definition at line 116 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. |
|
Definition at line 109 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. Referenced by OWBI1::Array< T >::appendArray(), OWBI1::CIMInstance::createModifiedInstance(), OWBI1::getParamValue(), and OWBI1::CIMClass::toMOF(). |
|
Definition at line 327 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. |
|
Definition at line 320 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. Referenced by OWBI1::CIMClass::toMOF(). |
|
Definition at line 221 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. |
|
Definition at line 214 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. |
|
Definition at line 299 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. |
|
Definition at line 270 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. |
|
Definition at line 263 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. Referenced by OWBI1::WQLCompile::_factoring(), OWBI1::WQLCompile::_gather(), OWBI1::Array< T >::appendArray(), and OWBI1::CIMClass::toMOF(). |
|
Definition at line 158 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. |
|
Definition at line 199 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. |
|
Definition at line 189 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. |
|
Definition at line 179 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. |
|
Definition at line 313 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. |
|
|
Definition at line 130 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. |
|
Definition at line 123 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. |
|
Definition at line 287 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. |
|
Definition at line 277 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. Referenced by OWBI1::WQLCompile::_gather(), OWBI1::CIMObjectPath::syncWithClass(), and OWBI1::CIMInstance::syncWithClass(). |
|
Definition at line 144 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. |
|
Definition at line 137 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. |
|
Definition at line 207 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. Referenced by OWBI1::WQLSelectStatement::WQLSelectStatement(). |
|
Definition at line 341 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. |
|
Definition at line 334 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl. |
|
|
Definition at line 256 of file OWBI1_ArrayImpl.hpp. References OWBI1::Array< T >::m_impl, and OWBI1::COWReference< T >::swap(). Referenced by OWBI1::swap(). |
|
|
|
|
|