cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Macros | Functions | Variables
parse_age.cpp File Reference
#include "cddefines.h"
#include "timesc.h"
#include "parser.h"
Include dependency graph for parse_age.cpp:

Go to the source code of this file.

Namespaces

 Time
 

Macros

#define NUMBEROF(a)   (sizeof(a)/sizeof((a)[0]))
 

Functions

void ParseAge (Parser &p)
 

Variables

const double Time::YEAR =3.15569e7
 
const double Time::MILLENIUM =YEAR*1000.
 
const double Time::CENTURY =YEAR*100.
 
const double Time::MONTH =YEAR/12.
 
const double Time::FORTNIGHT =(24.*3600.*14.)
 
const double Time::WEEK =(24.*3600.*7.)
 
const double Time::DAY =(24.*3600.)
 
const double Time::HOUR =3600.
 
const double Time::MINUTE =60.
 
const double Time::SECOND =1.
 
KeyAction< UnitConverterTime::TimeUnits []
 

Macro Definition Documentation

#define NUMBEROF (   a)    (sizeof(a)/sizeof((a)[0]))

Definition at line 8 of file parse_age.cpp.

Referenced by ParseAge().

Function Documentation

void ParseAge ( Parser p)

ParseAge - parse the age command

Definition at line 38 of file parse_age.cpp.

References cdEXIT, t_timesc::CloudAgeSet, DEBUG_ENTRY, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), ioQQQ, Parser::lgEOL(), NUMBEROF, Parser::nWord(), parserProcess(), timesc, and Time::TimeUnits.

Referenced by ParseCommands().

Here is the call graph for this function: