ug4
class_name_provider.h File Reference
#include "common/assert.h"
#include <vector>
#include <cstring>
#include <string>
#include <algorithm>
#include <iostream>
#include <typeinfo>
#include <map>
#include "common/common.h"
#include "common/util/smart_pointer.h"
#include "common/ug_config.h"
#include "error.h"
#include "class_name_provider_impl.h"

Go to the source code of this file.

Classes

class  ug::bridge::ClassCastProvider
 provides castings from derived classes to base classes More...
 
class  ug::bridge::ClassNameNode
 node for class names More...
 
class  ug::bridge::ClassNameProvider< TClass >
 provides the name for a class More...
 
struct  ug::bridge::UGError_ClassCastFailed
 

Namespaces

 ug
 the ug namespace
 
 ug::bridge
 

Functions

bool ug::bridge::ClassNameTreeContains (const ClassNameNode &node, const std::string &name)
 returns if a name is contained in the name tree at node or in base classes More...
 
bool ug::bridge::ClassNameTreeWay (std::vector< size_t > &vWay, const ClassNameNode &node, const std::string &name)
 
bool ug::bridge::ClassNameVecContains (const std::vector< const char * > &names, const std::string &name)
 returns if a name is contained in the name vector More...
 
void ug::bridge::ExtractClassNameVec (std::vector< const char * > &names, const ClassNameNode &node, bool clearVec=true)
 returns the vector containing all names in the name tree for node and its base classes More...
 
template<typename TClass >
const char * ug::bridge::GetClassName ()
 
template<typename TBase , typename TDerived >
void * ug::bridge::StaticVoidCast (void *DerivVoidPtr)
 static cast function for two classes More...