ug4
class_helper.cpp File Reference
#include <string>
#include <vector>
#include <algorithm>
#include "class_helper.h"
#include "registry.h"
#include "common/util/string_util.h"

Namespaces

 ug
 the ug namespace
 
 ug::bridge
 

Functions

string ug::bridge::ClassHierarchyString (const Registry &reg, const char *classname)
 
string ug::bridge::ClassInfo (const IExportedClass &c)
 Prints the (const) method of one class. More...
 
string ug::bridge::ClassInfo (const Registry &reg, const char *classname)
 
string ug::bridge::ClassUsageExact (const Registry &reg, const char *classname, bool OutParameters)
 
string ug::bridge::ConstructorInfo (const ExportedConstructor &constr, const char *classname, const char *highlightclassname)
 
const ExportedFunction * ug::bridge::FindFunction (const Registry &reg, const char *functionname)
 
string ug::bridge::FunctionInfo (const ExportedFunctionBase &thefunc, bool isConst, const char *classname, const char *highlightclassname, bool bPrintHelp)
 
string ug::bridge::FunctionInfo (const Registry &reg, const char *functionname)
 
void ug::bridge::GetClassHierarchy (ClassHierarchy &hierarchy, const Registry &reg)
 
Registry & ug::bridge::GetUGRegistry ()
 returns the default registry used in ug More...
 
bool ug::bridge::IsClassInParameters (const ParameterInfo &par, const char *classname)
 
string ug::bridge::ParameterToString (const ParameterInfo &par, int i)
 Gets a description of the i-th parameter of a ParameterStack todo: perhaps this function would be better somewhere else like in parameter_stack.cpp. More...
 
void ug::bridge::PrintClassSubHierarchy (ClassHierarchy &c, int level)
 
template<typename T >
string ug::bridge::PrintParametersIn (const T &thefunc, const char *highlightclassname)
 
string ug::bridge::PrintParametersOut (const ExportedFunctionBase &thefunc)
 

Detailed Description

Author
Martin Rupp
Date
20.10.2010

ClassHierarchy implementation, GetClassHierarchy

Goethe-Center for Scientific Computing 2009-2010.