#ifndef _UMLOPERATION_H #define _UMLOPERATION_H #include "UmlBaseOperation.h" #include #include "Vector.h" // This class manages 'operations', notes that the class 'UmlClassItem' // is a mother class of all the class's children. // // You can modify it as you want (except the constructor) class UmlOperation : public UmlBaseOperation { public: UmlOperation(void * id, const QCString & n) : UmlBaseOperation(id, n) {}; //returns a string indicating the king of the element virtual QCString sKind(); virtual void memo_ref(); //entry to produce the html code receiving chapter number //path, rank in the mother and level in the browser tree virtual void html(QCString pfix, unsigned int rank, unsigned int level); static void ref_index(); static void generate_index(); private: //produce the definition in Uml void gen_uml_decl(); //produce the definition in C++ void gen_cpp_decl(QCString s, bool descr); //produce the definition in Java void gen_java_decl(QCString s); //produce the definition in Php void gen_php_decl(QCString s); public: QCString compute_name(QCString s); protected: static Vector opers; }; #endif