-
Removed the optional extname argument from: - GEbounds - GEnergies - GGti - GNodeArray - GCTAPointing - GMWLObservation - GMWLSpectrum
-
…or the observation Python module. The classname() method returns in a human readable format the class name. This method is needed for full automatic typecasting in Python. Full automatic typecasting has for the moment been implemented for the observation module.
-
…est in operator[] access.
-
The coding and design conventions (CDC) document was also updated.
-
The node array class now derives from the container base class. All typical container methods, such as at(), size(), isempty(), append(), insert(), remove(), reserve() and extend() are now implemented. Unit tests have been added to check the functionnality. The Python interface now implements the __len__ method on the GContainer class level. This allows to determine container sizes using the len() function. The __len__ method is now obsolete in the derived classes and thus has been removed.
-
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.
-
A value cache has been added to that the interpolation computations are only done when the value or the nodes have been changed between subsequent class to @set_value()@ or @interpolate()@ (@interpolate()@ calls in fact @set_value()@, so that the changes have only be done in the @set_value()@ method). An unnecessary if statement has been removed from the bi-section algorithm. See feature #102.
-
So far, the evaluation cache has not been updated after a node access. This led to a corrupt node array. A flag has been added that leads to cache update when node values have potentially changed. I also declared cache members as mutable so that the setup and set_value methods can now be declared const. This makes the class cleaner.
-
I went over all .hpp to make sure that the GBase.hpp file is properly included, and no supoerfluous other includes remain. I also checked that no ostream and GLog friends are no longer available. I went over all .i files to make sure that classes are derived from GBase.
-
The ostream and GLog functions are not defined at the GBase level.
-
…s const, add print() method