Demangle.hh 686 Bytes
/*
 * Demangle.hh
 *
 *  Created on: Nov 16, 2012
 *      Author: f.casimir
 */

#ifndef DEMANGLE_HH_
#define DEMANGLE_HH_

#include <typeinfo>

namespace AMDA {
namespace Helpers {

/**
  *  @brief Demangling routine.
  *  ABI-mandated entry point in the C++ runtime library for demangling.
  *
  *  @param __mangled_name A NUL-terminated character string
  *  containing the name to be demangled.
  *
  *  @return A pointer to the start of the NUL-terminated demangled
  *  name, or "" if the demangling fails. This is a static mémory, is non-re-entrant
  */
	extern const char* Demangle(const char* name);

} /* namespace Helpers */
} /* namespace AMDA */
#endif /* DEMANGLE_HH_ */