Открытые типы |
| enum | ObjectType { ObjectRef,
Section
} |
Открытые члены |
|
| ObjectRepository (const std::shared_ptr< uniset::Configuration > &conf) |
| void | registration (const std::string &name, const uniset::ObjectPtr oRef, const std::string §ion, bool force=false) const throw (uniset::ORepFailed, uniset::ObjectNameAlready, uniset::InvalidObjectName, uniset::NameNotFound) |
| | Функция регистрации объекта по имени с указанием секции
|
| void | registration (const std::string &fullName, const uniset::ObjectPtr oRef, bool force=false) const throw (uniset::ORepFailed, uniset::ObjectNameAlready, uniset::InvalidObjectName, uniset::NameNotFound) |
| | Функция регистрации объекта по полному имени.
|
| void | unregistration (const std::string &name, const std::string §ion) const throw (uniset::ORepFailed, uniset::NameNotFound) |
| | Удаление записи об объекте name в секции section.
|
| void | unregistration (const std::string &fullName) const throw (uniset::ORepFailed, uniset::NameNotFound) |
| | Удаление записи об объекте по полному имени
|
| uniset::ObjectPtr | resolve (const std::string &name, const std::string &NSName="NameService") const throw (uniset::ORepFailed, uniset::NameNotFound) |
| bool | isExist (const uniset::ObjectPtr &oref) const |
| bool | isExist (const std::string &fullName) const |
| bool | list (const std::string §ion, uniset::ListObjectName *ls, size_t how_many=300) throw (uniset::ORepFailed) |
| | Получение списка how_many объектов из секции section.
|
| bool | listSections (const std::string &in_section, uniset::ListObjectName *ls, size_t how_many=300) throw (uniset::ORepFailed) |
| | Получние списка how_many подсекций из секции in_section.
|
| bool | createSection (const std::string &name, const std::string &in_section) throw (uniset::ORepFailed, uniset::InvalidObjectName) |
| | Создание секции
|
| bool | createSectionF (const std::string &fullName) throw (uniset::ORepFailed, uniset::InvalidObjectName) |
| bool | createRootSection (const std::string &name) |
| | Функция создания секции в корневом 'каталоге'.
|
| bool | removeSection (const std::string &fullName, bool recursive=false) |
| | Функция удаления секции
|
| bool | renameSection (const std::string &newName, const std::string &fullName) |
| | Функция переименования секции
|
| void | printSection (const std::string &fullName) |
Защищенные члены |
| bool | list (const std::string §ion, uniset::ListObjectName *ls, unsigned int how_many, ObjectType type) |
| bool | createContext (const std::string &cname, CosNaming::NamingContext_ptr ctx) |
Защищенные данные |
|
std::string | nsName |
std::shared_ptr
< uniset::Configuration > | uconf |