[pygccxml-development] Current Vector Indexing Suite
Brought to you by:
mbaas,
roman_yakovenko
|
From: Lakin W. <lak...@gm...> - 2006-06-24 15:50:36
|
In order to handle the situation of a class that is missing operator==, but
is being exported using the current vector indexing suite, I wrote something
which writes code similar to:
inline bool operator==(::Ogre::CompositorInstance::TargetOperation lhs,
::Ogre::CompositorInstance::TargetOperation rhs) {
throw std::runtime_error("::Ogre::CompositorInstance::TargetOperation
has no comparison operator.");
}
for each class. This file is then included in the pyplusplus generated
code. From my understanding of C++, this should be enough. However, I
still get the same compiler error. If I add the appropriate member function
directly to class' header file, the generated code compiles.
What am I missing?
Lakin
|