Kea  2.3.4-git
base_stamped_element.cc
Go to the documentation of this file.
1 // Copyright (C) 2019-2020 Internet Systems Consortium, Inc. ("ISC")
2 //
3 // This Source Code Form is subject to the terms of the Mozilla Public
4 // License, v. 2.0. If a copy of the MPL was not distributed with this
5 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 
7 #include <config.h>
8 
10 
11 namespace isc {
12 namespace data {
13 
17  : id_(0), timestamp_(boost::posix_time::second_clock::local_time()) {
18 }
19 
20 void
24  setModificationTime(boost::posix_time::second_clock::local_time());
25 }
26 
27 } // end of namespace isc::data
28 } // end of namespace isc
void updateModificationTime()
Sets timestamp to the current time.
void setModificationTime(const boost::posix_time::ptime &timestamp)
Sets timestamp to the explicitly provided value.
Defines the logger used by the top-level component of kea-lfc.