50 std::string displayName;
51 unsigned int displayId = 0;
53 IDMap::iterator it =
_idMap.find(classname);
64 displayName = it->second.first;
65 displayId = ++it->second.second;
68 std::ostringstream oss;
69 oss << displayName <<
" " << displayId;
71 return QString(oss.str().c_str());
static bool isRessourceFile()
static QString getString(const QString &classname, const QString &stringId)
Generateur de nom unique.
QString generateName(const char *classname)
Retourne le nom de la classe associe a un nombre.
static TYNameManager * get()
Retourne l'instance singleton.
std::pair< std::string, unsigned int > IDCounter
static LPTYNameManager _pInstance