add PythonCompleteConstruct friend for python bindings

This commit is contained in:
Mathieu Lacage
2008-07-08 10:19:34 -07:00
parent 11ddb61d96
commit 178567b32b

View File

@@ -198,6 +198,10 @@ private:
friend Ptr<T> CopyObject (Ptr<T> object);
template <typename T>
friend Ptr<T> CopyObject (Ptr<const T> object);
// The following friend method declaration is used only
// by our python bindings to call the protected ObjectBase::Construct
// method.
friend void PythonCompleteConstruct (Ptr<Object> object, TypeId typeId, const AttributeList &attributes);
friend class ObjectFactory;
friend class AggregateIterator;