diff options
author | vishal <vishal@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-12 02:51:27 +0000 |
---|---|---|
committer | vishal <vishal@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-12 02:51:27 +0000 |
commit | 8c21d2b3de5550a50489733338bc076c50e7776e (patch) | |
tree | 731c55b4a58cda93121cce60c5e03ed92d4c99ed /TAO/tao/ObjectIDList.h | |
parent | ab3c998e1ceb66a31e651533d5cdb478be49ce45 (diff) | |
download | ATCD-8c21d2b3de5550a50489733338bc076c50e7776e.tar.gz |
*** empty log message ***
Diffstat (limited to 'TAO/tao/ObjectIDList.h')
-rw-r--r-- | TAO/tao/ObjectIDList.h | 145 |
1 files changed, 145 insertions, 0 deletions
diff --git a/TAO/tao/ObjectIDList.h b/TAO/tao/ObjectIDList.h new file mode 100644 index 00000000000..efcf16a5d09 --- /dev/null +++ b/TAO/tao/ObjectIDList.h @@ -0,0 +1,145 @@ +/* -*- C++ -*- */ +// $Id $ +// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* +// TAO and the TAO IDL Compiler have been developed by the Center for +// Distributed Object Computing at Washington University, St. Louis. +// +// Information about TAO is available at: +// http://www.cs.wustl.edu/~schmidt/TAO.html +// +// Hand Modified by Vishal Kachroo <vishal@cs.wustl.edu> +// + +#ifndef OBJECTIDLIST_H_ +#define OBJECTIDLIST_H_ + +#include "tao/corba.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + + +#if defined (TAO_EXPORT_MACRO) +#undef TAO_EXPORT_MACRO +#endif +#define TAO_EXPORT_MACRO +#if defined(_MSC_VER) +#pragma warning(disable:4250) +#endif /* _MSC_VER */ + + +#if !defined (_CORBA_ORB_OBJECTIDLIST_CH_) +#define _CORBA_ORB_OBJECTIDLIST_CH_ + +// ************************************************************* +// ObjectIdList +// ************************************************************* + +class CORBA_ORB::ObjectIdList : public +#if !defined (TAO_USE_SEQUENCE_TEMPLATES) +TAO_Unbounded_String_Sequence +#else /* TAO_USE_SEQUENCE_TEMPLATES */ +TAO_Unbounded_String_Sequence +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ +{ +public: + ObjectIdList (void); // default ctor + ObjectIdList (CORBA::ULong max); // uses max size + ObjectIdList ( + CORBA::ULong max, + CORBA::ULong length, + char * *buffer, + CORBA::Boolean release=0 + ); + ObjectIdList (const CORBA_ORB::ObjectIdList &); // copy ctor + ~ObjectIdList (void); // dtor +}; + +typedef CORBA_ORB::ObjectIdList *CORBA_ORB::ObjectIdList_ptr; + +#endif /* end #if !defined */ + +#if !defined (_CORBA_ORB_OBJECTIDLIST___VAR_CH_) +#define _CORBA_ORB_OBJECTIDLIST___VAR_CH_ + +// ************************************************************* +// class CORBA::ORB::ObjectIdList_var +// ************************************************************* + +class CORBA_ORB::ObjectIdList_var +{ +public: + ObjectIdList_var (void); // default constructor + ObjectIdList_var (ObjectIdList *); + ObjectIdList_var (const ObjectIdList_var &); // copy constructor + ~ObjectIdList_var (void); // destructor + + ObjectIdList_var &operator= (ObjectIdList *); + ObjectIdList_var &operator= (const ObjectIdList_var &); + ObjectIdList *operator-> (void); + const ObjectIdList *operator-> (void) const; + + operator const ObjectIdList &() const; + operator ObjectIdList &(); + operator ObjectIdList &() const; + TAO_SeqElem_String_Manager operator[] (CORBA::ULong index); + // in, inout, out, _retn + const ObjectIdList &in (void) const; + ObjectIdList &inout (void); + ObjectIdList *&out (void); + ObjectIdList *_retn (void); + ObjectIdList *ptr (void) const; + +private: + ObjectIdList *ptr_; +}; + +#endif /* end #if !defined */ + + +#if !defined (_CORBA_ORB_OBJECTIDLIST___OUT_CH_) +#define _CORBA_ORB_OBJECTIDLIST___OUT_CH_ + +class CORBA_ORB::ObjectIdList_out +{ +public: + ObjectIdList_out (ObjectIdList *&); + ObjectIdList_out (ObjectIdList_var &); + ObjectIdList_out (const ObjectIdList_out &); + ObjectIdList_out &operator= (const ObjectIdList_out &); + ObjectIdList_out &operator= (ObjectIdList *); + operator ObjectIdList *&(); + ObjectIdList *&ptr (void); + ObjectIdList *operator-> (void); + TAO_SeqElem_String_Manager operator[] (CORBA::ULong index); + +private: + ObjectIdList *&ptr_; + // assignment from T_var not allowed + void operator= (const CORBA_ORB::ObjectIdList_var &); +}; + +#endif /* end #if !defined */ + +static CORBA::TypeCode_ptr _tc_ObjectIdList; + + +#ifndef __ACE_INLINE__ + +CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::ORB::ObjectIdList &); // +CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::ORB::ObjectIdList &); + +#endif /* __ACE_INLINE__ */ + + +#if defined (__ACE_INLINE__) +#include "ObjectIDList.i" +#endif /* defined INLINE */ + +#if defined(_MSC_VER) +#pragma warning(default:4250) +#endif /* _MSC_VER */ + +#endif /* ifndef */ + |