diff options
author | bala <balanatarajan@users.noreply.github.com> | 2003-05-09 21:23:03 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2003-05-09 21:23:03 +0000 |
commit | ad9b90a423d0831f9bb7c75bd113cfe78ae9b353 (patch) | |
tree | 302a164db220676d6f3394999e468735cba684db | |
parent | 13cc45a11a22fd09a4c12776d1b48e536f25e467 (diff) | |
download | ATCD-ad9b90a423d0831f9bb7c75bd113cfe78ae9b353.tar.gz |
ChangeLogTag:Fri May 9 16:21:48 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
-rw-r--r-- | TAO/ChangeLog | 6 | ||||
-rw-r--r-- | TAO/tao/SArgument.h | 50 | ||||
-rw-r--r-- | TAO/tao/SArgument_T.h | 119 |
3 files changed, 6 insertions, 169 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index b4fa4425ed6..148fc898dd2 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,9 @@ +Fri May 9 16:21:48 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu> + + * tao/SArgument.h: + * tao/SArgument_T.h: Removed these files from the main + trunk. Shouldnt have been there in the first place. + Fri May 9 16:19:32 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu> * tao/corba.h: Actually doing what is supposed to be done by "Fri diff --git a/TAO/tao/SArgument.h b/TAO/tao/SArgument.h deleted file mode 100644 index 46c98f611df..00000000000 --- a/TAO/tao/SArgument.h +++ /dev/null @@ -1,50 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- - -//============================================================================= -/** - * @file SArgument_Base.h - * - * $Id$ - * - * @authors Jeff Parsons and Carlos O'Ryan - */ -//============================================================================= - - -#ifndef TAO_SARGUMENT_H -#define TAO_SARGUMENT_H - -#include "ace/pre.h" - -#include "tao/corbafwd.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -namespace TAO -{ - /** - * @class SArgument - * - * @brief Base class for all IDL operation skeleton parameter wrappers. - */ - class SArgument - { - public: - virtual CORBA::Boolean marshal (TAO_OutputCDR &) - { - return 0; - } - - virtual CORBA::Boolean unmarshal (TAO_InputCDR &) - { - return 0; - } - }; -}; - -#include "ace/post.h" - -#endif /* TAO_SARGUMENT_H */ - diff --git a/TAO/tao/SArgument_T.h b/TAO/tao/SArgument_T.h deleted file mode 100644 index ad7416a99cf..00000000000 --- a/TAO/tao/SArgument_T.h +++ /dev/null @@ -1,119 +0,0 @@ -// This may look like C, but it's really -*- C++ -*- - -//============================================================================= -/** - * @file SArgument_Base_T.h - * - * $Id$ - * - * @authors Jeff Parsons and Carlos O'Ryan - */ -//============================================================================= - - -#ifndef TAO_SARGUMENT_T_H -#define TAO_SARGUMENT_T_H - -#include "ace/pre.h" - -#include "SArgument.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -namespace TAO -{ - /** - * @class SArgument_Base - * - * @brief Template base class for most IDL basic type skeleton arguments. - */ - template<typename T> - class SArgument_Base : public SArgument - { - public: - virtual void any_insert (CORBA::Any & any) - { - any <<= this->argval_; - } - - T & arg (void) - { - return this->argval_; - } - - private: - T & argval_; - }; - - /** - * @class In_Predefined_SArgument - * - * @brief Template class for most IDL basic type skeleton IN arguments. - */ - template<typename T> - class In_Predefined_SArgument : public SArgument_Base<T> - { - public: - virtual CORBA::Boolean unmarshal (TAO_InputCDR &cdr) - { - return (cdr >> this->argval_); - } - }; - - /** - * @class Inout_Predefined_SArgument - * - * @brief Template class for most IDL basic type skeleton INOUT arguments. - */ - template<typename T> - class Inout_Predefined_SArgument : public SArgument_Base<T> - { - public: - virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr) - { - return (cdr << this->argval)_; - } - - virtual CORBA::Boolean unmarshal (TAO_InputCDR &cdr) - { - return (cdr >> this->argval_); - } - }; - - /** - * @class Out_Predefined_SArgument - * - * @brief Template class for most IDL basic type skeleton OUT arguments. - */ - template<typename T> - class Out_Predefined_SArgument : public SArgument_Base<T> - { - public: - virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr) - { - return (cdr << this->argval_); - } - }; - - /** - * @class Retn_Predefined_SArgument - * - * @brief Template class for most IDL basic type skeleton return arguments. - */ - template<typename T> - class Retn_Predefined_SArgument : public SArgument_Base<T> - { - public: - virtual CORBA::Boolean marshal (TAO_OutputCDR & cdr) - { - return (cdr << this->argval_); - } - }; -}; - -#include "ace/post.h" - -#endif /* TAO_SARGUMENT_T_H */ - |