// 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 _BOPTools_CoupleOfInteger_HeaderFile #define _BOPTools_CoupleOfInteger_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif //! Auxiliary class providing structure to
//! store info about a couple of integers
class BOPTools_CoupleOfInteger { 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); } //! Empty Constructor
Standard_EXPORT BOPTools_CoupleOfInteger(); //! Constructor
Standard_EXPORT BOPTools_CoupleOfInteger(const Standard_Integer aFirst,const Standard_Integer aSecond); //! Modifier
Standard_EXPORT void SetCouple(const Standard_Integer aFirst,const Standard_Integer aSecond) ; //! Modifier
Standard_EXPORT void SetFirst(const Standard_Integer aFirst) ; //! Modifier
Standard_EXPORT void SetSecond(const Standard_Integer aSecond) ; //! Selector
Standard_EXPORT void Couple(Standard_Integer& aFirst,Standard_Integer& aSecond) const; //! Selector
Standard_EXPORT Standard_Integer First() const; //! Selector
Standard_EXPORT Standard_Integer Second() const; Standard_EXPORT Standard_Boolean IsEqual(const BOPTools_CoupleOfInteger& aOther) const; Standard_EXPORT Standard_Integer HashCode(const Standard_Integer Upper) const; protected: private: Standard_Integer myFirst; Standard_Integer mySecond; }; // other Inline functions and methods (like "C++: function call" methods) #endif