Plugins
html_generation.cpp File Reference
#include <iostream>
#include <sstream>
#include <string>
#include "ug.h"
#include "ugbase.h"
#include "bindings/lua/lua_util.h"
#include "registry/class_helper.h"
#include "bridge/bridge.h"
#include "common/util/parameter_parsing.h"
#include "compile_info/compile_info.h"
#include "html_generation.h"
#include "ugdocu.css.h"
#include "clickEventHandler.txt.h"

Namespaces

 ug
 
 ug::DocuGen
 App for generating documentation of registered classes and methods.
 

Functions

string ug::DocuGen::ConstructorInfoHTML (string classname, const bridge::ExportedConstructor &thefunc, string group)
 
string ug::DocuGen::FunctionInfoHTML (const bridge::ExportedFunctionBase &thefunc, const char *group)
 
string ug::DocuGen::FunctionInfoHTML (const bridge::ExportedFunctionBase &thefunc, const IExportedClass *c, bool bConst)
 
string ug::DocuGen::GetClassGroup (string classname)
 
void ug::DocuGen::GetGroups (std::map< string, UGRegistryGroup > &g)
 
void ug::DocuGen::PrintClassFunctionsHMTL (ostream &file, const IExportedClass *c, bool bInherited)
 
template<typename T >
void ug::DocuGen::remove_doubles (vector< T > &v)
 
void ug::DocuGen::WriteClassHierarchy (const char *dir, ClassHierarchy &hierarchy)
 
void ug::DocuGen::WriteClassHTML (const char *dir, UGDocuClassDescription *d, ClassHierarchy &hierarchy)
 
void ug::DocuGen::WriteClassIndex (const char *dir, std::vector< UGDocuClassDescription > &classesAndGroups, bool bGroup)
 
bool ug::DocuGen::WriteClassUsageExact (const string &preamble, ostream &file, const char *classname, bool OutParameters)
 
void ug::DocuGen::WriteFooter (fstream &file)
 
template<typename TSortFunction >
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)
 
void ug::DocuGen::WriteHTMLDocu (std::vector< UGDocuClassDescription > &classes, std::vector< UGDocuClassDescription > &classesAndGroups, const char *dir, ClassHierarchy &hierarchy)
 
void ug::DocuGen::WriteUGDocuCSS (const char *dir)