// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _Expr_RelationIterator_HeaderFile #define _Expr_RelationIterator_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Expr_Array1OfSingleRelation_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Handle_Expr_GeneralRelation_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Handle_Expr_SingleRelation_HeaderFile #include #endif class Standard_NoMoreObject; class Standard_NoSuchObject; class Expr_GeneralRelation; class Expr_SingleRelation; //! Iterates on every basic relation contained in
//! a GeneralRelation.
class Expr_RelationIterator { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } Standard_EXPORT Expr_RelationIterator(const Handle(Expr_GeneralRelation)& rel); //! Returns False if no other relation remains.
Standard_EXPORT Standard_Boolean More() const; Standard_EXPORT void Next() ; //! Returns current basic relation.
//! Exception is raised if no more relation remains.
Standard_EXPORT Handle_Expr_SingleRelation Value() const; protected: private: Expr_Array1OfSingleRelation myRelation; Standard_Integer current; }; // other Inline functions and methods (like "C++: function call" methods) #endif