CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbViewRepSource.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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 Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 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#include "DbViewRep.h"
30
31#include "TD_PackPush.h"
32
39{
40public:
42 //OdDbViewRepSource();
44
45 virtual enum OdDbViewRep::SourceType type() const;
46
47protected:
48 // OdDbObject methods :
50 virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
52 virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
53 //virtual subErase
54 //virtual decomposeForSave
55};
56
61
62//class OdDbViewRepModelSpaceOccurrence;
63//class OdDbViewRepModelSpaceBodyPath;
64//class OdDbViewRepModelSpaceXRefFileRecord;
65
72//class MODELDOCOBJ_EXPORT OdDbViewRepModelSpaceBodyRecord : public OdDbObject
73//{
74//public:
75// ODDB_DECLARE_MEMBERS(OdDbViewRepModelSpaceBodyRecord);
76// //OdDbViewRepModelSpaceBodyRecord(const OdDbObjectId&, const struct _GUID&, const OdDbObjectId&);
77// //OdDbViewRepModelSpaceBodyRecord(const OdDbObjectId&, const struct _GUID&);
78// OdDbViewRepModelSpaceBodyRecord();
79// virtual ~OdDbViewRepModelSpaceBodyRecord();
80//
81// //OdResult transfer2DWGBodyRecord(class aciv::DWGBodyRecord*) const;
82// //OdResult fixObjId();
83// //void setBoundingBox(const OdGePoint3d&, const OdGePoint3d&);
84// //void boundingBox(OdGePoint3d&, OdGePoint3d&) const;
85// //void setBlockDefObjId(const OdDbObjectId&);
86// //OdDbObjectId blockDefObjId() const;
87// //bool isXRef() const;
88// //void setBodyVerGuid(const struct _GUID&);
89// //struct _GUID& bodyVerGuid();
90// //const struct _GUID& bodyVerGuid() const;
91// //void setBodyHandle(const OdDbHandle&);
92// //OdDbHandle bodyHandle() const;
93// //void setBodyObjId(const OdDbObjectId&);
94// //OdDbObjectId bodyObjId() const;
95//
96//protected:
97// // OdDbObject methods :
98// virtual OdResult dwgInFields(OdDbDwgFiler* pFiler);
99// virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
100// virtual OdResult dxfInFields(OdDbDxfFiler* pFiler);
101// virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
102//
108//};
109
116//class MODELDOCOBJ_EXPORT OdDbViewRepModelSpaceBodyOccurrenceSnapshot : public OdDbObject
117//{
118//public:
119// ODDB_DECLARE_MEMBERS(OdDbViewRepModelSpaceBodyOccurrenceSnapshot);
120// OdDbViewRepModelSpaceBodyOccurrenceSnapshot();
121// virtual ~OdDbViewRepModelSpaceBodyOccurrenceSnapshot();
122//
123// //const OdDbViewRepModelSpaceOccurrence* findOccurrence(const OdDbViewRepModelSpaceBodyPath&,
124// // const OdDbObjectId&) const;
125// //OdResult getSubOccurrences(const OdArray<OdDbObjectId>&,
126// // OdArray<OdDbViewRepModelSpaceOccurrence>&) const;
127// //OdResult fixObjId();
128// //bool isEqualTo(const OdDbViewRepModelSpaceBodyOccurrenceSnapshot&,
129// // const OdArray<OdDbObjectId>&) const;
130// //bool isEqualTo(const OdDbViewRepModelSpaceBodyOccurrenceSnapshot&) const;
131// //bool isEqual(const OdArray<OdDbViewRepModelSpaceOccurrence>&,
132// // const OdArray<OdDbViewRepModelSpaceBodyRecord>&,
133// // const OdArray<OdDbViewRepModelSpaceXRefFileRecord>&,
134// // const OdArray<OdDbViewRepModelSpaceOccurrence>&);
135// //unsigned short getVersionNum() const;
136//
137//protected:
138// // OdDbObject methods :
139// virtual OdResult dwgInFields(OdDbDwgFiler* pFiler);
140// virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
141// virtual OdResult dxfInFields(OdDbDxfFiler* pFiler);
142// virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
143//};
144
153{
154public:
158
159 virtual enum OdDbViewRep::SourceType type() const;
160
161protected:
162 // OdDbObject methods :
164 virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
166 virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
167};
168
173
174#include "TD_PackPop.h"
175
176#endif // OD_VIEWREPSOURCE_H
OdSmartPtr< OdDbViewRepSource > OdDbViewRepSourcePtr
OdSmartPtr< OdDbViewRepFusionSource > OdDbViewRepFusionSourcePtr
#define MODELDOCOBJ_EXPORT
OdResult
Definition: OdResult.h:29
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual enum OdDbViewRep::SourceType type() const
ODDB_DECLARE_MEMBERS(OdDbViewRepFusionSource)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual ~OdDbViewRepFusionSource()
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
ODDB_DECLARE_MEMBERS(OdDbViewRepSource)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual enum OdDbViewRep::SourceType type() const
virtual ~OdDbViewRepSource()
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const