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