Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

exotkParameter_HSequenceOfParameter.hxx

Go to the documentation of this file.
00001 // File generated by CPPExt (Parameter)
00002 //
00003 //                     Copyright (C) 1991,1995 by
00004 //  
00005 //                      MATRA DATAVISION, FRANCE
00006 //  
00007 // This software is furnished in accordance with the terms and conditions
00008 // of the contract and with the inclusion of the above copyright notice.
00009 // This software or any other copy thereof may not be provided or otherwise
00010 // be made available to any other person. No title to an ownership of the
00011 // software is hereby transferred.
00012 //  
00013 // At the termination of the contract, the software and all copies of this
00014 // software must be deleted.
00015 //
00016 #ifndef _exotkParameter_HSequenceOfexotkParameter_HeaderFile
00017 #define _exotkParameter_HSequenceOfexotkParameter_HeaderFile
00018 
00019 #ifndef _Standard_HeaderFile
00020 #include <Standard.hxx>
00021 #endif
00022 #ifndef _Handle_exotkParameter_HSequenceOfexotkParameter_HeaderFile
00023 #include <Handle_exotkParameter_HSequenceOfParameter.hxx>
00024 #endif
00025 
00026 #ifndef _exotkParameter_SequenceOfexotkParameter_HeaderFile
00027 #include <exotkParameter_SequenceOfParameter.hxx>
00028 #endif
00029 #ifndef _MMgt_TShared_HeaderFile
00030 #include <MMgt_TShared.hxx>
00031 #endif
00032 #ifndef _exotkParameter_Root_HeaderFile
00033 #include <exotkParameter_Root.hxx>
00034 #endif
00035 #ifndef _Standard_Boolean_HeaderFile
00036 #include <Standard_Boolean.hxx>
00037 #endif
00038 #ifndef _Standard_Integer_HeaderFile
00039 #include <Standard_Integer.hxx>
00040 #endif
00041 class Standard_NoSuchObject;
00042 class Standard_OutOfRange;
00043 class exotkParameter_Root;
00044 class exotkParameter_SequenceOfParameter;
00045 
00046 
00047 class exotkParameter_HSequenceOfParameter : public MMgt_TShared {
00048 
00049 public:
00050 
00051     inline void* operator new(size_t,void* anAddress) 
00052       {
00053         return anAddress;
00054       }
00055     inline void* operator new(size_t size) 
00056       { 
00057         return Standard::Allocate(size); 
00058       }
00059     inline void  operator delete(void *anAddress) 
00060       { 
00061         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
00062       }
00063 //    inline void  operator delete(void *anAddress, size_t size) 
00064 //      { 
00065 //        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
00066 //      }
00067  // Methods PUBLIC
00068  // 
00069 Standard_EXPORT inline exotkParameter_HSequenceOfParameter();
00070 Standard_EXPORT inline   Standard_Boolean IsEmpty() const;
00071 Standard_EXPORT inline   Standard_Integer Length() const;
00072 Standard_EXPORT   void Clear() ;
00073 Standard_EXPORT   void Append(const Handle_exotkParameter_Root& anItem) ;
00074 Standard_EXPORT   void Append(const Handle_exotkParameter_HSequenceOfParameter& aSequence) ;
00075 Standard_EXPORT   void Prepend(const Handle_exotkParameter_Root& anItem) ;
00076 Standard_EXPORT   void Prepend(const Handle_exotkParameter_HSequenceOfParameter& aSequence) ;
00077 Standard_EXPORT   void Reverse() ;
00078 Standard_EXPORT   void InsertBefore(const Standard_Integer anIndex,const Handle_exotkParameter_Root& anItem) ;
00079 Standard_EXPORT   void InsertBefore(const Standard_Integer anIndex,const Handle_exotkParameter_HSequenceOfParameter& aSequence) ;
00080 Standard_EXPORT   void InsertAfter(const Standard_Integer anIndex,const Handle_exotkParameter_Root& anItem) ;
00081 Standard_EXPORT   void InsertAfter(const Standard_Integer anIndex,const Handle_exotkParameter_HSequenceOfParameter& aSequence) ;
00082 Standard_EXPORT   void Exchange(const Standard_Integer anIndex,const Standard_Integer anOtherIndex) ;
00083 Standard_EXPORT   Handle_exotkParameter_HSequenceOfParameter Split(const Standard_Integer anIndex) ;
00084 Standard_EXPORT   void SetValue(const Standard_Integer anIndex,const Handle_exotkParameter_Root& anItem) ;
00085 Standard_EXPORT  const Handle_exotkParameter_Root& Value(const Standard_Integer anIndex) const;
00086 Standard_EXPORT   Handle_exotkParameter_Root& ChangeValue(const Standard_Integer anIndex) ;
00087 Standard_EXPORT   void Remove(const Standard_Integer anIndex) ;
00088 Standard_EXPORT   void Remove(const Standard_Integer fromIndex,const Standard_Integer toIndex) ;
00089 Standard_EXPORT inline  const exotkParameter_SequenceOfParameter& Sequence() const;
00090 Standard_EXPORT inline   exotkParameter_SequenceOfParameter& ChangeSequence() ;
00091 Standard_EXPORT   Handle_exotkParameter_HSequenceOfParameter ShallowCopy() const;
00092 Standard_EXPORT ~exotkParameter_HSequenceOfParameter();
00093 
00094 
00095 
00096 
00097  // Type management
00098  //
00099  Standard_EXPORT friend Handle_Standard_Type& exotkParameter_HSequenceOfexotkParameter_Type_();
00100  Standard_EXPORT const Handle_Standard_Type& DynamicType() const;
00101  Standard_EXPORT Standard_Boolean              IsKind(const Handle_Standard_Type&) const;
00102 
00103 protected:
00104 
00105  // Methods PROTECTED
00106  // 
00107 
00108 
00109  // Fields PROTECTED
00110  //
00111 
00112 
00113 private: 
00114 
00115  // Methods PRIVATE
00116  // 
00117 
00118 
00119  // Fields PRIVATE
00120  //
00121 exotkParameter_SequenceOfParameter mySequence;
00122 
00123 
00124 };
00125 
00126 #define Item Handle_exotkParameter_Root
00127 #define Item_hxx <exotkParameter_Root.hxx>
00128 #define TheSequence exotkParameter_SequenceOfParameter
00129 #define TheSequence_hxx <exotkParameter_SequenceOfParameter.hxx>
00130 #define TCollection_HSequence exotkParameter_HSequenceOfParameter
00131 #define TCollection_HSequence_hxx <exotkParameter_HSequenceOfParameter.hxx>
00132 #define Handle_TCollection_HSequence Handle_exotkParameter_HSequenceOfParameter
00133 #define TCollection_HSequence_Type_() exotkParameter_HSequenceOfexotkParameter_Type_()
00134 
00135 #include <TCollection_HSequence.lxx>
00136 
00137 #undef Item
00138 #undef Item_hxx
00139 #undef TheSequence
00140 #undef TheSequence_hxx
00141 #undef TCollection_HSequence
00142 #undef TCollection_HSequence_hxx
00143 #undef Handle_TCollection_HSequence
00144 #undef TCollection_HSequence_Type_
00145 
00146 
00147 // other inline functions and methods (like "C++: function call" methods)
00148 //
00149 inline Handle_exotkParameter_HSequenceOfParameter ShallowCopy(const Handle_exotkParameter_HSequenceOfParameter& me) {
00150  return me->ShallowCopy();
00151 }
00152 
00153 
00154 
00155 #endif

Generated on Wed Jan 23 12:16:42 2002 for exotk by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001