diff options
author | jai <jai@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-01-29 21:15:18 +0000 |
---|---|---|
committer | jai <jai@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-01-29 21:15:18 +0000 |
commit | b71531b42b3325fd6079a7039aae8641262c8adf (patch) | |
tree | a5b9aa16924c541fcb424ee9460b1ac7f5a89352 /modules/CIAO/CCF/CCF/IDL2/SemanticGraph/String.cpp | |
parent | a0f67cc97c0050d907145e312135b60c0125e56e (diff) | |
download | ATCD-DS-main.tar.gz |
branching/taggingDS-main
Diffstat (limited to 'modules/CIAO/CCF/CCF/IDL2/SemanticGraph/String.cpp')
-rw-r--r-- | modules/CIAO/CCF/CCF/IDL2/SemanticGraph/String.cpp | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/modules/CIAO/CCF/CCF/IDL2/SemanticGraph/String.cpp b/modules/CIAO/CCF/CCF/IDL2/SemanticGraph/String.cpp new file mode 100644 index 00000000000..578c87361d4 --- /dev/null +++ b/modules/CIAO/CCF/CCF/IDL2/SemanticGraph/String.cpp @@ -0,0 +1,58 @@ +// file : CCF/IDL2/SemanticGraph/String.cpp +// author : Boris Kolpackov <boris@dre.vanderbilt.edu> +// cvs-id : $Id$ + +#include "CCF/IDL2/SemanticGraph/String.hpp" + +namespace CCF +{ + namespace IDL2 + { + namespace SemanticGraph + { + using Introspection::TypeInfo; + using Introspection::Access; + + // BoundedString + // + // + namespace + { + TypeInfo + bounded_string_init_ () + { + TypeInfo ti (typeid (BoundedString)); + ti.add_base ( + Access::PUBLIC, true, Specialization::static_type_info ()); + return ti; + } + + TypeInfo bounded_string_ (bounded_string_init_ ()); + } + + TypeInfo const& BoundedString:: + static_type_info () { return bounded_string_; } + + + // BoundedWideString + // + // + namespace + { + TypeInfo + bounded_wide_string_init_ () + { + TypeInfo ti (typeid (BoundedWideString)); + ti.add_base ( + Access::PUBLIC, true, Specialization::static_type_info ()); + return ti; + } + + TypeInfo bounded_wide_string_ (bounded_wide_string_init_ ()); + } + + TypeInfo const& BoundedWideString:: + static_type_info () { return bounded_wide_string_; } + } + } +} |