Good idea! Do you think you could put your ostream operator<< back in?


I'm looking at this. I'ts fairly simple. I will add the method to
RefCountingPointer so you can do:

DataObjectPtr myDO = .......();
...
cout << myDO;

DataFactoryPtr mydf = ...
...
cout << mydf;

It is up to the implementation of each RefCountingObject to implement a
printSelf() method so e.g.DataObjectImpl  will stream the equivalent of what
is printed from SDOUtils::printDO().

DataFactoryImpl could print all the types defined??


--
Pete

Reply via email to