DbLinkedData.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. // Name: DbLinkedData.h
  12. //
  13. // Description: Data classes
  14. // Contains the following classes:
  15. // AcDbLinkedData
  16. //////////////////////////////////////////////////////////////////////////////
  17. #pragma once
  18. #include "AcValue.h"
  19. #include "DbDataLink.h"
  20. //*************************************************************************
  21. // AcDbLinkedData
  22. //*************************************************************************
  23. class AcDbLinkedData : public AcDbObject
  24. {
  25. public:
  26. ACDB_DECLARE_MEMBERS(AcDbLinkedData);
  27. ACDB_PORT AcDbLinkedData(void);
  28. ACDB_PORT virtual ~AcDbLinkedData(void);
  29. ACDB_PORT virtual Acad::ErrorStatus clear(void);
  30. ACDB_PORT virtual bool isEmpty (void) const;
  31. ACDB_PORT virtual const ACHAR* name (void) const;
  32. ACDB_PORT virtual Acad::ErrorStatus setName(const ACHAR* pszName);
  33. ACDB_PORT virtual const ACHAR* description(void) const;
  34. ACDB_PORT virtual Acad::ErrorStatus setDescription(const ACHAR* pszDescription);
  35. ACDB_PORT virtual Acad::ErrorStatus dwgInFields(AcDbDwgFiler* pFiler);
  36. ACDB_PORT virtual Acad::ErrorStatus dwgOutFields(AcDbDwgFiler* pFiler) const;
  37. ACDB_PORT virtual Acad::ErrorStatus dxfInFields(AcDbDxfFiler* pFiler);
  38. ACDB_PORT virtual Acad::ErrorStatus dxfOutFields(AcDbDxfFiler* pFiler) const;
  39. };
  40. typedef AcArray<AcDbLinkedData*> AcDbDataArray;