Функции | |
| CosNaming::NamingContext_ptr | getRootNamingContext (CORBA::ORB_ptr orb, const std::string &nsName, int timeOutSec=2) |
| Получение ссылки на корень репозитория. | |
| CosNaming::NamingContext_ptr | getContext (const std::string &cname, int argc, const char *const *argv, const std::string &nsName) throw (UniSetTypes::ORepFailed) |
| Получение контекста по заданному имени. | |
| CosNaming::NamingContext_ptr | getContext (CORBA::ORB_ptr orb, const std::string &cname, const std::string &nsName) throw (UniSetTypes::ORepFailed) |
| const std::string | getSectionName (const std::string &fullName, const std::string brk="/") |
| Функция отделяющая имя секции от полного имени. | |
| const std::string | getShortName (const std::string &fullName, const std::string brk="/") |
| Функция выделения имени из полного имени. | |
| char | checkBadSymbols (const std::string &str) |
| Проверка на наличие недопустимых символов. | |
| std::string | BadSymbolsToStr () |
| CosNaming::NamingContext_ptr | getContext (const string &cname, int argc, const char *const *argv, const string &nsName) throw (ORepFailed) |
| CosNaming::NamingContext_ptr | getContext (CORBA::ORB_ptr orb, const string &cname, const string &servname) throw (ORepFailed) |
| CosNaming::NamingContext_ptr | getRootNamingContext (CORBA::ORB_ptr orb, const string &nsName, int timeoutSec) |
| const string | getShortName (const string &fname, const std::string brk) |
| const string | getSectionName (const string &fullName, const std::string brk) |
| char | checkBadSymbols (const string &str) |
| string ORepHelpers::BadSymbolsToStr | ( | ) |
Получение строки запрещенных символов в виде '.', '/', и т.д.
Перекрестные ссылки UniSetTypes::BadSymbols.
| char ORepHelpers::checkBadSymbols | ( | const std::string & | str | ) |
Проверка на наличие недопустимых символов.
| CosNaming::NamingContext_ptr ORepHelpers::getContext | ( | const string & | cname, | |
| int | argc, | |||
| const char *const * | argv, | |||
| const string & | nsName | |||
| ) | throw (ORepFailed) |
| cname | - полное имя контекста ссылку на который, возвратит функция. | |
| argc,argv | - параметры инициализации ORB |
Перекрестные ссылки DebugStream::debugging(), getContext() и UniSetTypes::unideb.
| CosNaming::NamingContext_ptr ORepHelpers::getContext | ( | const std::string & | cname, | |
| int | argc, | |||
| const char *const * | argv, | |||
| const std::string & | nsName | |||
| ) | throw (UniSetTypes::ORepFailed) |
| CosNaming::NamingContext_ptr ORepHelpers::getRootNamingContext | ( | CORBA::ORB_ptr | orb, | |
| const string & | nsName, | |||
| int | timeoutSec | |||
| ) |
| CosNaming::NamingContext_ptr ORepHelpers::getRootNamingContext | ( | CORBA::ORB_ptr | orb, | |
| const std::string & | nsName, | |||
| int | timeOutSec = 2 | |||
| ) |
Получение ссылки на корень репозитория.
| const string ORepHelpers::getSectionName | ( | const string & | fullName, | |
| const std::string | brk | |||
| ) |
| fullName | - полное имя включающее в себя путь | |
| brk | - используемый символ разделитель |
| const std::string ORepHelpers::getSectionName | ( | const std::string & | fullName, | |
| const std::string | brk = "/" | |||
| ) |
| const string ORepHelpers::getShortName | ( | const string & | fname, | |
| const std::string | brk | |||
| ) |
| fname | - полное имя включающее в себя путь ("Root/Section1/name|Node:Alias") | |
| brk | - используемый символ разделитель |
Перекрестные ссылки UniSetTypes::conf и UniSetTypes::Configuration::oind.
| const std::string ORepHelpers::getShortName | ( | const std::string & | fullName, | |
| const std::string | brk = "/" | |||
| ) |
Функция выделения имени из полного имени.
1.5.9