Plugins
Apps_ugdocu

Classes

class  ug::DocuGen::CppGenerator
 Generator to produce valid but dummy C++ files from registered classes and functions. More...
 
class  ug::DocuGen::UGRegistryGroup
 

Functions

void ug::DocuGen::AddLuaDebugCompletions (ostream &f)
 
bool ug::DocuGen::ClassGroupDescSort (const ClassGroupDesc *i, const ClassGroupDesc *j)
 
std::string ug::DocuGen::ConstructorInfoHTML (std::string classname, const bridge::ExportedConstructor &thefunc, std::string group)
 
bool ug::DocuGen::ExportedClassSort (const IExportedClass *i, const IExportedClass *j)
 
bool ug::DocuGen::ExportedFunctionsGroupSort (const bridge::ExportedFunction *i, const bridge::ExportedFunction *j)
 
bool ug::DocuGen::ExportedFunctionsSort (const bridge::ExportedFunctionBase *i, const bridge::ExportedFunctionBase *j)
 
string ug::DocuGen::FunctionInfoHTML (const bridge::ExportedFunctionBase &thefunc, const char *group)
 
string ug::DocuGen::FunctionInfoHTML (const bridge::ExportedFunctionBase &thefunc, const IExportedClass *c, bool bConst)
 
std::string ug::DocuGen::GetBeautifiedTag (std::string tag)
 
std::string ug::DocuGen::GetFilenameForGroup (std::string s, std::string dir="")
 
bool ug::DocuGen::IsPluginGroup (std::string g)
 
void ug::DocuGen::ParameterToString (std::ostream &file, const bridge::ParameterInfo &par, int i, bool bHTML)
 
void ug::DocuGen::PrintClassFunctionsHMTL (std::ostream &file, const bridge::IExportedClass *c, bool bInherited)
 
std::string ug::DocuGen::tohtmlstring (const std::string &str)
 
void ug::DocuGen::WriteClassCompleter (ostream &classhtml, UGDocuClassDescription *d, ClassHierarchy &hierarchy)
 
void ug::DocuGen::WriteClassHierarchy (const char *dir, ClassHierarchy &hierarchy)
 
void ug::DocuGen::WriteClassHierarchy (std::ostream &file, bridge::ClassHierarchy &c)
 
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 std::string &preamble, std::ostream &file, const char *classname, bool OutParameters)
 
void ug::DocuGen::WriteCompletionList (std::vector< UGDocuClassDescription > classesAndGroupsAndImplementations, bool bSilent)
 
void ug::DocuGen::WriteConstructorCompleter (ostream &f, string classname, const bridge::ExportedConstructor &thefunc, string group)
 
void ug::DocuGen::WriteFooter (std::fstream &file)
 
void ug::DocuGen::WriteFunctionCompleter (ostream &f, const char *desc, const bridge::ExportedFunctionBase &thefunc, string group, const char *pClass=NULL, bool bConst=false)
 
void ug::DocuGen::WriteFunctionHTMLCompleter (ostream &file, const bridge::ExportedFunctionBase &thefunc, const char *group, const char *pClass)
 
void ug::DocuGen::WriteHeader (std::fstream &file, const std::string &title)
 
void ug::DocuGen::WriteHTMLDocu (std::vector< UGDocuClassDescription > &classes, std::vector< UGDocuClassDescription > &classesAndGroups, const char *dir, ClassHierarchy &hierarchy)
 
template<typename T >
static void ug::DocuGen::WriteParametersIn (std::ostream &file, const T &thefunc, bool bHTML=true)
 
template<typename T >
static void ug::DocuGen::WriteParametersOut (std::ostream &file, const T &thefunc, bool bHTML=true)
 
void ug::DocuGen::WriteUGDocuCSS (const char *dir)
 

Detailed Description

Function Documentation

◆ AddLuaDebugCompletions()

void ug::DocuGen::AddLuaDebugCompletions ( ostream &  f)

◆ ClassGroupDescSort()

bool ug::DocuGen::ClassGroupDescSort ( const ClassGroupDesc i,
const ClassGroupDesc j 
)

◆ ConstructorInfoHTML()

std::string ug::DocuGen::ConstructorInfoHTML ( std::string  classname,
const bridge::ExportedConstructor thefunc,
std::string  group 
)

◆ ExportedClassSort()

bool ug::DocuGen::ExportedClassSort ( const IExportedClass i,
const IExportedClass j 
)

◆ ExportedFunctionsGroupSort()

bool ug::DocuGen::ExportedFunctionsGroupSort ( const bridge::ExportedFunction i,
const bridge::ExportedFunction j 
)

◆ ExportedFunctionsSort()

◆ FunctionInfoHTML() [1/2]

◆ FunctionInfoHTML() [2/2]

◆ GetBeautifiedTag()

std::string ug::DocuGen::GetBeautifiedTag ( std::string  tag)

◆ GetFilenameForGroup()

std::string ug::DocuGen::GetFilenameForGroup ( std::string  s,
std::string  dir = "" 
)

◆ IsPluginGroup()

bool ug::DocuGen::IsPluginGroup ( std::string  g)

◆ ParameterToString()

void ug::DocuGen::ParameterToString ( std::ostream &  file,
const bridge::ParameterInfo par,
int  i,
bool  bHTML 
)

◆ PrintClassFunctionsHMTL()

void ug::DocuGen::PrintClassFunctionsHMTL ( std::ostream &  file,
const bridge::IExportedClass c,
bool  bInherited 
)

◆ tohtmlstring()

std::string ug::DocuGen::tohtmlstring ( const std::string &  str)

◆ WriteClassCompleter()

◆ WriteClassHierarchy() [1/2]

void ug::DocuGen::WriteClassHierarchy ( const char *  dir,
ClassHierarchy hierarchy 
)

◆ WriteClassHierarchy() [2/2]

void ug::DocuGen::WriteClassHierarchy ( std::ostream &  file,
bridge::ClassHierarchy c 
)

◆ WriteClassHTML()

◆ WriteClassIndex()

◆ WriteClassUsageExact()

bool ug::DocuGen::WriteClassUsageExact ( const std::string &  preamble,
std::ostream &  file,
const char *  classname,
bool  OutParameters 
)

◆ WriteCompletionList()

void ug::DocuGen::WriteCompletionList ( std::vector< UGDocuClassDescription classesAndGroupsAndImplementations,
bool  bSilent 
)

◆ WriteConstructorCompleter()

void ug::DocuGen::WriteConstructorCompleter ( ostream &  f,
string  classname,
const bridge::ExportedConstructor thefunc,
string  group 
)

◆ WriteFooter()

void ug::DocuGen::WriteFooter ( std::fstream &  file)

◆ WriteFunctionCompleter()

void ug::DocuGen::WriteFunctionCompleter ( ostream &  f,
const char *  desc,
const bridge::ExportedFunctionBase thefunc,
string  group,
const char *  pClass = NULL,
bool  bConst = false 
)

◆ WriteFunctionHTMLCompleter()

◆ WriteHeader()

void ug::DocuGen::WriteHeader ( std::fstream &  file,
const std::string &  title 
)

◆ WriteHTMLDocu()

◆ WriteParametersIn()

template<typename T >
static void ug::DocuGen::WriteParametersIn ( std::ostream &  file,
const T &  thefunc,
bool  bHTML = true 
)
static

◆ WriteParametersOut()

template<typename T >
static void ug::DocuGen::WriteParametersOut ( std::ostream &  file,
const T &  thefunc,
bool  bHTML = true 
)
static

◆ WriteUGDocuCSS()

void ug::DocuGen::WriteUGDocuCSS ( const char *  dir)