#include <ObjectRepository.h>
Производные классы:ObjectRepositoryFactory [private].
Открытые типы | |
| enum | ObjectType { ObjectRef, Section } |
Открытые члены | |
| ObjectRepository (UniSetTypes::Configuration *conf) | |
| void | registration (const std::string &name, const UniSetTypes::ObjectPtr oRef, const std::string §ion, bool force=false) throw (UniSetTypes::ORepFailed, UniSetTypes::ObjectNameAlready, UniSetTypes::InvalidObjectName, UniSetTypes::NameNotFound) |
| Функция регистрации объекта по имени с указанием секции. | |
| void | registration (const std::string &fullName, const UniSetTypes::ObjectPtr oRef, bool force=false) throw (UniSetTypes::ORepFailed, UniSetTypes::ObjectNameAlready,UniSetTypes::InvalidObjectName, UniSetTypes::NameNotFound) |
| Функция регистрации объекта по полному имени. | |
| void | unregistration (const std::string &name, const std::string §ion) throw (UniSetTypes::ORepFailed, UniSetTypes::NameNotFound) |
| Удаление записи об объекте name в секции section. | |
| void | unregistration (const std::string &fullName) throw (UniSetTypes::ORepFailed, UniSetTypes::NameNotFound) |
| Удаление записи об объекте по полному имени. | |
| UniSetTypes::ObjectPtr | resolve (const std::string &name, const std::string NSName="NameService") throw (UniSetTypes::ORepFailed, UniSetTypes::NameNotFound) |
| bool | isExist (UniSetTypes::ObjectPtr oref) |
| bool | isExist (const std::string &fullName) |
| bool | list (const std::string §ion, UniSetTypes::ListObjectName *ls, unsigned int how_many=300) throw (UniSetTypes::ORepFailed) |
| Получение списка how_many объектов из секции section. | |
| bool | listSections (const std::string &in_section, UniSetTypes::ListObjectName *ls, unsigned int how_many=300) throw (UniSetTypes::ORepFailed) |
| Получние списка how_many подсекций из секции in_section. | |
Защищенные члены | |
| bool | list (const std::string §ion, UniSetTypes::ListObjectName *ls, unsigned int how_many, ObjectType type) |
Защищенные данные | |
| std::string | nsName |
| UniSetTypes::Configuration * | uconf |
| bool ObjectRepository::isExist | ( | const std::string & | fullName | ) |
Проверка существования и доступности объекта
| bool ObjectRepository::isExist | ( | UniSetTypes::ObjectPtr | oref | ) |
Проверка существования и доступности объекта
| UniSetTypes::ObjectPtr ObjectRepository::resolve | ( | const std::string & | name, | |
| const std::string | NSName = "NameService" | |||
| ) | throw (UniSetTypes::ORepFailed, UniSetTypes::NameNotFound) |
Получение ссылки по заданному полному имени (разыменовывание)
1.5.9