Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
xstream::posix::date_format Class Reference

stores a strftime format and returns a string representation of the current date More...

#include <posix.h>

Public Member Functions

 date_format (const std::string &format)
 construct specifying strftime format More...
 
std::string now () const
 

Public Attributes

std::string format
 

Detailed Description

stores a strftime format and returns a string representation of the current date

Definition at line 25 of file posix.h.

Constructor & Destructor Documentation

xstream::posix::date_format::date_format ( const std::string format)

construct specifying strftime format

Definition at line 28 of file posix.cpp.

Member Function Documentation

std::string xstream::posix::date_format::now ( ) const

Definition at line 30 of file posix.cpp.

References format, LOG, and string.

Referenced by xstream::dater::write_date().

Member Data Documentation

std::string xstream::posix::date_format::format

format string for strftime

Definition at line 28 of file posix.h.

Referenced by now().


The documentation for this class was generated from the following files: