-
…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.
-
…uble. A smart pointer is now used for the static memory allocation so that memory gets freed correctly before exit.
-
…or the GModelTemporalRegistry class. The smart pointer takes care of deleting the pointer upon exit of gammalib. Before there were remaining allocated memory zones due to the static pointers holding the registry information. Using smart pointer it is made sure that the memory is deallocated properly.
-
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.
-
The GRegistry interface class is the base class for all GammaLib registries. It requires the following methods to be implemented by each registry: size(), name(), and print(). Output ostream and GLog operators are implement on the GRegistry level, so that no output friends are required on the class level.