PSTime Namespace Reference


Classes

class  Duration
 This class is intended to work with durations in the ISO8601 standard. More...
class  Exception
 Base class for all exception classes in a package. More...
class  ErrnoException
 Exception generated when standard library produces an error with corresponding errno. More...
class  GetTimeException
 Exception generated for failed clock_gettime() function. More...
class  TimeParseException
 Exception generated for failures during time string parsing. More...
class  Time
 Standard time class for use in LCLS software. More...

Namespaces

namespace  TimeFormat
 Namespace with utility methods to deal with the presentation of the times/dates.
namespace  TimeUtils
 Namespace containing various utility methods for date/time manipulation.

Functions

Time operator+ (const Duration &d, const Time &t)
 Addition of duration and time objects.
Time operator+ (const Time &t, const Duration &d)
 Addition of time and duration objects.
Time operator- (const Time &t, const Duration &d)
 Subtract duration from time.
std::ostream & operator<< (std::ostream &os, const Time &t)
 Stream insertion operator, prints result of Time::asString() method.
ostream & operator<< (ostream &os, const Duration &d)


Function Documentation

Time PSTime::operator+ ( const Duration &  d,
const Time &  t 
) [inline]

Addition of duration and time objects.

Definition at line 278 of file Time.h.

References mpids_test::t.

Time PSTime::operator+ ( const Time &  t,
const Duration &  d 
) [inline]

Addition of time and duration objects.

Definition at line 288 of file Time.h.

References mpids_test::t.

Time PSTime::operator- ( const Time &  t,
const Duration &  d 
) [inline]

Subtract duration from time.

Definition at line 298 of file Time.h.

References mpids_test::t.

std::ostream & PSTime::operator<< ( std::ostream &  os,
const Time &  t 
)

Stream insertion operator, prints result of Time::asString() method.

Definition at line 302 of file Time.cpp.

References PSTime::TimeFormat::format(), PSTime::Time::Local, and mpids_test::t.

ostream& PSTime::operator<< ( std::ostream &  os,
const Duration &  d 
)

Friends

Definition at line 401 of file Duration.cpp.

References PSTime::Duration::m_nsec, and PSTime::Duration::m_sec.


Generated on 19 Dec 2016 for PSANAclasses by  doxygen 1.4.7