dblyfilt.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. //////////////////////////////////////////////////////////////////////////////
  3. //
  4. // Copyright 2015 Autodesk, Inc. All rights reserved.
  5. //
  6. // Use of this software is subject to the terms of the Autodesk license
  7. // agreement provided at the time of installation or download, or which
  8. // otherwise accompanies this software in either electronic or hard copy form.
  9. //
  10. //////////////////////////////////////////////////////////////////////////////
  11. //
  12. // Default implementation for Layer Filter.
  13. //
  14. #ifndef AD_DBLYFILT_H
  15. #define AD_DBLYFILT_H
  16. #include "dbfilter.h"
  17. #include "AdAChar.h"
  18. #pragma pack (push, 8)
  19. class AcDbLayerFilter: public AcDbFilter
  20. {
  21. public:
  22. ACDB_DECLARE_MEMBERS(AcDbLayerFilter);
  23. AcDbLayerFilter();
  24. virtual ~AcDbLayerFilter();
  25. virtual AcRxClass* indexClass() const;
  26. virtual Adesk::Boolean isValid() const;
  27. Acad::ErrorStatus add(const ACHAR * pLayer);
  28. Acad::ErrorStatus remove(const ACHAR * pLayer);
  29. Acad::ErrorStatus getAt(int index, const ACHAR *& pName) const;
  30. int layerCount() const;
  31. };
  32. #pragma pack (pop)
  33. #endif // AD_DBLYFILT_H