diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-06-19 19:03:38 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-06-19 19:03:38 +0000 |
commit | 58bdde7618ba68eef1d0fa7c62d0a4c26c409fe1 (patch) | |
tree | 192e126defd9bfd5f799c73e6fe2cb05f7a19faa /TAO/tao/Valuetype | |
parent | 118b2a747909befb8801c45f796f0eb21e8b4d45 (diff) | |
download | ATCD-58bdde7618ba68eef1d0fa7c62d0a4c26c409fe1.tar.gz |
ChangeLogTag: Mon Jun 19 12:11:09 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/Valuetype')
-rw-r--r-- | TAO/tao/Valuetype/StringValueC.cpp | 416 | ||||
-rw-r--r-- | TAO/tao/Valuetype/StringValueC.h | 330 | ||||
-rw-r--r-- | TAO/tao/Valuetype/StringValueC.inl | 303 |
3 files changed, 0 insertions, 1049 deletions
diff --git a/TAO/tao/Valuetype/StringValueC.cpp b/TAO/tao/Valuetype/StringValueC.cpp deleted file mode 100644 index 848cf644b2e..00000000000 --- a/TAO/tao/Valuetype/StringValueC.cpp +++ /dev/null @@ -1,416 +0,0 @@ -// -*- C++ -*- -// -// $Id$ - -// **** Code generated by the The ACE ORB (TAO) IDL Compiler **** -// TAO and the TAO IDL Compiler have been developed by: -// Center for Distributed Object Computing -// Washington University -// St. Louis, MO -// USA -// http://www.cs.wustl.edu/~schmidt/doc-center.html -// and -// Distributed Object Computing Laboratory -// University of California at Irvine -// Irvine, CA -// USA -// http://doc.ece.uci.edu/ -// and -// Institute for Software Integrated Systems -// Vanderbilt University -// Nashville, TN -// USA -// http://www.isis.vanderbilt.edu/ -// -// Information about TAO is available at: -// http://www.cs.wustl.edu/~schmidt/TAO.html - -// TAO_IDL - Generated from -// .\be\be_codegen.cpp:291 - - -#include "tao/AnyTypeCode/Null_RefCount_Policy.h" -#include "tao/AnyTypeCode/TypeCode_Constants.h" -#include "tao/AnyTypeCode/Alias_TypeCode_Static.h" -#include "tao/AnyTypeCode/String_TypeCode_Static.h" -#include "tao/AnyTypeCode/Value_TypeCode_Static.h" -#include "tao/AnyTypeCode/TypeCode_Value_Field.h" -#include "tao/AnyTypeCode/Recursive_Type_TypeCode.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/AnyTypeCode/Any_Impl_T.h" - -#include "tao/Valuetype/StringValueC.h" -#include "tao/Valuetype/ValueFactory.h" -#include "tao/CDR.h" - -#if defined (__BORLANDC__) -#pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig -#endif /* __BORLANDC__ */ - -#if !defined (__ACE_INLINE__) -#include "tao/Valuetype/StringValueC.inl" -#endif /* !defined INLINE */ - -// TAO_IDL - Generated from -// .\be\be_visitor_arg_traits.cpp:70 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Arg traits specializations. -namespace TAO -{ -} - - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_typecode/alias_typecode.cpp:50 - -static TAO::TypeCode::Alias<char const *, - CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - _tao_tc_CORBA_StringValue ( - CORBA::tk_value_box, - "IDL:omg.org/CORBA/StringValue:1.0", - "StringValue", - &CORBA::_tc_string); - -namespace CORBA -{ - ::CORBA::TypeCode_ptr const _tc_StringValue = - &_tao_tc_CORBA_StringValue; -} - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/valuebox_cs.cpp:63 - -CORBA::StringValue::~StringValue (void) -{ -} - -CORBA::StringValue * -CORBA::StringValue::_downcast (CORBA::ValueBase *v) -{ - return dynamic_cast< ::CORBA::StringValue * > (v); -} - - -CORBA::ValueBase * -CORBA::StringValue::_copy_value (void) -{ - CORBA::ValueBase *result = 0; - ACE_NEW_RETURN ( - result, - StringValue (*this), - 0); - - return result; -} - -const char * -CORBA::StringValue::_tao_obv_repository_id (void) const -{ - return this->_tao_obv_static_repository_id (); -} - -void -CORBA::StringValue::_tao_obv_truncatable_repo_ids (Repository_Id_List& ids) const -{ - ids.push_back (this->_tao_obv_static_repository_id ()); -} - -CORBA::Boolean -CORBA::StringValue::_tao_unmarshal ( - TAO_InputCDR &strm, - StringValue *&vb_object - ) -{ - CORBA::Boolean is_null_object; - if (CORBA::ValueBase::_tao_validate_box_type ( - strm, - StringValue::_tao_obv_static_repository_id (), - is_null_object - ) == 0) - { - return 0; - } - - vb_object = 0; - if (is_null_object) - { - return 1; - } - - ACE_NEW_RETURN ( - vb_object, - StringValue, - 0); - - return (strm >> vb_object->_pd_value); -} - - - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_typecode/alias_typecode.cpp:50 - -static TAO::TypeCode::Alias<char const *, - CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - _tao_tc_CORBA_WStringValue ( - CORBA::tk_value_box, - "IDL:omg.org/CORBA/WStringValue:1.0", - "WStringValue", - &CORBA::_tc_wstring); - -namespace CORBA -{ - ::CORBA::TypeCode_ptr const _tc_WStringValue = - &_tao_tc_CORBA_WStringValue; -} - - - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/valuebox_cs.cpp:63 -CORBA::WStringValue::~WStringValue (void) -{ -} - -CORBA::WStringValue * -CORBA::WStringValue::_downcast (CORBA::ValueBase *v) -{ - return dynamic_cast< ::CORBA::WStringValue * > (v); -} - - -CORBA::ValueBase * -CORBA::WStringValue::_copy_value (void) -{ - CORBA::ValueBase *result = 0; - ACE_NEW_RETURN ( - result, - WStringValue (*this), - 0); - - return result; -} - -const char * -CORBA::WStringValue::_tao_obv_repository_id (void) const -{ - return this->_tao_obv_static_repository_id (); -} - -void -CORBA::WStringValue::_tao_obv_truncatable_repo_ids (Repository_Id_List& ids) const -{ - ids.push_back (this->_tao_obv_static_repository_id ()); -} - -CORBA::Boolean -CORBA::WStringValue::_tao_unmarshal ( - TAO_InputCDR &strm, - WStringValue *&vb_object - ) -{ - CORBA::Boolean is_null_object; - if (CORBA::ValueBase::_tao_validate_box_type ( - strm, - WStringValue::_tao_obv_static_repository_id (), - is_null_object - ) == 0) - { - return 0; - } - - vb_object = 0; - if (is_null_object) - { - return 1; - } - - ACE_NEW_RETURN ( - vb_object, - WStringValue, - 0); - - return (strm >> vb_object->_pd_value); -} - - - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/any_op_cs.cpp:56 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Impl_T<CORBA::StringValue>::to_value ( - CORBA::ValueBase *&_tao_elem - ) const - { - CORBA::add_ref (this->value_); - _tao_elem = this->value_; - return 1; - } -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - CORBA::StringValue *_tao_elem - ) -{ - CORBA::add_ref (_tao_elem); - _tao_any <<= &_tao_elem; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - CORBA::StringValue **_tao_elem - ) -{ - TAO::Any_Impl_T<CORBA::StringValue>::insert ( - _tao_any, - CORBA::StringValue::_tao_any_destructor, - CORBA::_tc_StringValue, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - CORBA::StringValue *&_tao_elem - ) -{ - return - TAO::Any_Impl_T<CORBA::StringValue>::extract ( - _tao_any, - CORBA::StringValue::_tao_any_destructor, - CORBA::_tc_StringValue, - _tao_elem - ); -} - - - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/any_op_cs.cpp:56 - -namespace TAO -{ - template<> - CORBA::Boolean - Any_Impl_T<CORBA::WStringValue>::to_value ( - CORBA::ValueBase *&_tao_elem - ) const - { - CORBA::add_ref (this->value_); - _tao_elem = this->value_; - return 1; - } -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - CORBA::WStringValue *_tao_elem - ) -{ - CORBA::add_ref (_tao_elem); - _tao_any <<= &_tao_elem; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - CORBA::WStringValue **_tao_elem - ) -{ - TAO::Any_Impl_T<CORBA::WStringValue>::insert ( - _tao_any, - CORBA::WStringValue::_tao_any_destructor, - CORBA::_tc_WStringValue, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - CORBA::WStringValue *&_tao_elem - ) -{ - return - TAO::Any_Impl_T<CORBA::WStringValue>::extract ( - _tao_any, - CORBA::WStringValue::_tao_any_destructor, - CORBA::_tc_WStringValue, - _tao_elem - ); -} - - - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/cdr_op_cs.cpp:52 - -CORBA::Boolean -operator<< ( - TAO_OutputCDR &strm, - CORBA::StringValue *_tao_valuebox - ) -{ - return - CORBA::ValueBase::_tao_marshal ( - strm, - _tao_valuebox, - reinterpret_cast<ptrdiff_t> (&CORBA::StringValue::_downcast) - ); -} - -CORBA::Boolean -operator>> ( - TAO_InputCDR &strm, - CORBA::StringValue *&_tao_valuebox - ) -{ - return CORBA::StringValue::_tao_unmarshal (strm, _tao_valuebox); -} - - - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/cdr_op_cs.cpp:52 - -CORBA::Boolean -operator<< ( - TAO_OutputCDR &strm, - CORBA::WStringValue *_tao_valuebox - ) -{ - return - CORBA::ValueBase::_tao_marshal ( - strm, - _tao_valuebox, - reinterpret_cast<ptrdiff_t> (&CORBA::WStringValue::_downcast) - ); -} - -CORBA::Boolean -operator>> ( - TAO_InputCDR &strm, - CORBA::WStringValue *&_tao_valuebox - ) -{ - return CORBA::WStringValue::_tao_unmarshal (strm, _tao_valuebox); -} - -TAO_END_VERSIONED_NAMESPACE_DECL diff --git a/TAO/tao/Valuetype/StringValueC.h b/TAO/tao/Valuetype/StringValueC.h deleted file mode 100644 index fa8d1e68cab..00000000000 --- a/TAO/tao/Valuetype/StringValueC.h +++ /dev/null @@ -1,330 +0,0 @@ -// -*- C++ -*- -// -// $Id$ - -// **** Code generated by the The ACE ORB (TAO) IDL Compiler **** -// TAO and the TAO IDL Compiler have been developed by: -// Center for Distributed Object Computing -// Washington University -// St. Louis, MO -// USA -// http://www.cs.wustl.edu/~schmidt/doc-center.html -// and -// Distributed Object Computing Laboratory -// University of California at Irvine -// Irvine, CA -// USA -// http://doc.ece.uci.edu/ -// and -// Institute for Software Integrated Systems -// Vanderbilt University -// Nashville, TN -// USA -// http://www.isis.vanderbilt.edu/ -// -// Information about TAO is available at: -// http://www.cs.wustl.edu/~schmidt/TAO.html - -// TAO_IDL - Generated from -// .\be\be_codegen.cpp:153 - -#ifndef _TAO_IDL_STRINGVALUEC_H_ -#define _TAO_IDL_STRINGVALUEC_H_ - -#include /**/ "ace/pre.h" - - -#include "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/Valuetype/valuetype_export.h" -#include "tao/Valuetype/ValueBase.h" -#include "tao/CDR.h" -#include "tao/Valuetype/Valuetype_Adapter_Impl.h" -#include "tao/ORB.h" -#include "tao/SystemException.h" -#include "tao/Environment.h" -#include "tao/Valuetype/Value_VarOut_T.h" - -#if defined (TAO_EXPORT_MACRO) -#undef TAO_EXPORT_MACRO -#endif -#define TAO_EXPORT_MACRO TAO_Valuetype_Export - -#if defined(_MSC_VER) -#pragma warning(push) -#pragma warning(disable:4250) -#endif /* _MSC_VER */ - -#if defined (__BORLANDC__) -#pragma option push -w-rvl -w-rch -w-ccc -w-inl -#endif /* __BORLANDC__ */ - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_module/module_ch.cpp:48 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace CORBA -{ - - // TAO_IDL - Generated from - // c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/valuebox_ch.cpp:52 - -#if !defined (_CORBA_STRINGVALUE_CH_) -#define _CORBA_STRINGVALUE_CH_ - - class StringValue; - - typedef - TAO_Value_Var_T< - StringValue - > - StringValue_var; - - typedef - TAO_Value_Out_T< - StringValue - > - StringValue_out; - - class TAO_Valuetype_Export StringValue - : public virtual CORBA::DefaultValueRefCountBase - { - public: - - static StringValue* _downcast (CORBA::ValueBase *); - CORBA::ValueBase * _copy_value (void); - - virtual const char* _tao_obv_repository_id (void) const; - virtual void _tao_obv_truncatable_repo_ids (Repository_Id_List &) const; - - static const char* _tao_obv_static_repository_id (void); - - static CORBA::Boolean _tao_unmarshal ( - TAO_InputCDR &, - StringValue *& - ); - - - - // TAO_IDL - Generated from - // c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/valuebox_ch.cpp:403 - - // constructors - StringValue (void); - StringValue (CORBA::Char * val); - StringValue (const CORBA::Char * val); - StringValue (const CORBA::String_var& var); - StringValue (const StringValue& val); - // assignment operators - StringValue& operator= (CORBA::Char * val); - - StringValue& operator= (const CORBA::Char * val); - - StringValue& operator= (const CORBA::String_var& var); - - // accessor - const CORBA::Char * _value (void) const; - - // modifiers - void _value (CORBA::Char * val); - void _value (const CORBA::Char * val); - void _value (const CORBA::String_var& var); - - // access to the boxed value for method signatures - const CORBA::Char * _boxed_in (void) const; - CORBA::Char *& _boxed_inout (void); - CORBA::Char *& _boxed_out (void); - // allows access and modification using a slot. - char & operator[] (CORBA::ULong slot); - - // allows only accessing thru a slot. - char operator[] (CORBA::ULong slot) const; - - private: - CORBA::String_var _pd_value; - - - // TAO_IDL - Generated from - // c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/valuebox_ch.cpp:115 - - protected: - virtual ~StringValue (void); - virtual CORBA::Boolean _tao_marshal_v (TAO_OutputCDR &) const; - virtual CORBA::Boolean _tao_unmarshal_v (TAO_InputCDR &); - virtual CORBA::Boolean _tao_match_formal_type (ptrdiff_t ) const; - - private: - void operator= (const StringValue & val); - - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_Valuetype_Export ::CORBA::TypeCode_ptr const _tc_StringValue; - - // TAO_IDL - Generated from - // c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/valuebox_ch.cpp:52 - -#if !defined (_CORBA_WSTRINGVALUE_CH_) -#define _CORBA_WSTRINGVALUE_CH_ - - class WStringValue; - - typedef - TAO_Value_Var_T< - WStringValue - > - WStringValue_var; - - typedef - TAO_Value_Out_T< - WStringValue - > - WStringValue_out; - - class TAO_Valuetype_Export WStringValue - : public virtual CORBA::DefaultValueRefCountBase - { - public: - - static WStringValue* _downcast (CORBA::ValueBase *); - CORBA::ValueBase * _copy_value (void); - - virtual const char* _tao_obv_repository_id (void) const; - virtual void _tao_obv_truncatable_repo_ids (Repository_Id_List &) const; - - static const char* _tao_obv_static_repository_id (void); - - static CORBA::Boolean _tao_unmarshal ( - TAO_InputCDR &, - WStringValue *& - ); - - - - // TAO_IDL - Generated from - // c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/valuebox_ch.cpp:403 - - // constructors - WStringValue (void); - WStringValue (CORBA::WChar * val); - WStringValue (const CORBA::WChar * val); - WStringValue (const CORBA::WString_var& var); - WStringValue (const WStringValue& val); - // assignment operators - WStringValue& operator= (CORBA::WChar * val); - - WStringValue& operator= (const CORBA::WChar * val); - - WStringValue& operator= (const CORBA::WString_var& var); - - // accessor - const CORBA::WChar * _value (void) const; - - // modifiers - void _value (CORBA::WChar * val); - void _value (const CORBA::WChar * val); - void _value (const CORBA::WString_var& var); - - // access to the boxed value for method signatures - const CORBA::WChar * _boxed_in (void) const; - CORBA::WChar *& _boxed_inout (void); - CORBA::WChar *& _boxed_out (void); - // allows access and modification using a slot. - CORBA::WChar & operator[] (CORBA::ULong slot); - - // allows only accessing thru a slot. - CORBA::WChar operator[] (CORBA::ULong slot) const; - - private: - CORBA::WString_var _pd_value; - - - // TAO_IDL - Generated from - // c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/valuebox_ch.cpp:115 - - protected: - virtual ~WStringValue (void); - virtual CORBA::Boolean _tao_marshal_v (TAO_OutputCDR &) const; - virtual CORBA::Boolean _tao_unmarshal_v (TAO_InputCDR &); - virtual CORBA::Boolean _tao_match_formal_type (ptrdiff_t ) const; - - private: - void operator= (const WStringValue & val); - - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_Valuetype_Export ::CORBA::TypeCode_ptr const _tc_WStringValue; - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_module/module_ch.cpp:66 - -} // module CORBA - -// TAO_IDL - Generated from -// .\be\be_visitor_traits.cpp:61 - -// Traits specializations. -namespace TAO -{ -} - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/any_op_ch.cpp:53 - -TAO_Valuetype_Export void operator<<= (CORBA::Any &, CORBA::StringValue *); // copying -TAO_Valuetype_Export void operator<<= (CORBA::Any &, CORBA::StringValue **); // non-copying -TAO_Valuetype_Export CORBA::Boolean operator>>= (const CORBA::Any &, CORBA::StringValue *&); - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/any_op_ch.cpp:53 - -TAO_Valuetype_Export void operator<<= (CORBA::Any &, CORBA::WStringValue *); // copying -TAO_Valuetype_Export void operator<<= (CORBA::Any &, CORBA::WStringValue **); // non-copying -TAO_Valuetype_Export CORBA::Boolean operator>>= (const CORBA::Any &, CORBA::WStringValue *&); - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/cdr_op_ch.cpp:50 - -TAO_Valuetype_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::StringValue *); -TAO_Valuetype_Export CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::StringValue *&); - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/cdr_op_ch.cpp:50 - -TAO_Valuetype_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::WStringValue *); -TAO_Valuetype_Export CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::WStringValue *&); - -// TAO_IDL - Generated from -// .\be\be_codegen.cpp:955 - -TAO_END_VERSIONED_NAMESPACE_DECL - -#if defined (__ACE_INLINE__) -#include "tao/Valuetype/StringValueC.inl" -#endif /* defined INLINE */ - -#if defined(_MSC_VER) -#pragma warning(pop) -#endif /* _MSC_VER */ - -#if defined (__BORLANDC__) -#pragma option pop -#endif /* __BORLANDC__ */ - -#include /**/ "ace/post.h" - -#endif /* ifndef */ diff --git a/TAO/tao/Valuetype/StringValueC.inl b/TAO/tao/Valuetype/StringValueC.inl deleted file mode 100644 index a7b1df82545..00000000000 --- a/TAO/tao/Valuetype/StringValueC.inl +++ /dev/null @@ -1,303 +0,0 @@ -// -*- C++ -*- -// -// $Id$ - -// **** Code generated by the The ACE ORB (TAO) IDL Compiler **** -// TAO and the TAO IDL Compiler have been developed by: -// Center for Distributed Object Computing -// Washington University -// St. Louis, MO -// USA -// http://www.cs.wustl.edu/~schmidt/doc-center.html -// and -// Distributed Object Computing Laboratory -// University of California at Irvine -// Irvine, CA -// USA -// http://doc.ece.uci.edu/ -// and -// Institute for Software Integrated Systems -// Vanderbilt University -// Nashville, TN -// USA -// http://www.isis.vanderbilt.edu/ -// -// Information about TAO is available at: -// http://www.cs.wustl.edu/~schmidt/TAO.html - - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/valuebox_ci.cpp:332 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -ACE_INLINE -CORBA::StringValue::StringValue (void) -{} - -ACE_INLINE -CORBA::StringValue::StringValue (CORBA::Char * val) -{ - this->_pd_value = val; -} - -ACE_INLINE -CORBA::StringValue::StringValue (const CORBA::StringValue& val) - : ::CORBA::ValueBase (val), - ::CORBA::DefaultValueRefCountBase (val) -{ - this->_pd_value = val._pd_value; -} - -ACE_INLINE CORBA::StringValue & -CORBA::StringValue::operator= (CORBA::Char * val) -{ - this->_pd_value = val; - return *this; -} - -ACE_INLINE -CORBA::StringValue::StringValue (const CORBA::Char * val) -{ - this->_pd_value = val; -} - -ACE_INLINE -CORBA::StringValue::StringValue (const CORBA::String_var& var) -{ - this->_pd_value = var; -} - -ACE_INLINE CORBA::StringValue & -CORBA::StringValue::operator= (const CORBA::Char * val) -{ - this->_pd_value = val; - return *this; -} - -ACE_INLINE CORBA::StringValue & -CORBA::StringValue::operator= (const CORBA::String_var& var) -{ - this->_pd_value = var; - return *this; -} - -ACE_INLINE const CORBA::Char * -CORBA::StringValue::_value (void) const -{ - return this->_pd_value.in (); -} - -ACE_INLINE void -CORBA::StringValue::_value (CORBA::Char * val) -{ - this->_pd_value = val; -} - -ACE_INLINE void -CORBA::StringValue::_value (const CORBA::Char * val) -{ - this->_pd_value = val; -} - -ACE_INLINE void -CORBA::StringValue::_value (const CORBA::String_var& var) -{ - this->_pd_value = var; -} - -ACE_INLINE const CORBA::Char * -CORBA::StringValue::_boxed_in (void) const -{ - return this->_pd_value.in (); -} - -ACE_INLINE CORBA::Char *& -CORBA::StringValue::_boxed_inout (void) -{ - return this->_pd_value.inout (); -} - -ACE_INLINE CORBA::Char *& -CORBA::StringValue::_boxed_out (void) -{ - return this->_pd_value.out (); -} - -ACE_INLINE char & -CORBA::StringValue::operator[] (CORBA::ULong slot) -{ - return this->_pd_value[slot]; -} - -ACE_INLINE char -CORBA::StringValue::operator[] (CORBA::ULong slot) const -{ - return this->_pd_value[slot]; -} - -ACE_INLINE CORBA::Boolean -CORBA::StringValue::_tao_marshal_v (TAO_OutputCDR & strm) const -{ - return (strm << this->_pd_value); -} - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/valuebox_ci.cpp:60 -ACE_INLINE const char* -CORBA::StringValue::_tao_obv_static_repository_id () -{ - return "IDL:omg.org/CORBA/StringValue:1.0"; -} - -ACE_INLINE CORBA::Boolean -CORBA::StringValue::_tao_unmarshal_v (TAO_InputCDR & ) -{ - return 1; -} - -ACE_INLINE CORBA::Boolean -CORBA::StringValue::_tao_match_formal_type (ptrdiff_t formal_type_id) const -{ - return formal_type_id == - reinterpret_cast<ptrdiff_t> (&CORBA::StringValue::_downcast); -} - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/valuebox_ci.cpp:332 - -ACE_INLINE -CORBA::WStringValue::WStringValue (void) -{} - -ACE_INLINE -CORBA::WStringValue::WStringValue (CORBA::WChar * val) -{ - this->_pd_value = val; -} - -ACE_INLINE -CORBA::WStringValue::WStringValue (const CORBA::WStringValue& val) - : ::CORBA::ValueBase (val), - ::CORBA::DefaultValueRefCountBase (val) -{ - this->_pd_value = val._pd_value; -} - -ACE_INLINE CORBA::WStringValue & -CORBA::WStringValue::operator= (CORBA::WChar * val) -{ - this->_pd_value = val; - return *this; -} - -ACE_INLINE -CORBA::WStringValue::WStringValue (const CORBA::WChar * val) -{ - this->_pd_value = val; -} - -ACE_INLINE -CORBA::WStringValue::WStringValue (const CORBA::WString_var& var) -{ - this->_pd_value = var; -} - -ACE_INLINE CORBA::WStringValue & -CORBA::WStringValue::operator= (const CORBA::WChar * val) -{ - this->_pd_value = val; - return *this; -} - -ACE_INLINE CORBA::WStringValue & -CORBA::WStringValue::operator= (const CORBA::WString_var& var) -{ - this->_pd_value = var; - return *this; -} - -ACE_INLINE const CORBA::WChar * -CORBA::WStringValue::_value (void) const -{ - return this->_pd_value.in (); -} - -ACE_INLINE void -CORBA::WStringValue::_value (CORBA::WChar * val) -{ - this->_pd_value = val; -} - -ACE_INLINE void -CORBA::WStringValue::_value (const CORBA::WChar * val) -{ - this->_pd_value = val; -} - -ACE_INLINE void -CORBA::WStringValue::_value (const CORBA::WString_var& var) -{ - this->_pd_value = var; -} - -ACE_INLINE const CORBA::WChar * -CORBA::WStringValue::_boxed_in (void) const -{ - return this->_pd_value.in (); -} - -ACE_INLINE CORBA::WChar *& -CORBA::WStringValue::_boxed_inout (void) -{ - return this->_pd_value.inout (); -} - -ACE_INLINE CORBA::WChar *& -CORBA::WStringValue::_boxed_out (void) -{ - return this->_pd_value.out (); -} - -ACE_INLINE CORBA::WChar & -CORBA::WStringValue::operator[] (CORBA::ULong slot) -{ - return this->_pd_value[slot]; -} - -ACE_INLINE CORBA::WChar -CORBA::WStringValue::operator[] (CORBA::ULong slot) const -{ - return this->_pd_value[slot]; -} - -ACE_INLINE CORBA::Boolean -CORBA::WStringValue::_tao_marshal_v (TAO_OutputCDR & strm) const -{ - return (strm << this->_pd_value); -} - - - -// TAO_IDL - Generated from -// c:\projects\ace_cvs\ace_wrappers\tao\tao_idl\be\be_visitor_valuebox/valuebox_ci.cpp:60 -ACE_INLINE const char* -CORBA::WStringValue::_tao_obv_static_repository_id () -{ - return "IDL:omg.org/CORBA/WStringValue:1.0"; -} - -ACE_INLINE CORBA::Boolean -CORBA::WStringValue::_tao_unmarshal_v (TAO_InputCDR & ) -{ - return 1; -} - -ACE_INLINE CORBA::Boolean -CORBA::WStringValue::_tao_match_formal_type (ptrdiff_t formal_type_id) const -{ - return formal_type_id == - reinterpret_cast<ptrdiff_t> (&CORBA::WStringValue::_downcast); -} - -TAO_END_VERSIONED_NAMESPACE_DECL |