// File generated by CPPExt (Transient)
//
//
//                     Copyright (C) 1991 - 2000 by  
//                      Matra Datavision SA.  All rights reserved.
//  
//                     Copyright (C) 2001 - 2004 by
//                     Open CASCADE SA.  All rights reserved.
// 
// This file is part of the Open CASCADE Technology software.
//
// This software may be distributed and/or modified under the terms and
// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
// and appearing in the file LICENSE included in the packaging of this file.
//  
// This software is distributed on an "AS IS" basis, without warranty of any
// kind, and Open CASCADE SA hereby disclaims all such warranties,
// including without limitation, any warranties of merchantability, fitness
// for a particular purpose or non-infringement. Please see the License for
// the specific terms and conditions governing rights and limitations under the
// License.

#ifndef _MS_GenType_HeaderFile
#define _MS_GenType_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Handle_MS_GenType_HeaderFile
#include <Handle_MS_GenType.hxx>
#endif

#ifndef _Handle_TCollection_HAsciiString_HeaderFile
#include <Handle_TCollection_HAsciiString.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Handle_TColStd_HSequenceOfHAsciiString_HeaderFile
#include <Handle_TColStd_HSequenceOfHAsciiString.hxx>
#endif
#ifndef _MS_Type_HeaderFile
#include <MS_Type.hxx>
#endif
#ifndef _Handle_MS_Class_HeaderFile
#include <Handle_MS_Class.hxx>
#endif
#ifndef _Handle_MS_Type_HeaderFile
#include <Handle_MS_Type.hxx>
#endif
#ifndef _Handle_MS_Package_HeaderFile
#include <Handle_MS_Package.hxx>
#endif
class TCollection_HAsciiString;
class TColStd_HSequenceOfHAsciiString;
class MS_Class;
class MS_Type;
class MS_Package;



class MS_GenType : public MS_Type {

public:
 // Methods PUBLIC
 // 

//! create a type with a type constraint <br>
Standard_EXPORT MS_GenType(const Handle(MS_Class)& aClass,const Handle(TCollection_HAsciiString)& aName,const Handle(TCollection_HAsciiString)& aConstraint);

//! create a type with an any constraint <br>
Standard_EXPORT MS_GenType(const Handle(MS_Class)& aClass,const Handle(TCollection_HAsciiString)& aName);

//! return the constraint's type <br>
Standard_EXPORT   Handle_MS_Type TYpe() const;

//! returns the constraint type's name <br>
Standard_EXPORT   Handle_TCollection_HAsciiString TYpeName() const;

//! If the constraint type is generic, we set the instantiation types here <br>
//!          ex. :  G (item0; <br>
//!                    item1 as Sequence from TCollection(item0)) <br>
//! <br>
//!                 InsType are for type item1 -> item0 <br>
Standard_EXPORT   void InstType(const Handle(TCollection_HAsciiString)& aTypeName) ;


Standard_EXPORT   Handle_TColStd_HSequenceOfHAsciiString GetInstTypes() const;

//! set no constraint checking <br>
Standard_EXPORT   void SetAny() ;

//! ask if the this type has a constraint checking <br>
Standard_EXPORT   Standard_Boolean Any() const;


Standard_EXPORT virtual  void Package(const Handle(TCollection_HAsciiString)& aPackage) ;


Standard_EXPORT virtual  Handle_MS_Package Package() const;


Standard_EXPORT   Standard_Boolean Private() const;
//Standard_EXPORT ~MS_GenType();




 // Type management
 //
 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
 //Standard_EXPORT Standard_Boolean	       IsKind(const Handle(Standard_Type)&) const;

protected:

 // Methods PROTECTED
 // 


 // Fields PROTECTED
 //


private: 

 // Methods PRIVATE
 // 


 // Fields PRIVATE
 //
Handle_TCollection_HAsciiString myClass;
Standard_Boolean myAny;
Handle_TCollection_HAsciiString myType;
Handle_TColStd_HSequenceOfHAsciiString myInsType;
Standard_Boolean myPrivate;


};





// other Inline functions and methods (like "C++: function call" methods)
//


#endif
