#ifndef DConsoleUtilBase_h__ #define DConsoleUtilBase_h__ #include using namespace std; namespace ccdb { class DConsoleUtilBase { public: DConsoleUtilBase(void); virtual ~DConsoleUtilBase(void); /** @brief returns help for util * * @returns help text */ virtual string GetHelp()=0; /** @brief returns small (one line) description of a command * * @returns help text */ virtual string GetDescription()=0; /** @brief * * @returns examples text */ virtual string GetExamples()=0; /** @brief Process commands * * @param argc from main() * @param argv[] from main() * @param argcStart argument to start with * @returns void */ virtual int Process(int argc, char *argv[], int argcStart=2)=0; }; } #endif // DConsoleUtilBase_h__