DbTableTemplate.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. //
  11. //////////////////////////////////////////////////////////////////////////////
  12. //
  13. // Name: DbTableTemplate.h
  14. //
  15. // Description: Contains the following classes:
  16. // AcDbTableTemplate
  17. //////////////////////////////////////////////////////////////////////////////
  18. #pragma once
  19. #include "DbTableContent.h"
  20. class AcDbTable;
  21. //*************************************************************************
  22. // AcDbTableTemplate
  23. //*************************************************************************
  24. class AcDbTableTemplate : public AcDbTableContent
  25. {
  26. public:
  27. ACDB_DECLARE_MEMBERS(AcDbTableTemplate);
  28. AcDbTableTemplate(void);
  29. AcDbTableTemplate(const AcDbTable* pTable, AcDb::TableCopyOption nCopyOption);
  30. virtual ~AcDbTableTemplate(void);
  31. virtual Acad::ErrorStatus capture (const AcDbTable* pTable, AcDb::TableCopyOption nCopyOption);
  32. virtual Acad::ErrorStatus createTable (AcDbTable*& pTable, AcDb::TableCopyOption nCopyOption);
  33. virtual Acad::ErrorStatus dwgInFields (AcDbDwgFiler* pFiler);
  34. virtual Acad::ErrorStatus dwgOutFields (AcDbDwgFiler* pFiler) const;
  35. virtual Acad::ErrorStatus dxfInFields (AcDbDxfFiler* pFiler);
  36. virtual Acad::ErrorStatus dxfOutFields (AcDbDxfFiler* pFiler) const;
  37. };