cpp: TC_Bonobo_Unknown_struct and Bonobo::_tc_Unknown
- From: murrayc t-online de (Murray Cumming)
- To: orbit-list <orbit-list gnome org>,orbitcpp-list <orbitcpp-list lists sourceforge net>
- Subject: cpp: TC_Bonobo_Unknown_struct and Bonobo::_tc_Unknown
- Date: 22 Feb 2002 13:27:16 +0100
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]