#pragma once #include "DbBlockGrip.h" #include class OdDbBlockPointParameter; typedef OdSmartPtrOdDbBlockPointParameterPtr; class OdDbBlockXYParameter; typedef OdSmartPtrOdDbBlockXYParameterPtr; /** \details Grip point for the point and XY parameters */ class DYNBLOCKS_EXPORT OdDbBlockXYGrip : public OdDbBlockGrip { public: ODDB_DECLARE_MEMBERS(OdDbBlockXYGrip); /** \details Default constructor */ OdDbBlockXYGrip(); OdResult dxfInFields(OdDbDxfFiler* pFiler); void dxfOutFields(OdDbDxfFiler* pFiler) const; /** \details Returns associated point parameter or null if the associated parameter is missing or is of a XY type */ OdDbBlockPointParameterPtr getAssociatedPointParameter(OdDb::OpenMode = OdDb::kForRead); /** \details Returns associated XT parameter or null if the associated parameter is missing or is of a point type */ OdDbBlockXYParameterPtr getAssociatedXYParameter(OdDb::OpenMode = OdDb::kForRead); }; typedef OdSmartPtr OdDbBlockXYGripPtr;