You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Pete Robbins (JIRA)" <tu...@ws.apache.org> on 2006/10/03 11:58:21 UTC

[jira] Closed: (TUSCANY-614) Add operator<< debug info for DataObjectPtr and others

     [ http://issues.apache.org/jira/browse/TUSCANY-614?page=all ]

Pete Robbins closed TUSCANY-614.
--------------------------------

    Fix Version/s: Cpp-current
       Resolution: Fixed

> 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
>             Fix For: Cpp-current
>
>
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org