cpp: TC_Bonobo_Unknown_struct and Bonobo::_tc_Unknown



In the code below, from my generated Bonobo-cpp-common.hh file, it is
trying to define _tc_Unknown in terms of TC_Bonobo_Unknown_struct, but
that isn't provided by the C code.

I can't find anything in the language mappings
http://www.omg.org/technology/documents/formal/c++.htm
that says that either of these need to be defined, though I can see
stuff about similar constants for basic types such as long. Can anyone
with more knowledge comment on this?


namespace Bonobo { 
	class Unknown {
	public:
		static ::Bonobo::Unknown_ptr _duplicate(::Bonobo::Unknown_ptr obj);
		static ::Bonobo::Unknown_ptr _narrow(CORBA::Object_ptr obj);
		static ::Bonobo::Unknown_ptr _nil() {
			return CORBA_OBJECT_NIL;
		}
	};
	const CORBA::TypeCode_ptr _tc_Unknown =
(CORBA::TypeCode_ptr)&::_orbitcpp::c::TC_Bonobo_Unknown_struct;
}

-- 
Murray Cumming
murrayc@usa.net
www.murrayc.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]