Date Struct Reference

#include <compound.hh>


Public Member Functions

 Date (int y, int m, int d)
 Date ()
bool operator< (const Date &date) const
bool operator== (const Date &date) const
bool operator!= (const Date &date) const

Static Public Member Functions

static Date FromString (const StringRef &str)

Data Fields

int year
int month
int day


Detailed Description

Definition at line 31 of file compound.hh.


Constructor & Destructor Documentation

Date ( int  y,
int  m,
int  d 
) [inline]

Definition at line 32 of file compound.hh.

Date (  )  [inline]

Definition at line 35 of file compound.hh.


Member Function Documentation

static Date FromString ( const StringRef str  )  [inline, static]

Definition at line 52 of file compound.hh.

bool operator!= ( const Date date  )  const [inline]

Definition at line 47 of file compound.hh.

bool operator< ( const Date date  )  const [inline]

Definition at line 38 of file compound.hh.

bool operator== ( const Date date  )  const [inline]

Definition at line 42 of file compound.hh.


Field Documentation

int day

Definition at line 65 of file compound.hh.

int month

Definition at line 64 of file compound.hh.

int year

Definition at line 63 of file compound.hh.


The documentation for this struct was generated from the following file:

Generated on Fri Jul 2 14:23:06 2010 for OpenStructure by  doxygen 1.5.8