diff options
Diffstat (limited to 'CIAO/CCF/CCF/IDL2/SemanticGraph/String.cpp')
-rw-r--r-- | CIAO/CCF/CCF/IDL2/SemanticGraph/String.cpp | 51 |
1 files changed, 16 insertions, 35 deletions
diff --git a/CIAO/CCF/CCF/IDL2/SemanticGraph/String.cpp b/CIAO/CCF/CCF/IDL2/SemanticGraph/String.cpp index 558da3f34da..578c87361d4 100644 --- a/CIAO/CCF/CCF/IDL2/SemanticGraph/String.cpp +++ b/CIAO/CCF/CCF/IDL2/SemanticGraph/String.cpp @@ -1,8 +1,8 @@ -// file : CCF/IDL2/SemanticGraph/Sequence.cpp +// file : CCF/IDL2/SemanticGraph/String.cpp // author : Boris Kolpackov <boris@dre.vanderbilt.edu> // cvs-id : $Id$ -#include "CCF/IDL2/SemanticGraph/Sequence.hpp" +#include "CCF/IDL2/SemanticGraph/String.hpp" namespace CCF { @@ -13,65 +13,46 @@ namespace CCF using Introspection::TypeInfo; using Introspection::Access; - // Sequence + // BoundedString // // namespace { TypeInfo - sequence_init_ () + bounded_string_init_ () { - TypeInfo ti (typeid (Sequence)); + TypeInfo ti (typeid (BoundedString)); ti.add_base ( Access::PUBLIC, true, Specialization::static_type_info ()); return ti; } - TypeInfo sequence_ (sequence_init_ ()); + TypeInfo bounded_string_ (bounded_string_init_ ()); } - TypeInfo const& Sequence:: - static_type_info () { return sequence_; } + TypeInfo const& BoundedString:: + static_type_info () { return bounded_string_; } - // UnboundedSequence + // BoundedWideString // // namespace { TypeInfo - unbounded_sequence_init_ () + bounded_wide_string_init_ () { - TypeInfo ti (typeid (UnboundedSequence)); - ti.add_base (Access::PUBLIC, true, Sequence::static_type_info ()); - return ti; - } - - TypeInfo unbounded_sequence_ (unbounded_sequence_init_ ()); - } - - TypeInfo const& UnboundedSequence:: - static_type_info () { return unbounded_sequence_; } - - - // BoundedSequence - // - // - namespace - { - TypeInfo - bounded_sequence_init_ () - { - TypeInfo ti (typeid (BoundedSequence)); - ti.add_base (Access::PUBLIC, true, Sequence::static_type_info ()); + TypeInfo ti (typeid (BoundedWideString)); + ti.add_base ( + Access::PUBLIC, true, Specialization::static_type_info ()); return ti; } - TypeInfo bounded_sequence_ (bounded_sequence_init_ ()); + TypeInfo bounded_wide_string_ (bounded_wide_string_init_ ()); } - TypeInfo const& BoundedSequence:: - static_type_info () { return bounded_sequence_; } + TypeInfo const& BoundedWideString:: + static_type_info () { return bounded_wide_string_; } } } } |