#include <infolines.h>
Inheritance diagram for TimeStamp:
Public Member Functions | |
TimeStamp () | |
virtual | operator const char * () const |
Protected Attributes | |
char * | _infoLine |
|
Definition at line 59 of file infolines.cxx. References InfoLine::_infoLine.
00060 { 00061 char * date; 00062 time_t tp; 00063 00064 char expl[]="# Created : "; 00065 if (time(&tp)==-1) 00066 { 00067 _infoLine = new char[80]; 00068 strcpy(_infoLine," Error in time() "); 00069 return; 00070 } 00071 date=asctime(localtime(&tp)); 00072 _infoLine = new char[strlen(expl)+strlen(date)+1]; 00073 strcpy(_infoLine,expl); 00074 strcat(_infoLine,date); 00075 } |
|
Definition at line 79 of file infolines.h. References InfoLine::_infoLine.
00079 { return _infoLine; } |
|
Definition at line 75 of file infolines.h. Referenced by CmdLine::CmdLine(), ExecLocation::ExecLocation(), InfoLine::InfoLine(), InfoLine::operator const char *(), Platform::Platform(), TimeStamp(), User::User(), UserHomeDir::UserHomeDir(), and InfoLine::~InfoLine(). |