oc_date Class Reference

#include <ocTypes.h>

Inheritance diagram for oc_date:

Inheritance graph
[legend]
Collaboration diagram for oc_date:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 oc_date ()
 oc_date (const time_date &in)
 oc_date (const tm &in)
oc_dateoperator= (const tm &in)
oc_dateoperator= (const oc_date &in)
 ~oc_date ()
string format (size_t max=256) const
oc_datesetFormat (string fmtIn)
oc_dateparse (const char *strDate)
 oc_date ()
 oc_date (const time_date &in)
 oc_date (const tm &in)
oc_dateoperator= (const tm &in)
oc_dateoperator= (const oc_date &in)
 ~oc_date ()
string format (size_t max=256) const
oc_datesetFormat (string fmtIn)
oc_dateparse (const char *strDate)

Private Attributes

string fmt


Detailed Description

Definition at line 141 of file ocTypes.h.


Constructor & Destructor Documentation

oc_date::oc_date (  )  [inline]

Definition at line 145 of file ocTypes.h.

oc_date::oc_date ( const time_date in  )  [inline]

Definition at line 146 of file ocTypes.h.

oc_date::oc_date ( const tm &  in  )  [inline]

Definition at line 147 of file ocTypes.h.

oc_date::~oc_date (  )  [inline]

Definition at line 158 of file ocTypes.h.

oc_date::oc_date (  )  [inline]

Definition at line 145 of file ocTypes.h.

oc_date::oc_date ( const time_date in  )  [inline]

Definition at line 146 of file ocTypes.h.

oc_date::oc_date ( const tm &  in  )  [inline]

Definition at line 147 of file ocTypes.h.

oc_date::~oc_date (  )  [inline]

Definition at line 158 of file ocTypes.h.


Member Function Documentation

oc_date& oc_date::operator= ( const tm &  in  )  [inline]

Reimplemented from time_date.

Definition at line 148 of file ocTypes.h.

oc_date& oc_date::operator= ( const oc_date in  )  [inline]

Definition at line 153 of file ocTypes.h.

string oc_date::format ( size_t  max = 256  )  const [inline]

Definition at line 159 of file ocTypes.h.

References fmt, and time_date::format().

Referenced by operator<<().

oc_date& oc_date::setFormat ( string  fmtIn  )  [inline]

Definition at line 163 of file ocTypes.h.

References fmt.

oc_date& oc_date::parse ( const char *  strDate  )  [inline]

oc_date& oc_date::operator= ( const tm &  in  )  [inline]

Reimplemented from time_date.

Definition at line 148 of file ocTypes.h.

oc_date& oc_date::operator= ( const oc_date in  )  [inline]

Definition at line 153 of file ocTypes.h.

string oc_date::format ( size_t  max = 256  )  const [inline]

Definition at line 159 of file ocTypes.h.

References fmt, and time_date::format().

oc_date& oc_date::setFormat ( string  fmtIn  )  [inline]

Definition at line 163 of file ocTypes.h.

References fmt.

oc_date& oc_date::parse ( const char *  strDate  )  [inline]

Definition at line 168 of file ocTypes.h.

References fmt, time_date::parse(), and ocString::replaceAll().


Member Data Documentation

string oc_date::fmt [private]

Definition at line 143 of file ocTypes.h.

Referenced by format(), parse(), and setFormat().


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

Generated on Sat Aug 15 12:48:29 2009 for w3systemsDevelopment by  doxygen 1.5.5