ChimeraTK-ApplicationCore 04.06.00
Loading...
Searching...
No Matches
Utilities.h File Reference
#include <string>
+ Include dependency graph for Utilities.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ChimeraTK
 InvalidityTracer application module.
 
namespace  ChimeraTK::Utilities
 

Functions

std::string ChimeraTK::Utilities::getUnqualifiedName (const std::string &qualifiedName)
 Return the last component of the given qualified path name.
 
std::string ChimeraTK::Utilities::getPathName (const std::string &qualifiedName)
 Return all but the last components of the given qualified name.
 
std::string ChimeraTK::Utilities::escapeName (const std::string &name, bool allowDotsAndSlashes)
 Convert all characters which are not allowed in variable or module names into underscores followed by their 3-digit ascii code.
 
std::string ChimeraTK::Utilities::unescapeName (const std::string &name_stripped)
 Undo the escaping done by escapeName().
 
bool ChimeraTK::Utilities::checkName (const std::string &name, bool allowDotsAndSlashes)
 Check given name for characters which are not allowed in variable or module names.
 
void ChimeraTK::Utilities::setThreadName (const std::string &name)
 Set name of the current thread.
 
std::string ChimeraTK::Utilities::raiseIftrailingSlash (const std::string &name, bool isModule)
 Raises logic error if name ends in a slash, or if it contains consecutive slashes.
 
bool ChimeraTK::Utilities::isBeingDebugged ()
 Checks whether the current process is being debugged.