CFx SDK Documentation
2024 SP0
Loading...
Searching...
No Matches
SDK
CFx
dd_inc
ShHistory
DbAssocPersSubentManager.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 DBASSOCPERSSUBENTMANAGER_INCLUDED_
25
#define DBASSOCPERSSUBENTMANAGER_INCLUDED_
27
#include "
TD_PackPush.h
"
28
#include "
DbObject.h
"
29
#include "
ShHistory/DbManagerSubentData.h
"
30
#include "
TD_3DSolidHistoryDef.h
"
31
#include "
ModelerDefs.h
"
32
33
34
using namespace
OdDbHistoryInternal
;
41
class
DB3DSOLIDHISTORY_EXPORT
OdDbAssocPersSubentManager
:
public
OdDbObject
42
{
43
public
:
44
ODRX_DECLARE_MEMBERS
(
OdDbAssocPersSubentManager
);
48
OdDbAssocPersSubentManager
();
49
53
virtual
~OdDbAssocPersSubentManager
();
54
60
virtual
void
dwgOutFields
(
OdDbDwgFiler
* pFiler)
const
;
61
70
virtual
OdResult
dwgInFields
(
OdDbDwgFiler
* pFiler);
71
77
virtual
void
dxfOutFields
(
OdDbDxfFiler
* pFiler)
const
;
78
87
virtual
OdResult
dxfInFields
(
OdDbDxfFiler
* pFiler);
88
89
//test method
90
OdResult
parseSubentData
(
SubentDataArray
& pData);
91
//test method
92
OdUInt32
lastStepId
();
93
OdArray <OdUInt32>
infoAcisDataIndexes
(
OdUInt32
depIndex);
94
static
OdDbObjectId
getInstanceFromDatabase
(
OdDbDatabase
const
* pDatabase);
95
static
OdDbObjectId
createIfItDoesNotExist
(
OdDbDatabase
* pDatabase);
96
OdResult
addSubentRWData
(
AcisDataType
dt,
AcisDataTypeArrFirst
dtFirst,
OdUInt32
idx,
OdArray<OdUInt32>
arr);
97
OdUInt32
maxSubentIdIndex
();
98
//OdUInt32 getStepIdForObject(class OdDbObject* pObj/*, bool, bool*/);
99
100
OdUInt32
createNewStep
();
101
102
// virtual OdDbObjectPtr decomposeForSave(OdDb::DwgVersion ver, OdDbObjectId& replaceId, bool& exchangeXData);
103
};
104
105
113
typedef
OdSmartPtr<OdDbAssocPersSubentManager>
OdDbAssocPersSubentManagerPtr
;
114
115
#include "
TD_PackPop.h
"
116
117
#endif
//DBASSOCPERSSUBENTMANAGER_INCLUDED_
OdDbAssocPersSubentManagerPtr
OdSmartPtr< OdDbAssocPersSubentManager > OdDbAssocPersSubentManagerPtr
Definition:
DbAssocPersSubentManager.h:113
DbManagerSubentData.h
DbObject.h
ModelerDefs.h
AcisDataTypeArrFirst
AcisDataTypeArrFirst
Definition:
ModelerDefs.h:128
AcisDataType
AcisDataType
Definition:
ModelerDefs.h:107
OdUInt32
unsigned int OdUInt32
Definition:
OdPlatformSettings.h:814
OdResult
OdResult
Definition:
OdResult.h:29
TD_3DSolidHistoryDef.h
DB3DSOLIDHISTORY_EXPORT
#define DB3DSOLIDHISTORY_EXPORT
Definition:
TD_3DSolidHistoryDef.h:32
TD_PackPop.h
TD_PackPush.h
OdArray
Definition:
OdArray.h:829
OdDbAssocPersSubentManager
Definition:
DbAssocPersSubentManager.h:42
OdDbAssocPersSubentManager::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbAssocPersSubentManager::OdDbAssocPersSubentManager
OdDbAssocPersSubentManager()
OdDbAssocPersSubentManager::addSubentRWData
OdResult addSubentRWData(AcisDataType dt, AcisDataTypeArrFirst dtFirst, OdUInt32 idx, OdArray< OdUInt32 > arr)
OdDbAssocPersSubentManager::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbAssocPersSubentManager::createIfItDoesNotExist
static OdDbObjectId createIfItDoesNotExist(OdDbDatabase *pDatabase)
OdDbAssocPersSubentManager::createNewStep
OdUInt32 createNewStep()
OdDbAssocPersSubentManager::~OdDbAssocPersSubentManager
virtual ~OdDbAssocPersSubentManager()
OdDbAssocPersSubentManager::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbAssocPersSubentManager::lastStepId
OdUInt32 lastStepId()
OdDbAssocPersSubentManager::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbAssocPersSubentManager::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbAssocPersSubentManager)
OdDbAssocPersSubentManager::getInstanceFromDatabase
static OdDbObjectId getInstanceFromDatabase(OdDbDatabase const *pDatabase)
OdDbAssocPersSubentManager::infoAcisDataIndexes
OdArray< OdUInt32 > infoAcisDataIndexes(OdUInt32 depIndex)
OdDbAssocPersSubentManager::maxSubentIdIndex
OdUInt32 maxSubentIdIndex()
OdDbAssocPersSubentManager::parseSubentData
OdResult parseSubentData(SubentDataArray &pData)
OdDbDatabase
Definition:
DbDatabase.h:453
OdDbDwgFiler
Definition:
DbFiler.h:1031
OdDbDxfFiler
Definition:
DbFiler.h:194
OdDbObject
Definition:
DbObject.h:213
OdDbObjectId
Definition:
DbObjectId.h:91
OdSmartPtr
Definition:
SmartPtr.h:58
OdDbHistoryInternal
Definition:
DbManagerSubentData.h:61
Generated on Wed Apr 5 2023 17:29:23