Classes | Functions
CORBA_Util Namespace Reference

Classes

struct  has_nil
 has nil traits class template More...
 
struct  has_nil_helper
 has nil helper More...
 
struct  has_nil_impl
 has nil impl: void case More...
 
struct  has_nil_impl< T, typename has_nil_helper< T,&T::_nil >::type >
 has nil impl: valid case More...
 
struct  is_corba_object
 is corba object traits class More...
 
class  typecode
 typecode class template More...
 
class  typecode< false, T >
 
class  typecode< true, T >
 

Functions

template<class T >
const char * toRepositoryId ()
 Getting CORBA defined type as characters. More...
 
template<class T >
const char * toRepositoryIdOfObject ()
 
template<class T >
const char * toRepositoryIdOfStruct ()
 
template<class T >
const char * toTypename ()
 Getting CORBA defined type as characters. More...
 
template<class T >
const char * toTypenameOfObject ()
 
template<class T >
const char * toTypenameOfStruct ()
 

Function Documentation

template<class T >
const char* CORBA_Util::toRepositoryId ( )

Getting CORBA defined type as characters.

This function returns the type name if class or struct type that is defined CORBA IDL. The template parameter can be a type which has type code.

 
std::cout << toRepositoryId<RTC::TimedFloat>() << std::endl;
std::cout << toRepositoryId<RTC::RTObject>() << std::endl;

gives the following results.

IDL:RTC/TimedFloat:1.0
IDL:omg.org/RTC/RTObject:1.0

Definition at line 232 of file Typename.h.

template<class T >
const char* CORBA_Util::toRepositoryIdOfObject ( )

Definition at line 244 of file Typename.h.

template<class T >
const char* CORBA_Util::toRepositoryIdOfStruct ( )

Definition at line 238 of file Typename.h.

template<class T >
const char* CORBA_Util::toTypename ( )

Getting CORBA defined type as characters.

This function returns the type name if class or struct type that is defined CORBA IDL. The template parameter can be a type which has type code.

 
std::cout << toTypename<RTC::TimedFloat>() << std::endl;
std::cout << toTypename<RTC::RTObject>() << std::endl;

gives the following results.

TimedFloat
RTObject

Definition at line 177 of file Typename.h.

template<class T >
const char* CORBA_Util::toTypenameOfObject ( )

Definition at line 189 of file Typename.h.

template<class T >
const char* CORBA_Util::toTypenameOfStruct ( )

Definition at line 183 of file Typename.h.



openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Jun 6 2019 19:26:02