Ignore:
Timestamp:
10/13/10 15:25:55 (14 years ago)
Author:
hozdoba
Message:

Début Interface c<->fortran

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XMLIO_V2/dev/dev_rv/src/XMLIO/date.hpp

    r130 r131  
    99 
    1010         Date(const AbstractCalendar& cal, 
    11               int yr = 0, int mth = 1, int d = 1, int hr = 0, int min = 0 , int sec = 0) 
     11              int yr = 0, int mth = 1, int d   = 1, 
     12              int hr = 0, int min = 0, int sec = 0) 
    1213                  : relCalendar(cal) 
    1314                  , year(yr), month(mth), day(d), hour(hr), minute(min), second(sec) 
     
    1718         } 
    1819 
    19          Date(const Date& d) : relCalendar(d.getRelCalendar()) 
    20             , year(d.year), month(d.month), day(d.day), hour(d.hour), minute(d.minute), second(d.second) 
     20         Date(const Date& d) 
     21            : relCalendar(d.getRelCalendar()), 
     22              year(d.year), month(d.month)  , day(d.day), 
     23              hour(d.hour), minute(d.minute), second(d.second) 
    2124         { 
    2225            if(!this->checkDate()) 
     
    2730         { 
    2831            // relCalendar = d.getRelCalendar(); << inutile si fonction bien utilisée 
    29             year = d.year; month = d.month; day = d.day; 
     32            year = d.year; month  = d.month ; day    = d.day; 
    3033            hour = d.hour; minute = d.minute; second = d.second; 
    3134            return (*this); 
    3235         } 
    3336 
    34          operator Time(void);  // Retourne le nombre de secondes écoulées depuis la date initiale définie dans le calendrier. 
    35          bool checkDate(void); // Vérifie la validité de la date. 
     37         inline operator Time(void);  // Retourne le nombre de secondes écoulées depuis la date initiale définie dans le calendrier. 
     38         inline bool checkDate(void); // Vérifie la validité de la date. 
    3639 
    3740         std::string toString(void) const 
Note: See TracChangeset for help on using the changeset viewer.