29 std::map<const unsigned long, std::shared_ptr<LibItsGeoNetworking__TypesAndValues::LongPosVector> >
_entries_by_times;
30 std::map<const std::string, std::shared_ptr<LibItsGeoNetworking__TypesAndValues::LongPosVector> >
_entries_by_mids;
48 const bool has_entry(
const OCTETSTRING& p_mid)
const;
54 void add_entry(
const LibItsGeoNetworking__TypesAndValues::LongPosVector& p_long_pos_vector);
60 const LibItsGeoNetworking__TypesAndValues::LongPosVector* get_entry(
const OCTETSTRING & p_mid)
const;
68 inline const bool empty()
const {
return _entries_by_mids.empty(); };
74 inline void reset() { _entries_by_mids.clear(); _entries_by_times.clear(); };
void reset()
Purge the location table.
Definition: location_table.hh:74
location_table()
Default constructor.
Definition: location_table.hh:36
Definition: geonetworking_layer.hh:32
This class provides description of GeoNetworking table.
Definition: location_table.hh:28
const bool empty() const
Indicates if the table is empty.
Definition: location_table.hh:68
std::map< const std::string, std::shared_ptr< LibItsGeoNetworking__TypesAndValues::LongPosVector > > _entries_by_mids
Definition: location_table.hh:30
std::map< const unsigned long, std::shared_ptr< LibItsGeoNetworking__TypesAndValues::LongPosVector > > _entries_by_times
Definition: location_table.hh:29
virtual ~location_table()
Default destructor.
Definition: location_table.hh:40