CFx SDK Documentation  2022 SP0
PdfPublishBaseObject.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 
26 //
27 // PdfPublishBaseObject.h
28 //
30 
31 #ifndef _PDF_PUBLISH_BASE_OBJECT_INCLUDED_
32 #define _PDF_PUBLISH_BASE_OBJECT_INCLUDED_
33 
34 #include "PdfPublishDef.h"
35 #include "RxObject.h"
36 #include "Ge/GePoint2d.h"
37 #include "Gs/GsDefs.h"
38 #include "PdfPublishCommon.h"
39 
43 namespace OdPdfPublish{
44 
51  typedef OdGsDCRect OdRect;
52 
60 
62 
63  //DOM-IGNORE-BEGIN
64  class OdPublishObjectImpl;
65  //DOM-IGNORE-END
66 
71  {
72  //DOM-IGNORE-BEGIN
73  friend class OdPublishObjectImpl;
74  OdObject();
75  OdPublishObjectImpl* m_pImpl;
76  protected:
77  OdObject(OdPublishObjectImpl* pImpl);
78  //DOM-IGNORE-END
79  public:
80  //DOM-IGNORE-BEGIN
83  //DOM-IGNORE-END
84 
88  virtual ~OdObject();
89 
93  virtual bool isEmpty() const;
94 
98  virtual bool isValid() const;
99 
103  virtual void clear();
104 
105  };
106 
107  #define SMARTPTR(classname) class classname; typedef OdSmartPtr<classname> classname##Ptr; typedef OdArray<classname##Ptr> classname##PtrArray;
108 
113 
114 }
115 #endif // _PDF_PUBLISH_BASE_OBJECT_INCLUDED_
116 
#define PDFPUBLISH_TOOLKIT
Definition: PdfPublishDef.h:40
virtual bool isEmpty() const
ODRX_DECLARE_MEMBERS(OdObject)
virtual bool isValid() const
OdObject(OdPublishObjectImpl *pImpl)
virtual void clear()
SMARTPTR(OdFile)
OdArray< OdRect > OdRectArray
OdArray< Action::Type > OdActionTypeArray