CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbSynergy.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_SYNERGY_H
25#define OD_SYNERGY_H
26
27#include "DbObject.h"
28#include "ModelDocObjExports.h"
29
30#include "TD_PackPush.h"
31
32//namespace OdSynergyObj
33//{
34// enum ViewEdgeLayerStyleType {};
35// enum ViewEdgeType {};
36// enum ViewRepZoneType {};
37//}
38
39//class MODELDOCOBJ_EXPORT OdDbSynergyLayerMapping : public OdDbObject
40//{
41//public:
42// ODDB_DECLARE_MEMBERS(OdDbSynergyLayerMapping);
43// OdDbSynergyLayerMapping();
44// virtual ~OdDbSynergyLayerMapping();
45//
46// //void layerIds(OdArray<OdDbObjectId>&) const;
47// //void removeLayerId(enum OdSynergyObj::ViewEdgeLayerStyleType);
48// //void addLayerId(enum OdSynergyObj::ViewEdgeLayerStyleType, OdDbObjectId);
49// //bool layerId(enum OdSynergyObj::ViewEdgeLayerStyleType, OdDbObjectId&) const;
50//
51//protected:
52// // OdDbObject methods :
53// virtual OdResult dwgInFields(OdDbDwgFiler* pFiler);
54// virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
55// virtual OdResult dxfInFields(OdDbDxfFiler* pFiler);
56// virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
57//};
58
59//class MODELDOCOBJ_EXPORT OdDbIdwViewMapping : public OdDbObject
60//{
61//public:
62// ODDB_DECLARE_MEMBERS(OdDbIdwViewMapping);
63// OdDbIdwViewMapping();
64// virtual ~OdDbIdwViewMapping();
65//
66// void setViewRepId(OdDbObjectId);
67// OdDbObjectId viewRepId() const;
68// void setViewportId(OdDbObjectId);
69// OdDbObjectId viewportId() const;
70// void setInventorViewId(OdUInt64);
71// OdUInt64 inventorViewId() const;
72//
73//protected:
74// // OdDbObject methods :
75// virtual OdResult dwgInFields(OdDbDwgFiler* pFiler);
76// virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
77// virtual OdResult dxfInFields(OdDbDxfFiler* pFiler);
78// virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
79//};
80
81//class MODELDOCOBJ_EXPORT OdDbIdwSheetMapping : public OdDbObject
82//{
83//public:
84// ODDB_DECLARE_MEMBERS(OdDbIdwSheetMapping);
85// OdDbIdwSheetMapping();
86// virtual ~OdDbIdwSheetMapping();
87//
88// //bool hasInventorModelDocViews() const;
89// //OdResult invalidIds(OdArray<OdUInt64>&) const;
90// //OdResult update(OdArray<OdUInt64>&);
91// //bool eraseViewMappingByViewRepId(OdDbObjectId);
92// //bool eraseViewMappingByViewportId(OdDbObjectId);
93// //bool eraseViewMappingByViewId(OdUInt64);
94// //OdDbIdwViewMapping* addIdwViewMapping(OdUInt64, OdDbObjectId, OdDbObjectId);
95// //const OdDbIdwViewMapping* idwViewMappingByViewRepId(OdDbObjectId) const;
96// //const OdDbIdwViewMapping* idwViewMappingByViewportId(OdDbObjectId) const;
97// //const OdDbIdwViewMapping* idwViewMappingByViewId(OdUInt64) const;
98// //OdDbIdwViewMapping* idwViewMappingByViewRepId(OdDbObjectId);
99// //OdDbIdwViewMapping* idwViewMappingByViewportId(OdDbObjectId);
100// //OdDbIdwViewMapping* idwViewMappingByViewId(OdUInt64);
101// //void setLayoutId(OdDbObjectId);
102// //OdDbObjectId layoutId() const;
103// //void setIdwSheetId(unsigned long);
104// //unsigned long idwSheetId() const;
105//
106//protected:
107// // OdDbObject methods :
108// virtual OdResult dwgInFields(OdDbDwgFiler* pFiler);
109// virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
110// virtual OdResult dxfInFields(OdDbDxfFiler* pFiler);
111// virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
112//
115//};
116
124{
125public:
129
130 //bool hasInventorModelDocViews(class OdDbDatabase *) const;
131 //OdResult allLayoutIds(OdArray<OdDbObjectId>&) const;
132 //OdResult invalidIds(OdArray<unsigned long>&, OdArray<OdUInt64>&) const;
133 //const OdDbSynergyLayerMapping& layerMapping() const;
134 //OdDbSynergyLayerMapping& layerMapping();
135 //OdResult update(OdArray<unsigned long>&, OdArray<OdUInt64>&);
136 //bool eraseAllIdwSheetMappings();
137 //bool eraseIdwSheetMappingByLayoutId(OdDbObjectId);
138 //bool eraseIdwSheetMappingBySheetId(unsigned long);
139 //OdDbIdwSheetMapping* addIdwSheetMapping(unsigned long,OdDbObjectId);
140 //const OdDbIdwSheetMapping* idwSheetMappingByLayoutId(OdDbObjectId) const;
141 //const OdDbIdwSheetMapping* idwSheetMappingBySheetId(unsigned long) const;
142 //OdDbIdwSheetMapping* idwSheetMappingByLayoutId(OdDbObjectId);
143 //OdDbIdwSheetMapping* idwSheetMappingBySheetId(unsigned long);
144
145protected:
146 // OdDbObject methods :
148 virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
150 virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
151 // virtual subErase
152
153//private:
154// void eraseIdwSheetMappings();
155};
156
161
168//class MODELDOCOBJ_EXPORT OdDbSynergyBulletin : public OdDbObject
169//{
170//public:
171// ODDB_DECLARE_MEMBERS(OdDbSynergyBulletin);
172// OdDbSynergyBulletin();
173// virtual ~OdDbSynergyBulletin();
174//
175//protected:
176// // OdDbObject methods :
177// virtual OdResult dwgInFields(OdDbDwgFiler* pFiler);
178// virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
179// virtual OdResult dxfInFields(OdDbDxfFiler* pFiler);
180// virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
181//};
182
186//typedef OdSmartPtr<OdDbSynergyBulletin> OdDbSynergyBulletinPtr;
187
188#include "TD_PackPop.h"
189
190#endif // OD_SYNERGY_H
OdSmartPtr< OdDbSynergyMappings > OdDbSynergyMappingsPtr
Definition: DbSynergy.h:160
#define MODELDOCOBJ_EXPORT
OdResult
Definition: OdResult.h:29
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual ~OdDbSynergyMappings()
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
ODDB_DECLARE_MEMBERS(OdDbSynergyMappings)