Developer Documentation
Loading...
Searching...
No Matches
TypeInfoWrapper Class Reference

Wraps the information of a type. More...

#include <Plugin-PropertyVis/Utils.hh>

Public Member Functions

 TypeInfoWrapper (const std::type_info &ti, const char *friendlyName)
 
 TypeInfoWrapper (const std::type_info &ti)
 
 operator const std::type_info * () const
 
 operator const std::type_info & () const
 
 operator const char * () const
 
const std::type_info * operator-> () const
 
const std::type_info & get () const
 
const char * getName () const
 
bool operator== (const TypeInfoWrapper &other) const
 
bool operator< (const TypeInfoWrapper &other) const
 

Private Attributes

const std::type_info * ti
 
const char * friendlyName
 

Detailed Description

Wraps the information of a type.

This class is used to handle different property types. It provides a human readable string representation of the type and can also be used to find out which type a property has.

Definition at line 73 of file Utils.hh.

Constructor & Destructor Documentation

◆ TypeInfoWrapper() [1/2]

TypeInfoWrapper::TypeInfoWrapper ( const std::type_info &  ti,
const char *  friendlyName 
)
inline

Definition at line 75 of file Utils.hh.

◆ TypeInfoWrapper() [2/2]

TypeInfoWrapper::TypeInfoWrapper ( const std::type_info &  ti)
inline

Definition at line 76 of file Utils.hh.

Member Function Documentation

◆ get()

const std::type_info & TypeInfoWrapper::get ( ) const
inline

Definition at line 83 of file Utils.hh.

◆ getName()

const char * TypeInfoWrapper::getName ( ) const
inline

Definition at line 84 of file Utils.hh.

◆ operator const char *()

TypeInfoWrapper::operator const char * ( ) const
inline

Definition at line 80 of file Utils.hh.

◆ operator const std::type_info &()

TypeInfoWrapper::operator const std::type_info & ( ) const
inline

Definition at line 79 of file Utils.hh.

◆ operator const std::type_info *()

TypeInfoWrapper::operator const std::type_info * ( ) const
inline

Definition at line 78 of file Utils.hh.

◆ operator->()

const std::type_info * TypeInfoWrapper::operator-> ( ) const
inline

Definition at line 82 of file Utils.hh.

◆ operator<()

bool TypeInfoWrapper::operator< ( const TypeInfoWrapper other) const
inline

Definition at line 94 of file Utils.hh.

◆ operator==()

bool TypeInfoWrapper::operator== ( const TypeInfoWrapper other) const
inline

Definition at line 86 of file Utils.hh.

Member Data Documentation

◆ friendlyName

const char* TypeInfoWrapper::friendlyName
private

Definition at line 100 of file Utils.hh.

◆ ti

const std::type_info* TypeInfoWrapper::ti
private

Definition at line 99 of file Utils.hh.


The documentation for this class was generated from the following file: