Encapsulates a single data log entry. More...
#include <DwmDataLog.hh>
Public Member Functions | |
| Entry () | |
| Constructor. | |
| Entry (const T &value) | |
Construct from the given value. | |
| const TimeValue & | Timestamp () const |
| Returns the timestamp of the Entry. | |
| const T & | Value () const |
| Returns the value of the entry. | |
| std::istream & | Read (std::istream &is) |
Reads the Entry from the given istream is. | |
| std::ostream & | Write (std::ostream &os) const |
Writes the Entry to the given ostream os. | |
| size_t | StreamedLength () const |
| Returns the number of bytes that would be written if the Write() member were called. | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Entry &entry) |
| Prints the Entry to an ostream in human-readable form. | |
Encapsulates a single data log entry.
|
friend |
Prints the Entry to an ostream in human-readable form.
Note that this depends on the paramaterized type having a similar operator.