#include <DbVArray.h>
Inheritance diagram for dbVarray:

Public Types | |
| typedef _Base::iterator | iterator |
| Public type definitions. More... | |
| typedef _Base::const_iterator | const_iterator |
Public Methods | |
| iterator | begin () |
| First element of iteration. More... | |
| const_iterator | begin () const |
| First element of iteration (CONST). More... | |
| iterator | end () |
| End-element of iteration. More... | |
| const_iterator | end () const |
| End-element of iteration (CONST). More... | |
| dbVarray () | |
| Standard constructor. More... | |
| dbVarray (long siz) | |
| Standard constructor initialising data to a given size. More... | |
| dbVarray (const dbVarray<T>& copy) | |
| Copy constructor. More... | |
| virtual | ~dbVarray () |
| Standard destructor. More... | |
| dbVarray& | operator= (const dbVarray<T>& copy) |
| Assignment operator. More... | |
| T& | elem (long i) |
| Access to individual elements. More... | |
| void | resize (long length) |
| Resize data buffer. More... | |
| char* | increase (long length) |
| long | cardinality () const |
| Size of filled data buffer. More... | |
| const T& | retrieve_element_at (long which) |
| Access to individual elements. More... | |
| int | is_empty () const |
| Check if data buffer is empty. More... | |
| void | remove_all () |
| Clear data buffer. More... | |
| DbResult | extend (const T& val) |
| Append element to data buffer. More... | |
| void | insert_element (const T& val) |
| Insert element into buffer. More... | |
| void | replace_element_at (const T& val, long i) |
| Change individual elements. More... | |
| void | replace_element_at (const T& val, const dbIterator<T>& it) |
| Change individual elements. More... | |
| void | set (long i, const T& arg) |
| Set an individual element and increase size if necessary. More... | |
| T& | operator[] (long i) |
| Access to individual elements. More... | |
| const T& | operator[] (long i) const |
| Access to individual elements (CONST). More... | |
| long | size () const |
| Retrieve data buffer length. More... | |
| long | upper_bound () const |
| Retrieve data buffer length. More... | |
| dbIterator<T> | create_iterator () const |
| Create iterator. More... | |
Private Types | |
| typedef std::vector<T> | _Base |
Private Methods | |
| const T& | elem (long i) const |
Description: VArray object definition
Dependencies:
History :
+---------+----------------------------------------------+--------+
| Date | Comment | Who |
+---------+----------------------------------------------+--------+
| 21/09/99| Initial version. | MF |
+---------+----------------------------------------------+--------+
Author: M.Frank Version: 1.0
Definition at line 110 of file DbVArray.h.
|
|||
|
Definition at line 112 of file DbVArray.h. |
|
|||
|
Definition at line 120 of file DbVArray.h. |
|
|||
|
Public type definitions.
Definition at line 119 of file DbVArray.h. |
|
||||
|
Standard constructor.
Definition at line 138 of file DbVArray.h. |
|
||||
|
Standard constructor initialising data to a given size.
Definition at line 141 of file DbVArray.h. |
|
||||
|
Copy constructor.
Definition at line 145 of file DbVArray.h. |
|
||||
|
Standard destructor.
Definition at line 149 of file DbVArray.h. |
|
||||
|
First element of iteration (CONST).
Definition at line 126 of file DbVArray.h. |
|
||||
|
First element of iteration.
Definition at line 122 of file DbVArray.h. |
|
||||
|
Size of filled data buffer.
Definition at line 179 of file DbVArray.h. |
|
||||
|
Create iterator.
Definition at line 235 of file DbVArray.h. |
|
||||
|
Access to individual elements.
Definition at line 157 of file DbVArray.h. |
|
||||
|
Definition at line 114 of file DbVArray.h. Referenced by increase(), dbIterator::next(), operator[](), retrieve_element_at(), and set(). |
|
||||
|
End-element of iteration (CONST).
Definition at line 134 of file DbVArray.h. |
|
||||
|
End-element of iteration.
Definition at line 130 of file DbVArray.h. |
|
||||
|
Append element to data buffer.
Definition at line 195 of file DbVArray.h. Referenced by DbObject::addInvalidLink(), and DbObject::addLink(). |
|
||||
|
Definition at line 174 of file DbVArray.h. |
|
||||
|
Insert element into buffer.
Definition at line 200 of file DbVArray.h. |
|
||||
|
Check if data buffer is empty.
Definition at line 187 of file DbVArray.h. |
|
||||
|
Assignment operator.
Definition at line 152 of file DbVArray.h. |
|
||||
|
Access to individual elements (CONST).
Definition at line 223 of file DbVArray.h. |
|
||||
|
Access to individual elements.
Definition at line 219 of file DbVArray.h. |
|
||||
|
Clear data buffer.
Definition at line 191 of file DbVArray.h. |
|
||||||
|
Change individual elements.
Definition at line 208 of file DbVArray.h. |
|
||||||
|
Change individual elements.
Definition at line 204 of file DbVArray.h. |
|
||||
|
Resize data buffer.
Definition at line 161 of file DbVArray.h. Referenced by dbVarray(), remove_all(), and set(). |
|
||||
|
Access to individual elements.
Definition at line 183 of file DbVArray.h. |
|
||||||
|
Set an individual element and increase size if necessary.
Definition at line 212 of file DbVArray.h. Referenced by extend(), insert_element(), and replace_element_at(). |
|
||||
|
Retrieve data buffer length.
Definition at line 227 of file DbVArray.h. Referenced by cardinality(), extend(), increase(), insert_element(), is_empty(), set(), and upper_bound(). |
|
||||
|
Retrieve data buffer length.
Definition at line 231 of file DbVArray.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000