OpenRTM-aist  1.2.1
CORBA_IORUtil.h
Go to the documentation of this file.
1 // -*- C++ -*-
18 #ifndef CORBA_IORUTIL_H
19 #define CORBA_IORUTIL_H
20 
21 #include <rtm/RTC.h>
22 
38 namespace CORBA_IORUtil
39 {
49 #if !defined(ORB_IS_ORBEXPRESS) && !defined(ORB_IS_TAO)
50  bool toIOR(const char* iorstr, IOP::IOR& ior);
51 #endif // !defined(ORB_IS_ORBEXPRESS) && !defined(ORB_IS_TAO)
52 
61 #if !defined(ORB_IS_ORBEXPRESS) && !defined(ORB_IS_TAO)
62  bool toString(IOP::IOR& ior, std::string& iorstr);
63 #endif // !defined(ORB_IS_ORBEXPRESS) && !defined(ORB_IS_TAO)
64 
71  bool replaceEndpoint(std::string& iorstr, const std::string& endpoint);
72 
80  std::string formatIORinfo(const char* iorstr);
81 
82  std::vector<IIOP::Address> getEndpoints(IOP::IOR& ior);
83 
84  void extractAddrs(IOP::MultipleComponentProfile& components,
85  std::vector<IIOP::Address>& addr);
86 
87 
88 }; // namespace CORBA_IORUtil
89 #endif // CORBA_IORUTIL_H
bool toString(IOP::IOR &ior, std::string &iorstr)
Convert from IOR structure to IOR string.
void extractAddrs(IOP::MultipleComponentProfile &components, std::vector< IIOP::Address > &addr)
bool replaceEndpoint(std::string &iorstr, const std::string &endpoint)
Replace endpoint address in IOR entry.
std::vector< IIOP::Address > getEndpoints(IOP::IOR &ior)
std::string formatIORinfo(const char *iorstr)
Extracts information from IOR string and returns formatted string.
Definition: CORBA_IORUtil.h:38
bool toIOR(const char *iorstr, IOP::IOR &ior)
Convert from IOR string to IOR structure.
RTComponent header.