diff options
author | boris <boris@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-09-25 13:13:15 +0000 |
---|---|---|
committer | boris <boris@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-09-25 13:13:15 +0000 |
commit | f8b78045657c692079619ad20036712c96b46972 (patch) | |
tree | 5416ea0673dc8d8ff72d641d6f34c6c905dbcc8a /CIAO/CCF | |
parent | df9f285e01379f15610abdb3676ee4b5dfca48c6 (diff) | |
download | ATCD-f8b78045657c692079619ad20036712c96b46972.tar.gz |
ChangeLogTag: Mon Sep 25 13:06:05 UTC 2006 Boris Kolpackov <boris@codesynthesis.com>
Diffstat (limited to 'CIAO/CCF')
-rw-r--r-- | CIAO/CCF/CCF/CIDL/SemanticAction/Composition.cpp | 22 | ||||
-rw-r--r-- | CIAO/CCF/CCF/CIDL/SemanticAction/Composition.hpp | 7 | ||||
-rw-r--r-- | CIAO/CCF/CCF/IDL2/SemanticAction/Impl/Factory.cpp | 4 | ||||
-rw-r--r-- | CIAO/CCF/CCF/IDL2/SemanticAction/Operation.cpp | 23 | ||||
-rw-r--r-- | CIAO/CCF/CCF/IDL2/SemanticAction/Operation.hpp | 7 |
5 files changed, 34 insertions, 29 deletions
diff --git a/CIAO/CCF/CCF/CIDL/SemanticAction/Composition.cpp b/CIAO/CCF/CCF/CIDL/SemanticAction/Composition.cpp index 02e0e55ce4f..e8eb6f99924 100644 --- a/CIAO/CCF/CCF/CIDL/SemanticAction/Composition.cpp +++ b/CIAO/CCF/CCF/CIDL/SemanticAction/Composition.cpp @@ -12,16 +12,18 @@ namespace CCF { namespace SemanticAction { - namespace - { - char* labels[] = {"entity", "process", "service", "session" }; - } - - std::ostream& - operator<< (std::ostream& o, Composition::Category::Value v) - { - return o << labels[v]; - } } } } + +namespace +{ + char* labels[] = {"entity", "process", "service", "session" }; +} + +std::ostream& +operator<< (std::ostream& o, + CCF::CIDL::SemanticAction::Composition::Category::Value v) +{ + return o << labels[v]; +} diff --git a/CIAO/CCF/CCF/CIDL/SemanticAction/Composition.hpp b/CIAO/CCF/CCF/CIDL/SemanticAction/Composition.hpp index 802cc64ede3..71cfc22a108 100644 --- a/CIAO/CCF/CCF/CIDL/SemanticAction/Composition.hpp +++ b/CIAO/CCF/CCF/CIDL/SemanticAction/Composition.hpp @@ -23,9 +23,6 @@ namespace CCF { entity , process, service, session }; - - friend std::ostream& - operator<< (std::ostream& o, Value v); }; virtual void @@ -38,4 +35,8 @@ namespace CCF } } +std::ostream& +operator<< (std::ostream& o, + CCF::CIDL::SemanticAction::Composition::Category::Value v); + #endif // CCF_CIDL_SEMANTIC_ACTION_COMPOSITION_HPP diff --git a/CIAO/CCF/CCF/IDL2/SemanticAction/Impl/Factory.cpp b/CIAO/CCF/CCF/IDL2/SemanticAction/Impl/Factory.cpp index 0e86ad26ff3..6a680d14831 100644 --- a/CIAO/CCF/CCF/IDL2/SemanticAction/Impl/Factory.cpp +++ b/CIAO/CCF/CCF/IDL2/SemanticAction/Impl/Factory.cpp @@ -21,9 +21,9 @@ namespace CCF void Factory:: define_fund_type (Root& root, SimpleName const& name) { - ctx_.tu ().new_edge<Defines> ( + ctx_.tu ().template new_edge<Defines> ( root, - ctx_.tu ().new_node<X> ("fundamental-types", 0), name); + ctx_.tu ().template new_node<X> ("fundamental-types", 0), name); } Factory:: diff --git a/CIAO/CCF/CCF/IDL2/SemanticAction/Operation.cpp b/CIAO/CCF/CCF/IDL2/SemanticAction/Operation.cpp index 5b6190d1b4a..b75d48400a4 100644 --- a/CIAO/CCF/CCF/IDL2/SemanticAction/Operation.cpp +++ b/CIAO/CCF/CCF/IDL2/SemanticAction/Operation.cpp @@ -12,17 +12,18 @@ namespace CCF { namespace SemanticAction { - namespace - { - char* labels[] = {"in", "out", "inout"}; - } - - std::ostream& - - operator<< (std::ostream& o, Operation::Direction::Value d) - { - return o << labels[d]; - } } } } + +namespace +{ + char* labels[] = {"in", "out", "inout"}; +} + +std::ostream& +operator<< (std::ostream& o, + CCF::IDL2::SemanticAction::Operation::Direction::Value d) +{ + return o << labels[d]; +} diff --git a/CIAO/CCF/CCF/IDL2/SemanticAction/Operation.hpp b/CIAO/CCF/CCF/IDL2/SemanticAction/Operation.hpp index 89e83c50b9b..99131c60e15 100644 --- a/CIAO/CCF/CCF/IDL2/SemanticAction/Operation.hpp +++ b/CIAO/CCF/CCF/IDL2/SemanticAction/Operation.hpp @@ -37,9 +37,6 @@ namespace CCF out, inout }; - - friend std::ostream& - operator<< (std::ostream& o, Value d); }; virtual void @@ -54,4 +51,8 @@ namespace CCF } } +std::ostream& +operator<< (std::ostream& o, + CCF::IDL2::SemanticAction::Operation::Direction::Value d); + #endif // CCF_IDL2_SEMANTIC_ACTION_OPERATION_HPP |