olsr::utl::Vtime Class Reference

Validity time processing and calculation. More...

#include <vtime.hh>

List of all members.

Public Member Functions

 Vtime (const Vtime &other)
 Vtime (const byte_t other)
 Vtime (const float fsecs)
 Vtime (const timeval_t &other)
 operator byte_t ()
 operator float ()
 operator timeval_t ()
std::ostream & output (std::ostream &o) const

Private Types

typedef u_int8_t byte_t
typedef unsigned secs_t

Private Attributes

raw _value
 Internal raw value.

Classes

struct  raw
 Convenience data structure for raw access. More...


Detailed Description

Validity time processing and calculation.


Member Typedef Documentation

typedef u_int8_t olsr::utl::Vtime::byte_t [private]

typedef unsigned olsr::utl::Vtime::secs_t [private]


Constructor & Destructor Documentation

olsr::utl::Vtime::Vtime ( const Vtime other  )  [inline]

Copy constructor

olsr::utl::Vtime::Vtime ( const byte_t  other  )  [inline, explicit]

Constructor. Initializes from an encoded byte.

olsr::utl::Vtime::Vtime ( const float  fsecs  )  [inline]

Constructor.

olsr::utl::Vtime::Vtime ( const timeval_t other  )  [inline]

Constructor.


Member Function Documentation

olsr::utl::Vtime::operator byte_t (  )  [inline]

Operator for conversion to byte.

olsr::utl::Vtime::operator float (  )  [inline]

Operator for conversion to seconds.

olsr::utl::Vtime::operator timeval_t (  )  [inline]

Operator for conversion to time.

std::ostream & olsr::utl::Vtime::output ( std::ostream &  o  )  const [inline]

Printing method.


Member Data Documentation

raw olsr::utl::Vtime::_value [private]

Internal raw value.


The documentation for this class was generated from the following files:
Generated on Mon Sep 10 17:02:14 2007 for Qolyester daemon by  doxygen 1.5.1