PGROUTING
3.2
|
#include "identifier.h"
Public Member Functions | |
Identifier ()=default | |
Identifier (const Identifier &v)=default | |
Identifier (const size_t _idx, const int64_t _id) | |
int64_t | id () const |
size_t | idx () const |
void | reset_id (int64_t) |
Private Attributes | |
int64_t | m_id |
size_t | m_idx |
Friends | |
std::ostream & | operator<< (std::ostream &log, const Identifier &) |
Definition at line 39 of file identifier.h.
|
default |
|
default |
pgrouting::Identifier::Identifier | ( | const size_t | _idx, |
const int64_t | _id | ||
) |
Definition at line 30 of file identifier.cpp.
int64_t pgrouting::Identifier::id | ( | ) | const |
Definition at line 42 of file identifier.cpp.
References m_id.
Referenced by pgrouting::vrp::Dnode::distance(), pgrouting::vrp::Vehicle::get_postgres_result(), pgrouting::vrp::Vehicle::is_phony(), pgrouting::vrp::operator<<(), pgrouting::operator<<(), pgrouting::vrp::Tw_node::operator==(), pgrouting::vrp::Vehicle::tau(), and pgrouting::vrp::Vehicle::Vehicle().
size_t pgrouting::Identifier::idx | ( | ) | const |
Definition at line 37 of file identifier.cpp.
References m_idx.
Referenced by pgrouting::vrp::Vehicle::erase(), pgrouting::vrp::Vehicle_pickDeliver::erase(), pgrouting::vrp::Vehicle_pickDeliver::has_order(), pgrouting::vrp::Vehicle_pickDeliver::insert(), pgrouting::vrp::Vehicle::insert(), pgrouting::vrp::operator<<(), pgrouting::operator<<(), pgrouting::vrp::Tw_node::operator==(), pgrouting::vrp::Vehicle_pickDeliver::push_back(), pgrouting::vrp::Vehicle_pickDeliver::push_front(), pgrouting::vrp::Vehicle_pickDeliver::semiLIFO(), pgrouting::vrp::Order::set_compatibles(), pgrouting::vrp::Vehicle::tau(), and pgrouting::vrp::Vehicle::Vehicle().
void pgrouting::Identifier::reset_id | ( | int64_t | _id | ) |
Definition at line 47 of file identifier.cpp.
References m_id.
Referenced by pgrouting::vrp::Tw_node::Tw_node().
|
friend |
Definition at line 51 of file identifier.cpp.
|
private |
Definition at line 53 of file identifier.h.
Referenced by id(), and reset_id().
|
private |
Definition at line 52 of file identifier.h.
Referenced by idx().