|
| bool | isEqual (const PositionList &p) const |
| |
| bool | operator!= (const PositionList &p) const |
| |
| bool | operator== (const PositionList &p) const |
| |
| | TVector ()=default |
| | Default constructor.
|
| |
| | TVector (const TVector &v) |
| | Copy constructor.
|
| |
| | TVector (TVector &&) noexcept=default |
| | Move constructor.
|
| |
| | TVector (InputIterator first, InputIterator last) |
| | Initializing constructor using an iterator.
|
| |
| | TVector (std::initializer_list< value_type > list) |
| | Initializing constructor using list like:
TVector vect{1,2,3,4,5,6,7}
|
| |
| | TVector (const base_type &sv) |
| | Copy constructor for base type.
|
| |
| | TVector (size_type sz) |
| | Initializing constructor.
|
| |
| TVector & | operator= (const TVector &v) noexcept |
| | Assignment operator.
|
| |
| TVector & | operator= (TVector &&v) noexcept |
| | Assignment move operator.
|
| |
| size_type | add (const Position &t) |
| | Adds item at the end of the vector.
|
| |
| size_type | add (Position &&t) |
| | Adds item at the end of the vector.
|
| |
| size_type | add (const TVector &) |
| | Adds the vectors items at the end of the vector.
|
| |
| TVector & | append (const Position &t) |
| | Appends an entry to the vectors items at the end of the vector.
|
| |
| TVector & | append (Position &&t) |
| | Appends an entry to the vectors items at the end of the vector.
|
| |
| TVector & | prepend (const Position &t) |
| | Prepends an entry to the vectors items at the beginning of the vector.
|
| |
| TVector & | prepend (Position &&t) |
| | Prepends an entry to the vectors items at the beginning of the vector.
|
| |
| bool | addAt (const Position &t, size_type index) |
| | Adds an item at index position.
|
| |
| bool | addAt (Position &&t, size_type index) |
| | Adds an item at index position.
|
| |
| bool | detach (const Position &t) |
| | Removes specific item from the list by instance. Uses the compare operator from type T to find it.
|
| |
| bool | detachAt (size_type index) |
| | Removes specific item from the list by index.
|
| |
| bool | isEmpty () const |
| | Returns true when empty false otherwise.
|
| |
| void | flush () |
| | Removes all entries from the vector.
|
| |
| void | flush (size_type stop, size_type start=0) |
| | Removes specific range of entries from the vector.
|
| |
| size_type | find (const Position &) const |
| | Finds an entry by instance in the vector.
|
| |
| size_type | count () const |
| | Returns the amount of entries in the vector.
|
| |
| Position & | first () |
| | Gets the first element of the vector.
|
| |
| const Position & | first () const noexcept |
| | Gets the first element of the vector.
|
| |
| Position & | last () |
| | Gets the last element of the vector.
|
| |
| const Position & | last () const noexcept |
| | Gets the last element of the vector.
|
| |
| bool | startsWith (Position t) const |
| | Checks if the first element is of the passed value.
|
| |
| bool | endsWith (Position t) const |
| | Checks if the last element is of the passed value.
|
| |
| Position & | get (size_type i) |
| | Gets entry from index position.
|
| |
| const Position & | get (size_type i) const |
| | Const version of getting entry from index position.
|
| |
| base_type | getBase () |
| | Returns the base type to access it methods explicitly.
|
| |
| base_type | getBase () const |
| | Returns the constant const base type.
|
| |
| Position & | operator[] (size_type i) |
| | Reimplemented array operator. Array operator needs reimplementation using std::vector::at() which does a range check in contrast to the std::vector::operator[] functions.
|
| |
| const Position & | operator[] (size_type i) const |
| | Const reimplemented array operator. Array operator needs reimplementation using std::vector::at() which does a range check in contrast to the std::vector::operator[] functions.
|
| |
| std::ostream & | write (std::ostream &os, bool inc_hex) const |
| |
List of approach positions.