dbtime Class Reference

#include <dbtime.h>

List of all members.

Public Member Functions

 dbtime ()
void readsw (const string &swtime)
string aceTime () const

Static Public Member Functions

static void convert (const char str[4], char dig[3])

Static Public Attributes

static const char *const mstr2dig [24]

Private Attributes

string year
string date
string month


Detailed Description

ace format: 1997-07-14_13:02:19 swissprot format: 01-NOV-1995 simple and fast string manipulation, no need for integer operation

Constructor & Destructor Documentation

dbtime::dbtime (  )  [inline]


Member Function Documentation

void dbtime::readsw ( const string &  swtime  ) 

References date, month, and year.

Referenced by ref::process(), and prt::writeAce().

string dbtime::aceTime (  )  const

References convert(), date, month, and year.

Referenced by ref::process(), and prt::writeAce().

void dbtime::convert ( const char  str[4],
char  dig[3] 
) [static]

References mstr2dig.

Referenced by aceTime().


Member Data Documentation

const char *const dbtime::mstr2dig [static]

Initial value:

 {"JAN", "01", "FEB", "02", 
        "MAR", "03", "APR", "04", "MAY", "05", "JUN", "06", "JUL", "07", 
        "AUG", "08", "SEP", "09", "OCT", "10", "NOV", "11", "DEC", "12"}

Referenced by convert().

string dbtime::year [private]

Referenced by aceTime(), and readsw().

string dbtime::date [private]

Referenced by aceTime(), and readsw().

string dbtime::month [private]

Referenced by aceTime(), and readsw().


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

Generated on Wed Oct 14 21:49:21 2009 for Softwares from Orpara by  doxygen 1.5.6