[ 
http://issues.apache.org/jira/browse/TUSCANY-614?page=comments#action_12427658 
] 
            
Jean-Sebastien Delfino commented on TUSCANY-614:
------------------------------------------------

Thanks Pete, that works nicely!

> Add operator<< debug info for DataObjectPtr and others
> ------------------------------------------------------
>
>                 Key: TUSCANY-614
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-614
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: C++ SDO
>    Affects Versions: Cpp-current
>            Reporter: Pete Robbins
>         Assigned To: Pete Robbins
>
> There is an SDOUTils function to print out the contents of  a DataObject.
> This proposal is to add ostream operator<< to RefCountingPointer that will 
> call a virtual function printSelf() on RefCountingObject.
> Anything inheriting from RefCountingObject (e.g. DataObject) can overide this 
> method to provide diagnostic info.
> User simply has to code e.g.
> DatObjectPtr myDO = someFucntionThatReturnsDO();
> cout <<myDO;

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to