• Time setting and getting methods for Julian Days, Modified Julian Days, native seconds and native days are now available that allow specifying the time system. Currently, TT, TAI and UTC are supported.
    
    Methods have also been added that return the Greenwich mean and apparent siderial times, and the local mean and apparent siderial times that depend on the geographic longitude.
    
    Finally, a now() method has been added that sets the time to the current time.
    Jürgen Knödlseder authored
     
    Browse File »
















  • The events() set method now takes a const reference instead of a const pointer as argument. Some methods have now been defined inline.
    Jürgen Knödlseder authored
     
    Browse File »
  • GTime
      The secs() method now returns a const reference.
    
    GTimeReference
      The load constructor and the read() and write() methods take
      a const reference instead of a pointer.
    
    GGti
      The read() and write() methods now use references instead of
      pointers. The clobber argument in the save() method is passed
      as const reference.
    
    GEbounds
      The read() and write() methods now use FITS references instead
      of pointers. The clobber argument in the save() method is passed
      as const reference.
    
    GPhoton
      Add mcid argument to Photon constructor (defaults to -1).
    Jürgen Knödlseder authored
     
    Browse File »

  • GTestSuites
      The GTestSuites class now derives from GContainer and implements
      the usual container class methods (at(), size(), isempty(),
      set(), append(), insert(), remove(), reserve() and extend()).
      The operator[] now returns pointers to GTestSuite. The name()
      and timestamp() methods now return const references.
    
    GTestSuite
      The GTestSuite class now derives from GBase. This implies that
      the clone() method needs to be implemented for derived classes.
      The test_assert() method now takes a const reference for the
      boolean argument. The name(), errors(), failures(), and
      timestamp() methods return const references. The obsolete
      add_test() method has been removed.
    
    The unit tests have been updated to conform to the new interfaces.
    Jürgen Knödlseder authored
     
    Browse File »