#include <Coordinates.h>
Classes | |
class | const_iterator |
class | iterator |
Public Types | |
typedef const value_type * | const_pointer |
typedef const value_type & | const_reference |
typedef const_iterator | ConstIterator |
typedef ptrdiff_t | difference_type |
typedef iterator | Iterator |
typedef value_type * | pointer |
typedef value_type & | reference |
typedef int | size_type |
typedef coordT | value_type |
Public Member Functions | |
void | append (const coordT &c) |
coordT & | at (int idx) |
const coordT & | at (int idx) const |
coordT & | back () |
const coordT & | back () const |
iterator | begin () |
const_iterator | begin () const |
void | clear () |
const_iterator | constBegin () const |
const_iterator | constEnd () const |
bool | contains (const coordT &t) const |
Coordinates () | |
Coordinates (const std::vector< coordT > &other) | |
Coordinates (const Coordinates &other) | |
int | count () const |
int | count (const coordT &t) const |
coordT * | data () |
const coordT * | data () const |
bool | empty () const |
iterator | end () |
const_iterator | end () const |
iterator | erase (iterator idx) |
iterator | erase (iterator beginIterator, iterator endIterator) |
coordT & | first () |
const coordT & | first () const |
coordT & | front () |
const coordT & | front () const |
int | indexOf (const coordT &t, int from=0) const |
void | insert (int before, const coordT &c) |
iterator | insert (iterator before, const coordT &c) |
bool | isEmpty () const |
coordT & | last () |
const coordT & | last () const |
int | lastIndexOf (const coordT &t, int from=-1) const |
Coordinates | mid (int idx, int length=-1) const |
Coordinates -- vector of coordT (normally double) | |
void | move (int from, int to) |
bool | operator!= (const Coordinates &other) const |
Coordinates | operator+ (const Coordinates &other) const |
Coordinates & | operator+= (const Coordinates &other) |
Coordinates & | operator+= (const coordT &c) |
Coordinates & | operator<< (const Coordinates &other) |
Coordinates & | operator<< (const coordT &c) |
Coordinates & | operator= (const Coordinates &other) |
Coordinates & | operator= (const std::vector< coordT > &other) |
bool | operator== (const Coordinates &other) const |
coordT & | operator[] (int idx) |
const coordT & | operator[] (int idx) const |
void | pop_back () |
void | pop_front () |
void | prepend (const coordT &c) |
void | push_back (const coordT &c) |
void | push_front (const coordT &c) |
void | removeAll (const coordT &t) |
void | removeAt (int idx) |
void | removeFirst () |
void | removeLast () |
void | replace (int idx, const coordT &c) |
void | reserve (int i) |
size_t | size () const |
void | swap (int idx, int other) |
coordT | takeAt (int idx) |
coordT | takeFirst () |
coordT | takeLast () |
std::vector< coordT > | toStdVector () const |
coordT | value (int idx, const coordT &defaultValue) const |
~Coordinates () | |
Private Attributes | |
std::vector< coordT > | coordinate_array |
Definition at line 33 of file Coordinates.h.
typedef const value_type* orgQhull::Coordinates::const_pointer |
Definition at line 48 of file Coordinates.h.
typedef const value_type& orgQhull::Coordinates::const_reference |
Definition at line 49 of file Coordinates.h.
Definition at line 45 of file Coordinates.h.
typedef ptrdiff_t orgQhull::Coordinates::difference_type |
Definition at line 52 of file Coordinates.h.
Definition at line 43 of file Coordinates.h.
typedef value_type* orgQhull::Coordinates::pointer |
Definition at line 50 of file Coordinates.h.
Definition at line 51 of file Coordinates.h.
typedef int orgQhull::Coordinates::size_type |
Definition at line 53 of file Coordinates.h.
Definition at line 47 of file Coordinates.h.
orgQhull::Coordinates::Coordinates | ( | ) | [inline] |
Definition at line 56 of file Coordinates.h.
orgQhull::Coordinates::Coordinates | ( | const std::vector< coordT > & | other | ) | [inline, explicit] |
Definition at line 57 of file Coordinates.h.
orgQhull::Coordinates::Coordinates | ( | const Coordinates & | other | ) | [inline] |
Definition at line 58 of file Coordinates.h.
orgQhull::Coordinates::~Coordinates | ( | ) | [inline] |
Definition at line 61 of file Coordinates.h.
void orgQhull::Coordinates::append | ( | const coordT & | c | ) | [inline] |
Definition at line 111 of file Coordinates.h.
coordT& orgQhull::Coordinates::at | ( | int | idx | ) | [inline] |
Definition at line 84 of file Coordinates.h.
const coordT& orgQhull::Coordinates::at | ( | int | idx | ) | const [inline] |
Definition at line 85 of file Coordinates.h.
coordT& orgQhull::Coordinates::back | ( | ) | [inline] |
Definition at line 86 of file Coordinates.h.
const coordT& orgQhull::Coordinates::back | ( | ) | const [inline] |
Definition at line 87 of file Coordinates.h.
iterator orgQhull::Coordinates::begin | ( | ) | [inline] |
Definition at line 100 of file Coordinates.h.
const_iterator orgQhull::Coordinates::begin | ( | ) | const [inline] |
Definition at line 101 of file Coordinates.h.
void orgQhull::Coordinates::clear | ( | ) | [inline] |
Definition at line 112 of file Coordinates.h.
const_iterator orgQhull::Coordinates::constBegin | ( | ) | const [inline] |
Definition at line 102 of file Coordinates.h.
const_iterator orgQhull::Coordinates::constEnd | ( | ) | const [inline] |
Definition at line 103 of file Coordinates.h.
bool orgQhull::Coordinates::contains | ( | const coordT & | t | ) | const |
Definition at line 98 of file Coordinates.cpp.
int orgQhull::Coordinates::count | ( | ) | const [inline] |
Definition at line 76 of file Coordinates.h.
int orgQhull::Coordinates::count | ( | const coordT & | t | ) | const |
Definition at line 105 of file Coordinates.cpp.
coordT* orgQhull::Coordinates::data | ( | ) | [inline] |
Definition at line 65 of file Coordinates.h.
const coordT* orgQhull::Coordinates::data | ( | ) | const [inline] |
Definition at line 66 of file Coordinates.h.
bool orgQhull::Coordinates::empty | ( | ) | const [inline] |
Definition at line 77 of file Coordinates.h.
iterator orgQhull::Coordinates::end | ( | ) | [inline] |
Definition at line 104 of file Coordinates.h.
const_iterator orgQhull::Coordinates::end | ( | ) | const [inline] |
Definition at line 105 of file Coordinates.h.
iterator orgQhull::Coordinates::erase | ( | iterator | idx | ) | [inline] |
Definition at line 113 of file Coordinates.h.
iterator orgQhull::Coordinates::erase | ( | iterator | beginIterator, |
iterator | endIterator | ||
) | [inline] |
Definition at line 114 of file Coordinates.h.
coordT& orgQhull::Coordinates::first | ( | ) | [inline] |
Definition at line 88 of file Coordinates.h.
const coordT& orgQhull::Coordinates::first | ( | ) | const [inline] |
Definition at line 89 of file Coordinates.h.
coordT& orgQhull::Coordinates::front | ( | ) | [inline] |
Definition at line 90 of file Coordinates.h.
const coordT& orgQhull::Coordinates::front | ( | ) | const [inline] |
Definition at line 91 of file Coordinates.h.
int orgQhull::Coordinates::indexOf | ( | const coordT & | t, |
int | from = 0 |
||
) | const |
Definition at line 116 of file Coordinates.cpp.
void orgQhull::Coordinates::insert | ( | int | before, |
const coordT & | c | ||
) | [inline] |
Definition at line 115 of file Coordinates.h.
iterator orgQhull::Coordinates::insert | ( | iterator | before, |
const coordT & | c | ||
) | [inline] |
Definition at line 116 of file Coordinates.h.
bool orgQhull::Coordinates::isEmpty | ( | ) | const [inline] |
Definition at line 78 of file Coordinates.h.
coordT& orgQhull::Coordinates::last | ( | ) | [inline] |
Definition at line 92 of file Coordinates.h.
const coordT& orgQhull::Coordinates::last | ( | ) | const [inline] |
Definition at line 93 of file Coordinates.h.
int orgQhull::Coordinates::lastIndexOf | ( | const coordT & | t, |
int | from = -1 |
||
) | const |
Definition at line 137 of file Coordinates.cpp.
Coordinates orgQhull::Coordinates::mid | ( | int | idx, |
int | length = -1 |
||
) | const |
Coordinates -- vector of coordT (normally double)
Definition at line 28 of file Coordinates.cpp.
void orgQhull::Coordinates::move | ( | int | from, |
int | to | ||
) | [inline] |
Definition at line 117 of file Coordinates.h.
bool orgQhull::Coordinates::operator!= | ( | const Coordinates & | other | ) | const [inline] |
Definition at line 80 of file Coordinates.h.
Coordinates orgQhull::Coordinates::operator+ | ( | const Coordinates & | other | ) | const |
Definition at line 50 of file Coordinates.cpp.
Coordinates & orgQhull::Coordinates::operator+= | ( | const Coordinates & | other | ) |
Definition at line 58 of file Coordinates.cpp.
Coordinates& orgQhull::Coordinates::operator+= | ( | const coordT & | c | ) | [inline] |
Definition at line 119 of file Coordinates.h.
Coordinates& orgQhull::Coordinates::operator<< | ( | const Coordinates & | other | ) | [inline] |
Definition at line 120 of file Coordinates.h.
Coordinates& orgQhull::Coordinates::operator<< | ( | const coordT & | c | ) | [inline] |
Definition at line 121 of file Coordinates.h.
Coordinates& orgQhull::Coordinates::operator= | ( | const Coordinates & | other | ) | [inline] |
Definition at line 59 of file Coordinates.h.
Coordinates& orgQhull::Coordinates::operator= | ( | const std::vector< coordT > & | other | ) | [inline] |
Definition at line 60 of file Coordinates.h.
bool orgQhull::Coordinates::operator== | ( | const Coordinates & | other | ) | const [inline] |
Definition at line 79 of file Coordinates.h.
coordT& orgQhull::Coordinates::operator[] | ( | int | idx | ) | [inline] |
Definition at line 95 of file Coordinates.h.
const coordT& orgQhull::Coordinates::operator[] | ( | int | idx | ) | const [inline] |
Definition at line 96 of file Coordinates.h.
void orgQhull::Coordinates::pop_back | ( | ) | [inline] |
Definition at line 122 of file Coordinates.h.
void orgQhull::Coordinates::pop_front | ( | ) | [inline] |
Definition at line 123 of file Coordinates.h.
void orgQhull::Coordinates::prepend | ( | const coordT & | c | ) | [inline] |
Definition at line 124 of file Coordinates.h.
void orgQhull::Coordinates::push_back | ( | const coordT & | c | ) | [inline] |
Definition at line 125 of file Coordinates.h.
void orgQhull::Coordinates::push_front | ( | const coordT & | c | ) | [inline] |
Definition at line 126 of file Coordinates.h.
void orgQhull::Coordinates::removeAll | ( | const coordT & | t | ) |
Definition at line 156 of file Coordinates.cpp.
void orgQhull::Coordinates::removeAt | ( | int | idx | ) | [inline] |
Definition at line 128 of file Coordinates.h.
void orgQhull::Coordinates::removeFirst | ( | ) | [inline] |
Definition at line 129 of file Coordinates.h.
void orgQhull::Coordinates::removeLast | ( | ) | [inline] |
Definition at line 130 of file Coordinates.h.
void orgQhull::Coordinates::replace | ( | int | idx, |
const coordT & | c | ||
) | [inline] |
Definition at line 131 of file Coordinates.h.
void orgQhull::Coordinates::reserve | ( | int | i | ) | [inline] |
Definition at line 132 of file Coordinates.h.
size_t orgQhull::Coordinates::size | ( | ) | const [inline] |
Definition at line 81 of file Coordinates.h.
void orgQhull::Coordinates::swap | ( | int | idx, |
int | other | ||
) |
Definition at line 88 of file Coordinates.cpp.
coordT orgQhull::Coordinates::takeAt | ( | int | idx | ) |
Definition at line 72 of file Coordinates.cpp.
coordT orgQhull::Coordinates::takeFirst | ( | ) | [inline] |
Definition at line 135 of file Coordinates.h.
Definition at line 80 of file Coordinates.cpp.
std::vector<coordT> orgQhull::Coordinates::toStdVector | ( | ) | const [inline] |
Definition at line 69 of file Coordinates.h.
coordT orgQhull::Coordinates::value | ( | int | idx, |
const coordT & | defaultValue | ||
) | const |
Definition at line 42 of file Coordinates.cpp.
std::vector<coordT> orgQhull::Coordinates::coordinate_array [private] |
Definition at line 37 of file Coordinates.h.