You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Jean-Sebastien Delfino <js...@apache.org> on 2006/12/14 00:40:07 UTC

[C++] Refactoring tuscany/sca/util

I'm trying to finish an SDOUtils class that provides utility methods for 
dealing with SDOs, in particular an SDO Visitor utility which I hope 
will help us navigate through a DataObject graph (as we need to do in 
various places in our runtime).

While working in the tuscany/sca/util folder I ran into a few things 
that I'd like to refactor a little:
- I'd like to move Exceptions.cpp from tuscany/sca/util to 
tuscany/sca/core. I think that these exceptions belong to the core 
runtime more than a utility package.
- I'd also like to change the namespace of the classes in util from 
tuscany::sca to tuscany::sca::util, to better isolate them from the core 
runtime.
- Also move the printDO and printTypes methods from Utils to the new 
SDOUtils class that I'm adding.

Thoughts? If there's no objection I'd like to make these changes some 
time tomorrow.

-- 
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: [C++] Refactoring tuscany/sca/util

Posted by Pete Robbins <ro...@googlemail.com>.
On 13/12/06, Jean-Sebastien Delfino <js...@apache.org> wrote:
>
> I'm trying to finish an SDOUtils class that provides utility methods for
> dealing with SDOs, in particular an SDO Visitor utility which I hope
> will help us navigate through a DataObject graph (as we need to do in
> various places in our runtime).
>
> While working in the tuscany/sca/util folder I ran into a few things
> that I'd like to refactor a little:
> - I'd like to move Exceptions.cpp from tuscany/sca/util to
> tuscany/sca/core. I think that these exceptions belong to the core
> runtime more than a utility package.
> - I'd also like to change the namespace of the classes in util from
> tuscany::sca to tuscany::sca::util, to better isolate them from the core
> runtime.
> - Also move the printDO and printTypes methods from Utils to the new
> SDOUtils class that I'm adding.
>
> Thoughts? If there's no objection I'd like to make these changes some
> time tomorrow.
>
> --
> Jean-Sebastien



That all sounds fine.

-- 
Pete