#include #include using namespace CORBA; TestChars_impl::TestChars_impl() { } Char TestChars_impl::testChar(Char c) throw(SystemException) { return c; } char* TestChars_impl::testString(const char* s) throw(SystemException) { return string_dup(s); } WChar TestChars_impl::testWChar(WChar wc) throw(SystemException) { return wc; } CORBA::WChar* TestChars_impl::testWString(const CORBA::WChar *ws) throw(SystemException) { write_wstring_data(std::cerr, ws); return wstring_dup(ws); }