/*! * \file Derived.h * \brief * * <+DETAILED+> * * \author Chinmay Borwankar (), * * \internal * Created: 02/20/2020 * Revision: none * Compiler: gcc * Organization: Astrophysical Sciences Division, Bhabha Atomic Research Centre * Copyright: * * This source code is released for free distribution under the terms of the * GNU General Public License as published by the Free Software Foundation. */ //#include #include "TObject.h" /* * ===================================================================================== * Class: Derived * Description: * * ===================================================================================== */ class Derived : public TObject { public: /* ==================== LIFECYCLE ======================================= */ Derived () : TObject() {} ; /* constructor */ virtual void Warning(const char *method, const char *msgfmt, ...) /* ==================== ACCESSORS ======================================= */ /* ==================== MUTATORS ======================================= */ /* ==================== OPERATORS ======================================= */ protected: /* ==================== METHODS ======================================= */ /* ==================== DATA MEMBERS ======================================= */ private: /* ==================== METHODS ======================================= */ /* ==================== DATA MEMBERS ======================================= */ /// \endcond{CLASSIMP} ClassDef(Derived,1) ; /// \endcond }; /* ----- end of class Derived ----- */ //\endcond{CLASSIMP} ClassImp(Derived) //\endcond void Derived :: Warning(const char* method, const char* msgfmt, ...) { printf("Calling Warning from Derived") ; }