7 #ifndef BASE_STAMPED_ELEMENT_H
8 #define BASE_STAMPED_ELEMENT_H
11 #include <boost/date_time/posix_time/posix_time.hpp>
boost::posix_time::ptime timestamp_
Holds timestamp value.
uint64_t id_
Database identifier of the configuration element.
void updateModificationTime()
Sets timestamp to the current time.
boost::posix_time::ptime getModificationTime() const
Returns timestamp.
BaseStampedElement()
Constructor.
void setModificationTime(const boost::posix_time::ptime ×tamp)
Sets timestamp to the explicitly provided value.
uint64_t getId() const
Returns element's database identifier.
Defines the logger used by the top-level component of kea-dhcp-ddns.
void setId(const uint64_t id)
Sets element's database identifier.
This class represents configuration element which is associated with database identifier and the modi...