// 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_UnknownIterator_HeaderFile #define _Expr_UnknownIterator_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Expr_MapOfNamedUnknown_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Handle_Expr_GeneralExpression_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Handle_Expr_NamedUnknown_HeaderFile #include #endif class Standard_NoMoreObject; class Standard_NoSuchObject; class Expr_GeneralExpression; class Expr_NamedUnknown; //! Describes an iterator on NamedUnknowns contained
//! in any GeneralExpression.
class Expr_UnknownIterator { 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_UnknownIterator(const Handle(Expr_GeneralExpression)& exp); Standard_EXPORT Standard_Boolean More() const; Standard_EXPORT void Next() ; Standard_EXPORT Handle_Expr_NamedUnknown Value() const; protected: private: Standard_EXPORT void Perform(const Handle(Expr_GeneralExpression)& exp) ; Expr_MapOfNamedUnknown myMap; Standard_Integer myCurrent; }; // other Inline functions and methods (like "C++: function call" methods) #endif