diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-12-29 21:10:42 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-12-29 21:10:42 +0000 |
commit | 14e33369646f450af13418003d29d0721144321d (patch) | |
tree | ab3071b702e71455b797d71b7cea16c3a1edd514 /TAO/tao/Union.h | |
parent | 2956e635769e45475a3c67325bbfdb5fdf273b6f (diff) | |
download | ATCD-14e33369646f450af13418003d29d0721144321d.tar.gz |
This commit was manufactured by cvs2svn to create tag 'ACE-4_6_10'.ACE-4_6_10
Diffstat (limited to 'TAO/tao/Union.h')
-rw-r--r-- | TAO/tao/Union.h | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/TAO/tao/Union.h b/TAO/tao/Union.h deleted file mode 100644 index 11217900c69..00000000000 --- a/TAO/tao/Union.h +++ /dev/null @@ -1,55 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO -// -// = FILENAME -// Union.h -// -// = AUTHOR -// -// Aniruddha Gokhale (Idea by Carlos O'Ryan) -// -// ============================================================================ - -#ifndef TAO_UNION_H -# define TAO_UNION_H - -class TAO_Export TAO_Base_Union -{ - // = TITLE - // Base class for TAO Unions. - // - // = DESCRIPTION - // This class provides a common interface for all IDL unions, - // hence the interpreted marshal engine can manipulate them in a - // type-safe manner. -public: - friend class TAO_Marshal_Union; - // We give access to TAO_Marshal_Union, this allows a safe - // implementation of the marshal engine. - - virtual ~TAO_Base_Union (void); - // destructor. - - virtual void *_discriminant (void) = 0; - // Return pointer to the discriminant. - - virtual void *_access (CORBA::Boolean flag) = 0; - // Provides access to the right data member at the right offset. If - // the flag is TRUE, we allocate the necessary storage. This will be - // required for the decoding side. - - virtual void _reset (void) = 0; - // Free existing storage. - -protected: - TAO_Base_Union (void); - // Default constructor. - -}; - -#endif /* TAO_BASE_UNION_H */ |