|
Plugins
|
App for generating documentation of registered classes and methods. More...
Namespaces | |
| namespace | Doxygen |
| Organization unit for Doxygen commands. | |
Classes | |
| class | ClassHierarchyProvider |
| class | CppGenerator |
| Generator to produce valid but dummy C++ files from registered classes and functions. More... | |
| class | UGDocuClassDescription |
| class | UGRegistryGroup |
Functions | |
| void | AddLuaDebugCompletions (ostream &f) |
| bool | ClassGroupDescSort (const ClassGroupDesc *i, const ClassGroupDesc *j) |
| std::string | ConstructorInfoHTML (std::string classname, const bridge::ExportedConstructor &thefunc, std::string group) |
| string | ConstructorInfoHTML (string classname, const bridge::ExportedConstructor &thefunc, string group) |
| bool | ExportedClassSort (const IExportedClass *i, const IExportedClass *j) |
| bool | ExportedFunctionsGroupSort (const bridge::ExportedFunction *i, const bridge::ExportedFunction *j) |
| bool | ExportedFunctionsSort (const bridge::ExportedFunctionBase *i, const bridge::ExportedFunctionBase *j) |
| string | FunctionInfoHTML (const bridge::ExportedFunctionBase &thefunc, const char *group) |
| string | FunctionInfoHTML (const bridge::ExportedFunctionBase &thefunc, const IExportedClass *c, bool bConst) |
| std::string | GetBeautifiedTag (std::string tag) |
| string | GetBeautifiedTag (string tag) |
| string | GetClassGroup (string classname) |
| string | GetClassGroupStd (string classname) |
| std::string | GetFilenameForGroup (std::string s, std::string dir="") |
| string | GetFilenameForGroup (string s, string dir) |
| void | GetGroups (std::map< string, UGRegistryGroup > &g) |
| void | GetGroups (std::vector< UGDocuClassDescription > &classes, std::vector< UGDocuClassDescription > &classesAndGroups, std::vector< UGDocuClassDescription > &classesAndGroupsAndImplementations) |
| UGDocuClassDescription * | GetUGDocuClassDescription (std::vector< UGDocuClassDescription > &classes, const IExportedClass *c) |
| bool | GroupNameSortFunction (const UGDocuClassDescription &i, const UGDocuClassDescription &j) |
| bool | IsPluginGroup (std::string g) |
| bool | IsPluginGroup (string g) |
| bool | NameSortFunction (const UGDocuClassDescription &i, const UGDocuClassDescription &j) |
| void | ParameterToString (ostream &file, const bridge::ParameterInfo &par, int i, bool bHTML) |
| void | ParameterToString (std::ostream &file, const bridge::ParameterInfo &par, int i, bool bHTML) |
| void | PrintClassFunctionsHMTL (ostream &file, const IExportedClass *c, bool bInherited) |
| void | PrintClassFunctionsHMTL (std::ostream &file, const bridge::IExportedClass *c, bool bInherited) |
| template<typename T > | |
| void | remove_doubles (vector< T > &v) |
| std::string | tohtmlstring (const std::string &str) |
| string | tohtmlstring (const string &str) |
| void | WriteClassCompleter (ostream &classhtml, UGDocuClassDescription *d, ClassHierarchy &hierarchy) |
| void | WriteClassHierarchy (const char *dir, ClassHierarchy &hierarchy) |
| void | WriteClassHierarchy (ostream &file, ClassHierarchy &c) |
| void | WriteClassHierarchy (std::ostream &file, bridge::ClassHierarchy &c) |
| void | WriteClassHTML (const char *dir, UGDocuClassDescription *d, ClassHierarchy &hierarchy) |
| void | WriteClassIndex (const char *dir, std::vector< UGDocuClassDescription > &classesAndGroups, bool bGroup) |
| bool | WriteClassUsageExact (const std::string &preamble, std::ostream &file, const char *classname, bool OutParameters) |
| bool | WriteClassUsageExact (const string &preamble, ostream &file, const char *classname, bool OutParameters) |
| void | WriteCompletionList (std::vector< UGDocuClassDescription > &classesAndGroupsAndImplementations, bool bSilent, ClassHierarchy &hierarchy) |
| void | WriteCompletionList (std::vector< UGDocuClassDescription > classesAndGroupsAndImplementations, bool bSilent) |
| void | WriteConstructorCompleter (ostream &f, string classname, const bridge::ExportedConstructor &thefunc, string group) |
| void | WriteFooter (fstream &file) |
| void | WriteFooter (std::fstream &file) |
| void | WriteFunctionCompleter (ostream &f, const char *desc, const bridge::ExportedFunctionBase &thefunc, string group, const char *pClass=NULL, bool bConst=false) |
| void | WriteFunctionHTMLCompleter (ostream &file, const bridge::ExportedFunctionBase &thefunc, const char *group, const char *pClass) |
| template<typename TSortFunction > | |
| void | WriteGlobalFunctions (const char *dir, const char *filename, TSortFunction sortFunction) |
| void | WriteGroups (const char *dir, std::vector< UGDocuClassDescription > &classesAndGroups) |
| void | WriteHeader (fstream &file, const string &title) |
| void | WriteHeader (std::fstream &file, const std::string &title) |
| void | WriteHTMLDocu (std::vector< UGDocuClassDescription > &classes, std::vector< UGDocuClassDescription > &classesAndGroups, const char *dir, ClassHierarchy &hierarchy) |
| template<typename T > | |
| static void | WriteParametersIn (std::ostream &file, const T &thefunc, bool bHTML=true) |
| template<typename T > | |
| static void | WriteParametersOut (std::ostream &file, const T &thefunc, bool bHTML=true) |
| void | WriteUGDocuCSS (const char *dir) |
Variables | |
| vector< UGDocuClassDescription > | classes |
| vector< UGDocuClassDescription > | classesAndGroups |
| vector< UGDocuClassDescription > | classesAndGroupsAndImplementations |
App for generating documentation of registered classes and methods.
| string ug::DocuGen::ConstructorInfoHTML | ( | string | classname, |
| const bridge::ExportedConstructor & | thefunc, | ||
| string | group | ||
| ) |
References ug::bridge::GetDomainSuffix(), UG_CATCH_THROW_FUNC, WriteParametersIn(), and ug::XMLStringEscape().
Referenced by PrintClassFunctionsHMTL().
| string ug::DocuGen::GetBeautifiedTag | ( | string | tag | ) |
References ug::ReplaceAll().
Referenced by WriteClassHTML().
| string ug::DocuGen::GetClassGroup | ( | string | classname | ) |
| string ug::DocuGen::GetClassGroupStd | ( | string | classname | ) |
| string ug::DocuGen::GetFilenameForGroup | ( | string | s, |
| string | dir | ||
| ) |
References ug::bridge::GetDomainSuffix(), IsPluginGroup(), ug::ReplaceAll(), and s.
Referenced by WriteClassHTML(), and WriteGroups().
| void ug::DocuGen::GetGroups | ( | std::map< string, UGRegistryGroup > & | g | ) |
| void ug::DocuGen::GetGroups | ( | std::vector< UGDocuClassDescription > & | classes, |
| std::vector< UGDocuClassDescription > & | classesAndGroups, | ||
| std::vector< UGDocuClassDescription > & | classesAndGroupsAndImplementations | ||
| ) |
References classes, classesAndGroups, classesAndGroupsAndImplementations, ug::bridge::Registry::get_class(), ug::bridge::ClassGroupDesc::get_class(), ug::bridge::Registry::get_class_group(), ug::bridge::ClassGroupDesc::get_class_tag(), ug::bridge::GetDomainSuffix(), GetUGDocuClassDescription(), ug::bridge::GetUGRegistry(), NameSortFunction(), ug::bridge::Registry::num_class_groups(), ug::bridge::ClassGroupDesc::num_classes(), ug::bridge::Registry::num_classes(), and UG_CATCH_THROW_FUNC.
| UGDocuClassDescription * ug::DocuGen::GetUGDocuClassDescription | ( | std::vector< UGDocuClassDescription > & | classes, |
| const IExportedClass * | c | ||
| ) |
References classes, ug::bridge::GetDomainSuffix(), and NameSortFunction().
Referenced by GetClassGroup(), GetClassGroupStd(), GetGroups(), and WriteHTMLDocu().
| bool ug::DocuGen::GroupNameSortFunction | ( | const UGDocuClassDescription & | i, |
| const UGDocuClassDescription & | j | ||
| ) |
References ug::bridge::GetDomainSuffix(), ug::DocuGen::UGDocuClassDescription::group_str(), and ug::DocuGen::UGDocuClassDescription::name().
Referenced by WriteClassIndex().
| bool ug::DocuGen::IsPluginGroup | ( | string | g | ) |
References ug::StartsWith().
Referenced by GetFilenameForGroup(), and WriteGroups().
| bool ug::DocuGen::NameSortFunction | ( | const UGDocuClassDescription & | i, |
| const UGDocuClassDescription & | j | ||
| ) |
References ug::bridge::GetDomainSuffix(), and ug::DocuGen::UGDocuClassDescription::name().
Referenced by GetGroups(), GetUGDocuClassDescription(), and WriteClassIndex().
| void ug::DocuGen::ParameterToString | ( | ostream & | file, |
| const bridge::ParameterInfo & | par, | ||
| int | i, | ||
| bool | bHTML | ||
| ) |
References ug::bridge::GetDomainSuffix(), ParameterToString(), and ug::XMLStringEscape().
Referenced by ParameterToString(), WriteFunctionCompleter(), WriteParametersIn(), and WriteParametersOut().
| void ug::DocuGen::PrintClassFunctionsHMTL | ( | ostream & | file, |
| const IExportedClass * | c, | ||
| bool | bInherited | ||
| ) |
References ConstructorInfoHTML(), ExportedFunctionsSort(), FunctionInfoHTML(), GetClassGroup(), ug::bridge::GetDomainSuffix(), and UG_CATCH_THROW_FUNC.
Referenced by WriteClassCompleter(), and WriteClassHTML().
| void ug::DocuGen::remove_doubles | ( | vector< T > & | v | ) |
References ug::bridge::GetDomainSuffix().
Referenced by WriteClassUsageExact(), WriteGlobalFunctions(), and WriteGroups().
| string ug::DocuGen::tohtmlstring | ( | const string & | str | ) |
Referenced by WriteHeader().
| void ug::DocuGen::WriteClassHierarchy | ( | ostream & | file, |
| ClassHierarchy & | c | ||
| ) |
References GetClassGroup(), ug::bridge::GetDomainSuffix(), and WriteClassHierarchy().
| bool ug::DocuGen::WriteClassUsageExact | ( | const string & | preamble, |
| ostream & | file, | ||
| const char * | classname, | ||
| bool | OutParameters | ||
| ) |
| classname | the class (and only this class) to print usage in functions/member functions of. |
References FunctionInfoHTML(), ug::bridge::Registry::get_class(), ug::bridge::Registry::get_function(), ug::bridge::GetDomainSuffix(), ug::bridge::GetUGRegistry(), ug::bridge::IsClassInParameters(), ug::bridge::Registry::num_classes(), ug::bridge::Registry::num_functions(), remove_doubles(), and UG_CATCH_THROW_FUNC.
Referenced by WriteClassCompleter(), and WriteClassHTML().
| void ug::DocuGen::WriteFooter | ( | fstream & | file | ) |
References ug::bridge::GetDomainSuffix().
Referenced by WriteClassHierarchy(), WriteClassHTML(), WriteClassIndex(), WriteGlobalFunctions(), and WriteGroups().
| void ug::DocuGen::WriteGlobalFunctions | ( | const char * | dir, |
| const char * | filename, | ||
| TSortFunction | sortFunction | ||
| ) |
| void ug::DocuGen::WriteGroups | ( | const char * | dir, |
| std::vector< UGDocuClassDescription > & | classesAndGroups | ||
| ) |
| void ug::DocuGen::WriteHeader | ( | fstream & | file, |
| const string & | title | ||
| ) |
References clickEventHandler_txt, ug::bridge::GetDomainSuffix(), tohtmlstring(), and ug::UGSvnRevision().
Referenced by WriteClassHierarchy(), WriteClassHTML(), WriteClassIndex(), WriteGlobalFunctions(), and WriteGroups().