2004 by Marc J. Rochkind. All rights reserved. Portions marked "Open Source" may be copied under license.

 

Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Ux::Timestr Class Reference
[C++ Wrapper for Standard UNIX Functions]

Inheritance diagram for Ux::Timestr:

Ux::Base List of all members.

Detailed Description

Don't use this class -- use TimeString instead.

Definition at line 53 of file uxtimetm.hpp.

Public Member Functions

 Timestr ()
void clear (void)
 operator const char * () const
const char * ctime (const time_t *t=NULL, bool keep_nl=true)
const char * ctime (time_t t, bool keep_nl=true)

Protected Attributes

char timestr [26]


Constructor & Destructor Documentation

Ux::Timestr::Timestr  )  [inline]
 

Definition at line 60 of file uxtimetm.hpp.

References clear().


Member Function Documentation

void Ux::Timestr::clear void   )  [inline]
 

Definition at line 64 of file uxtimetm.hpp.

Referenced by Ux::Timetm::set(), and Timestr().

const char* Ux::Timestr::ctime time_t  t,
bool  keep_nl = true
[inline]
 

Version of ctime that takes a time_t instead of a pointer to one.

Definition at line 74 of file uxtimetm.hpp.

References ctime().

const char * Timestr::ctime const time_t *  t = NULL,
bool  keep_nl = true
 

Definition at line 132 of file uxtimetm.cpp.

References errno, time(), and timestr.

Referenced by ctime().

Ux::Timestr::operator const char *  )  const [inline]
 

Definition at line 68 of file uxtimetm.hpp.


Member Data Documentation

char Ux::Timestr::timestr[26] [protected]
 

Definition at line 57 of file uxtimetm.hpp.

Referenced by Ux::Timetm::asctime(), and ctime().


The documentation for this class was generated from the following files:
Generated on Fri Apr 23 10:57:19 2004 for AUP2 Example Source by doxygen 1.3.1