xc
|
Container with a KDTree. More...
#include <DqPtrsKDTree.h>
Public Types | |
typedef DqPtrs< T >::const_iterator | const_iterator |
typedef DqPtrs< T >::iterator | iterator |
typedef DqPtrs< T >::reference | reference |
typedef DqPtrs< T >::const_reference | const_reference |
typedef DqPtrs< T >::size_type | size_type |
![]() | |
typedef std::deque< T * > | lst_ptr |
typedef lst_ptr::const_iterator | const_iterator |
typedef lst_ptr::iterator | iterator |
typedef lst_ptr::reference | reference |
typedef lst_ptr::const_reference | const_reference |
typedef lst_ptr::size_type | size_type |
typedef boost::indirect_iterator< iterator > | indIterator |
Public Member Functions | |
DqPtrsKDTree (CommandEntity *owr=nullptr) | |
Constructor. | |
DqPtrsKDTree (const DqPtrsKDTree &) | |
Copy constructor. | |
DqPtrsKDTree (const std::deque< T *> &) | |
Copy constructor. | |
DqPtrsKDTree (const std::set< const T *> &) | |
Copy constructor. | |
DqPtrsKDTree & | operator= (const DqPtrsKDTree &) |
Assignment operator. | |
DqPtrsKDTree & | operator+= (const DqPtrsKDTree &) |
+= operator. | |
void | extend (const DqPtrsKDTree &) |
Extend this container with the elements of the container being passed as parameter. More... | |
bool | push_back (T *) |
Inserts an object at the end of the container. | |
bool | push_front (T *) |
Inserts an object at the begining of the container. | |
void | clearAll (void) |
Clears out the list of pointers and erases the properties of the object (if any). | |
T * | getNearest (const Pos3d &p) |
Returns the object closest to the point being passed as parameter. | |
const T * | getNearest (const Pos3d &p) const |
Returns the object closest to the point being passed as parameter. | |
![]() | |
DqPtrs (CommandEntity *owr=nullptr) | |
Constructor. | |
DqPtrs (const DqPtrs &) | |
Copy constructor. | |
DqPtrs (const std::deque< T *> &ts) | |
Copy from deque container. | |
DqPtrs (const std::set< const T *> &ts) | |
Copy from set container. | |
DqPtrs & | operator= (const DqPtrs &) |
Assignment operator. | |
DqPtrs & | operator+= (const DqPtrs &) |
+= (union) operator. | |
void | extend (const DqPtrs &) |
Extend this container with the pointers from the container being passed as parameter. More... | |
bool | push_back (T *) |
bool | push_front (T *) |
bool | empty (void) const |
iterator | begin (void) |
const_iterator | begin (void) const |
iterator | end (void) |
const_iterator | end (void) const |
indIterator | indBegin (void) |
indIterator | indEnd (void) |
const T & | get (const size_t &i) const |
Access specified node with bounds checking. | |
void | clear (void) |
Clears out the list of pointers. | |
void | clearAll (void) |
Clears out the list of pointers and erases the properties of the object (if any). | |
size_type | size (void) const |
bool | in (const T *) const |
Returns true if the pointer is in the container. | |
const ID & | getTags (void) const |
Returns the tags of the objects. | |
template<class InputIterator > | |
void | insert (iterator pos, InputIterator f, InputIterator l) |
int | sendTags (int posSz, int posDbTag, DbTagData &dt, CommParameters &cp) |
Sends the dbTags of the sets trough the channel being passed as parameter. | |
const ID & | receiveTags (int posSz, int pDbTg, DbTagData &dt, const CommParameters &cp) |
Sends the dbTags of the sets through the channel being passed as parameter. | |
Protected Member Functions | |
void | create_tree (void) |
Creates the KD tree. | |
Container with a KDTree.
void XC::DqPtrsKDTree< T, KDTree >::extend | ( | const DqPtrsKDTree< T, KDTree > & | other | ) |
Extend this container with the elements of the container being passed as parameter.