00001
00002
00003
00004 #ifndef _IT_BUS_USTRING_OPERATORS_H_
00005 #define _IT_BUS_USTRING_OPERATORS_H_
00006
00007 #include <it_bus/string.h>
00008 #include <it_bus/binary_buffer.h>
00009 #include <omg/orb.hh>
00010
00011
00012
00013
00014
00015
00016
00017 inline IT_Bus::String
00018 operator+(
00019 const IT_Bus::String& s1,
00020 const CORBA::String_var& s2
00021 )
00022 {
00023 IT_Bus::String newstr(s1, 0, IT_Bus::String::npos, s1.it_eh());
00024 newstr += IT_Bus::String((const char*) s2, IT_Bus::String::npos, s1.it_eh());
00025 return newstr;
00026 }
00027
00028 #endif