dbSectionablePE.h 1014 B

123456789101112131415161718192021222324252627
  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright 2015 Autodesk, Inc. All rights reserved.
  4. //
  5. // Use of this software is subject to the terms of the Autodesk license
  6. // agreement provided at the time of installation or download, or which
  7. // otherwise accompanies this software in either electronic or hard copy form.
  8. //
  9. //////////////////////////////////////////////////////////////////////////////
  10. #pragma once
  11. ///////////////////////////////////////////////////////////////////////////////
  12. // AcDbSectionablePE Protocol extension
  13. //
  14. class AcDbSectionablePE : public AcRxObject
  15. {
  16. public:
  17. // Only need to export run-time class methods
  18. ACRX_DECLARE_MEMBERS_EXPIMP(AcDbSectionablePE, ACDB_PORT);
  19. // Check if the AcDbObject is sectionable
  20. // AcDbSection object will check this protocol extension,
  21. // if the AcDbObject support section, AcDbSection will apply to it.
  22. //
  23. virtual bool supportSection(const AcDbObject& pObject) = 0;
  24. };