• Dates were appended in the middle of a text block if the buffer was flushed before a \n character was reached. A private member m_linestart has been added that tracks whether the buffer is actually at a line start or the middle of a text block. Dates are only set at the beginning of the buffer is the buffer is at a line start.
    Jürgen Knödlseder authored
     
    Browse Dir »




  • The GFits class now derives from GContainer and implements all generic container class methods (at(), size(), isempty(), set(), append(), insert(), remove(), reserve(), extend()). The hashdu() method has been renamed to contains() for compliance with other container classes. The hdu() methods have been renamed to at(), also for compliance. Boolean arguments are now passed as const references, and members are returned as const references. HDU access operators[] have been implemented to access FITS extensions without range checking.
    Jürgen Knödlseder authored
     
    Browse Dir »



  • Add GChatter argument to print() method.
    
    The print() method now takes an argument of type GChatter to control the chattiness of the output in a homogenous manner.
    Pass NORMAL chatter level in __str__ method.
    Add chatter argument to print() methods.
    Use GLog::chatter() method to control the chattiness of the log stream operator.
    Add chatter() methods and provide member access through const references.
    Add chatter() methods, provide member access through const references, and declare one liners as inline methods.
    
    The chatter() methods control the new m_chatter attribute that is used to control the chattiness of the object's print() methods.
    name() and version() methods return const references.
    logFileOpen() method now sets the chattiness from the applications's chatter parameter, and name() and version() methods now return a const reference.
    Jürgen Knödlseder authored
     
    Browse Dir »






  • Not all filesystems support file locking. Previously, an exception has been thrown in case that parfile locking failed. Now, no exception is thrown anymore, and the parfile is read or written without locking in case that file locking is not possible.
    
    The parfile locking check is controlled by the compile option G_CHECK_LOCK_PARFILE. If undefined, no checking will be performed. If defined, checking will be performed.
    Jürgen Knödlseder authored
     
    Browse Dir »



  • The code was overseen to comply to the GammaLib coding standards.
    
    The m_newline member has been removed as this member is not used any longer.
    
    The m_filename member is now initialized correctly in init_members() and copied in copy_members().
    
    A new method named prefix() has been added that provides the prefix. This reduces code duplication in the append() method. Furthermore, a possible indent was put back that was removed during code revision.
    Jürgen Knödlseder authored
     
    Browse Dir »