UniSet 2.44.3
Класс uniset::ObjectIndex_Array

#include <ObjectIndex_Array.h>

Граф наследования:uniset::ObjectIndex_Array:
Граф связей класса uniset::ObjectIndex_Array:

Открытые члены

 ObjectIndex_Array (const ObjectInfo *objectInfo)
virtual const ObjectInfogetObjectInfo (const ObjectId) const noexcept override
virtual const ObjectInfogetObjectInfo (const std::string &name) const noexcept override
virtual ObjectId getIdByName (const std::string &name) const noexcept override
virtual std::string getMapName (const ObjectId id) const noexcept override
virtual std::string getTextName (const ObjectId id) const noexcept override
virtual std::ostream & printMap (std::ostream &os) const noexcept override
Открытые члены унаследованные от uniset::ObjectIndex
virtual std::string getNameById (const uniset::ObjectId id) const noexcept
std::string getNodeName (const uniset::ObjectId id) const noexcept
ObjectId getNodeId (const std::string &name) const noexcept
std::string getShortName (const uniset::ObjectId id) const noexcept
void initLocalNode (const uniset::ObjectId nodeid) noexcept

Друзья

std::ostream & operator<< (std::ostream &os, ObjectIndex_Array &oi)

Дополнительные унаследованные члены

Открытые статические члены унаследованные от uniset::ObjectIndex
static std::string getBaseName (const std::string &fname) noexcept
Защищенные данные унаследованные от uniset::ObjectIndex
std::string nmLocalNode = {""}

Подробное описание

DEPRECATED!

Уст.
Этот класс нужен для совместимости с очень древними проектами. Где список объектов объявлялся статическим массивом

Методы

◆ getIdByName()

ObjectId uniset::ObjectIndex_Array::getIdByName ( const std::string & name) const
overridevirtualnoexcept
Возвращает
uniset::DefaultObjectId if not found

Замещает uniset::ObjectIndex.

◆ getMapName()

string uniset::ObjectIndex_Array::getMapName ( const ObjectId id) const
overridevirtualnoexcept
Возвращает
"" if not found

Замещает uniset::ObjectIndex.

◆ getObjectInfo() [1/2]

const ObjectInfo * uniset::ObjectIndex_Array::getObjectInfo ( const ObjectId id) const
overridevirtualnoexcept

Замещает uniset::ObjectIndex.

◆ getObjectInfo() [2/2]

const ObjectInfo * uniset::ObjectIndex_Array::getObjectInfo ( const std::string & name) const
overridevirtualnoexcept

Замещает uniset::ObjectIndex.

◆ getTextName()

string uniset::ObjectIndex_Array::getTextName ( const ObjectId id) const
overridevirtualnoexcept
Возвращает
"" if not found

Замещает uniset::ObjectIndex.

◆ printMap()

std::ostream & uniset::ObjectIndex_Array::printMap ( std::ostream & os) const
overridevirtualnoexcept

Замещает uniset::ObjectIndex.