CFx SDK Documentation  2020SP3
DbViewRepSource.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 #ifndef OD_VIEWREPSOURCE_H
25 #define OD_VIEWREPSOURCE_H
26 
27 #include "DbObject.h"
28 #include "ModelDocObjExports.h"
29 
30 #include "TD_PackPush.h"
31 
38 {
39 public:
41  //OdDbViewRepSource();
42  virtual ~OdDbViewRepSource();
43 
44  //virtual enum OdDbViewRep::SourceType type() const;
45 
46 protected:
47  // OdDbObject methods :
48  virtual OdResult dwgInFields(OdDbDwgFiler* pFiler);
49  virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
50  virtual OdResult dxfInFields(OdDbDxfFiler* pFiler);
51  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
52  //virtual subErase
53  //virtual decomposeForSave
54 };
55 
60 
61 //class OdDbViewRepModelSpaceOccurrence;
62 //class OdDbViewRepModelSpaceBodyPath;
63 //class OdDbViewRepModelSpaceXRefFileRecord;
64 
71 //class MODELDOCOBJ_EXPORT OdDbViewRepModelSpaceBodyRecord : public OdDbObject
72 //{
73 //public:
74 // ODDB_DECLARE_MEMBERS(OdDbViewRepModelSpaceBodyRecord);
75 // //OdDbViewRepModelSpaceBodyRecord(const OdDbObjectId&, const struct _GUID&, const OdDbObjectId&);
76 // //OdDbViewRepModelSpaceBodyRecord(const OdDbObjectId&, const struct _GUID&);
77 // OdDbViewRepModelSpaceBodyRecord();
78 // virtual ~OdDbViewRepModelSpaceBodyRecord();
79 //
80 // //OdResult transfer2DWGBodyRecord(class aciv::DWGBodyRecord*) const;
81 // //OdResult fixObjId();
82 // //void setBoundingBox(const OdGePoint3d&, const OdGePoint3d&);
83 // //void boundingBox(OdGePoint3d&, OdGePoint3d&) const;
84 // //void setBlockDefObjId(const OdDbObjectId&);
85 // //OdDbObjectId blockDefObjId() const;
86 // //bool isXRef() const;
87 // //void setBodyVerGuid(const struct _GUID&);
88 // //struct _GUID& bodyVerGuid();
89 // //const struct _GUID& bodyVerGuid() const;
90 // //void setBodyHandle(const OdDbHandle&);
91 // //OdDbHandle bodyHandle() const;
92 // //void setBodyObjId(const OdDbObjectId&);
93 // //OdDbObjectId bodyObjId() const;
94 //
95 //protected:
96 // // OdDbObject methods :
97 // virtual OdResult dwgInFields(OdDbDwgFiler* pFiler);
98 // virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
99 // virtual OdResult dxfInFields(OdDbDxfFiler* pFiler);
100 // virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
101 //
107 //};
108 
115 //class MODELDOCOBJ_EXPORT OdDbViewRepModelSpaceBodyOccurrenceSnapshot : public OdDbObject
116 //{
117 //public:
118 // ODDB_DECLARE_MEMBERS(OdDbViewRepModelSpaceBodyOccurrenceSnapshot);
119 // OdDbViewRepModelSpaceBodyOccurrenceSnapshot();
120 // virtual ~OdDbViewRepModelSpaceBodyOccurrenceSnapshot();
121 //
122 // //const OdDbViewRepModelSpaceOccurrence* findOccurrence(const OdDbViewRepModelSpaceBodyPath&,
123 // // const OdDbObjectId&) const;
124 // //OdResult getSubOccurrences(const OdArray<OdDbObjectId>&,
125 // // OdArray<OdDbViewRepModelSpaceOccurrence>&) const;
126 // //OdResult fixObjId();
127 // //bool isEqualTo(const OdDbViewRepModelSpaceBodyOccurrenceSnapshot&,
128 // // const OdArray<OdDbObjectId>&) const;
129 // //bool isEqualTo(const OdDbViewRepModelSpaceBodyOccurrenceSnapshot&) const;
130 // //bool isEqual(const OdArray<OdDbViewRepModelSpaceOccurrence>&,
131 // // const OdArray<OdDbViewRepModelSpaceBodyRecord>&,
132 // // const OdArray<OdDbViewRepModelSpaceXRefFileRecord>&,
133 // // const OdArray<OdDbViewRepModelSpaceOccurrence>&);
134 // //unsigned short getVersionNum() const;
135 //
136 //protected:
137 // // OdDbObject methods :
138 // virtual OdResult dwgInFields(OdDbDwgFiler* pFiler);
139 // virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
140 // virtual OdResult dxfInFields(OdDbDxfFiler* pFiler);
141 // virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
142 //};
143 
152 {
153 public:
157 
158  //virtual enum OdDbViewRep::SourceType type() const;
159 
160 protected:
161  // OdDbObject methods :
163  virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
165  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
166 };
167 
172 
173 #include "TD_PackPop.h"
174 
175 #endif // OD_VIEWREPSOURCE_H
OdResult
OdResult
Definition: OdResult.h:29
OdDbViewRepSource::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbViewRepFusionSource::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbViewRepSourcePtr
OdSmartPtr< OdDbViewRepSource > OdDbViewRepSourcePtr
Definition: DbViewRepSource.h:59
DbObject.h
OdDbViewRepSource::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbViewRepFusionSource::OdDbViewRepFusionSource
OdDbViewRepFusionSource()
OdDbViewRepSource::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
TD_PackPop.h
OdDbViewRepFusionSource::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbViewRepFusionSource)
OdDbViewRepSource::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbViewRepSource)
OdDbViewRepSource::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbViewRepSource
Definition: DbViewRepSource.h:38
ModelDocObjExports.h
OdSmartPtr
Definition: SmartPtr.h:58
OdDbViewRepFusionSource::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbDxfFiler
Definition: DbFiler.h:194
TD_PackPush.h
OdDbViewRepSource::~OdDbViewRepSource
virtual ~OdDbViewRepSource()
OdDbViewRepFusionSourcePtr
OdSmartPtr< OdDbViewRepFusionSource > OdDbViewRepFusionSourcePtr
Definition: DbViewRepSource.h:171
OdDbViewRepFusionSource::~OdDbViewRepFusionSource
virtual ~OdDbViewRepFusionSource()
OdDbViewRepFusionSource::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
MODELDOCOBJ_EXPORT
#define MODELDOCOBJ_EXPORT
Definition: ModelDocObjExports.h:33
OdDbViewRepFusionSource::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbObject
Definition: DbObject.h:211
OdDbDwgFiler
Definition: DbFiler.h:1031
OdDbViewRepFusionSource
Definition: DbViewRepSource.h:152