Common SQL entity information. More...
#include <SqlEntity.h>
Public Member Functions | |
uint32_t | getID () const |
ID value accessor. | |
void | setID (const uint32_t id) |
ID value mutator. | |
SqlEntity (const uint32_t id) | |
Create a new SqlEntity. | |
Private Attributes | |
uint32_t | id_ |
Common SQL entity information.
A base class for all SQL entities.
Definition at line 32 of file SqlEntity.h.
SqlEntity::SqlEntity | ( | const uint32_t | id | ) |
Create a new SqlEntity.
Create a new SqlEntity with the given ID information.
id | The ID of the database entity. |
Definition at line 16 of file SqlEntity.cpp.
uint32_t SqlEntity::getID | ( | ) | const |
ID value accessor.
Get the ID value of this SqlEntity.
Definition at line 21 of file SqlEntity.cpp.
void SqlEntity::setID | ( | const uint32_t | id | ) |
ID value mutator.
Set the ID value of this SpatialWorldObservation.
id | The new id value of this SpatialWorldObservation. |
Definition at line 26 of file SqlEntity.cpp.
uint32_t rail::spatial_temporal_learning::worldlib::remote::SqlEntity::id_ [private] |
The ID of the entity.
Definition at line 64 of file SqlEntity.h.