JeVois  1.22
JeVois Smart Embedded Machine Vision Toolkit
Share this page:
Loading...
Searching...
No Matches
Name demangling functions

Name demangling functions return the original name of a type as written in the source code, as opposed to the name used internally by the compiler, which is mangled to avoid name conflicts and confusions across different namespaces, overloads, and such.

See http://en.wikipedia.org/wiki/Name_mangling for more information.

Collaboration diagram for Name demangling functions:

Functions

std::string jevois::demangle (std::string const &mangledName)
 Demangle a mangled name.
 
std::string jevois::demangle (char const *mangledName)
 Demangle a mangled name.
 
template<typename T >
std::string jevois::demangledName ()
 Get the demangled type name of type T.
 
template<>
std::string jevois::demangledName< std::string > ()
 Specialization for std::string to avoid getting an ugly name.
 

Function Documentation

◆ demangle() [1/2]

std::string jevois::demangle ( char const *  mangledName)

Demangle a mangled name.

◆ demangle() [2/2]

std::string jevois::demangle ( std::string const &  mangledName)

Demangle a mangled name.

Referenced by jevois::Component::className().

◆ demangledName()

template<typename T >
std::string jevois::demangledName ( )

Get the demangled type name of type T.

◆ demangledName< std::string >()

template<>
std::string jevois::demangledName< std::string > ( )

Specialization for std::string to avoid getting an ugly name.