#include <Tools.h>
Static Public Member Functions | |
static std::string | addNumber (const std::string &, unsigned int, int d=0) |
static std::string | getIdentifier (const std::string &) |
static std::string | getUniqueName (const std::string &, const std::vector< std::string > &, int d=0) |
Definition at line 149 of file Base/Tools.h.
std::string Base::Tools::addNumber | ( | const std::string & | name, | |
unsigned int | num, | |||
int | d = 0 | |||
) | [static] |
Definition at line 96 of file Base/Tools.cpp.
std::string Base::Tools::getIdentifier | ( | const std::string & | name | ) | [static] |
Definition at line 108 of file Base/Tools.cpp.
Referenced by App::Application::getUniqueDocumentName(), and App::Document::getUniqueObjectName().
std::string Base::Tools::getUniqueName | ( | const std::string & | name, | |
const std::vector< std::string > & | names, | |||
int | d = 0 | |||
) | [static] |
Definition at line 71 of file Base/Tools.cpp.
References Base::string_comp::increment(), and RobotExample::pos.
Referenced by App::Document::getStandardObjectName(), App::Application::getUniqueDocumentName(), Base::Writer::getUniqueFileName(), App::Document::getUniqueObjectName(), and Gui::ObjectLabelObserver::slotRelabelObject().