CFx SDK Documentation
2024 SP0
Loading...
Searching...
No Matches
SDK
CFx
dd_inc
DgnLS
DbLSMisc.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 ODDGNLS_DBLSMISCELLANEOUS_H
25
#define ODDGNLS_DBLSMISCELLANEOUS_H
26
27
#include "
OdaCommon.h
"
28
#include "
DbDictionary.h
"
29
30
#include "
OdDgnLSExport.h
"
31
32
#include "
TD_PackPush.h
"
33
34
// Miscellaneous DgnLS functions. Helpful for importing.
35
36
// Dictionary operations
37
38
ODDGNLS_EXPORT
const
OdConstString
&
oddbDgnLSGetComponentsDictionaryName
();
39
ODDGNLS_EXPORT
const
OdConstString
&
oddbDgnLSGetDefinitionKeyName
();
40
41
ODDGNLS_EXPORT
OdDbObjectId
oddbDgnLSGetComponentsDictionaryId
(
OdDbDatabase
* pDb,
bool
createIfNotFound =
false
);
42
ODDGNLS_EXPORT
OdDbDictionaryPtr
oddbDgnLSGetComponentsDictionary
(
OdDbDatabase
* pDb,
OdDb::OpenMode
mode,
bool
createIfNotFound =
false
);
43
44
// UID operations
45
46
ODDGNLS_EXPORT
void
oddbDgnLSInitializeImportUID
(
OdUInt8
*pUID);
47
ODDGNLS_EXPORT
void
oddbDgnLSIncrementUID
(
OdUInt8
*pUID);
48
49
#include "
TD_PackPop.h
"
50
51
#endif
// ODDGNLS_DBLSMISCELLANEOUS_H
DbDictionary.h
oddbDgnLSInitializeImportUID
ODDGNLS_EXPORT void oddbDgnLSInitializeImportUID(OdUInt8 *pUID)
oddbDgnLSGetComponentsDictionary
ODDGNLS_EXPORT OdDbDictionaryPtr oddbDgnLSGetComponentsDictionary(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
oddbDgnLSGetComponentsDictionaryId
ODDGNLS_EXPORT OdDbObjectId oddbDgnLSGetComponentsDictionaryId(OdDbDatabase *pDb, bool createIfNotFound=false)
oddbDgnLSGetDefinitionKeyName
ODDGNLS_EXPORT const OdConstString & oddbDgnLSGetDefinitionKeyName()
oddbDgnLSIncrementUID
ODDGNLS_EXPORT void oddbDgnLSIncrementUID(OdUInt8 *pUID)
oddbDgnLSGetComponentsDictionaryName
ODDGNLS_EXPORT const OdConstString & oddbDgnLSGetComponentsDictionaryName()
OdDgnLSExport.h
ODDGNLS_EXPORT
#define ODDGNLS_EXPORT
Definition:
OdDgnLSExport.h:33
OdUInt8
unsigned char OdUInt8
Definition:
OdPlatformSettings.h:790
OdaCommon.h
TD_PackPop.h
TD_PackPush.h
OdConstString
Definition:
OdString.h:1465
OdDbDatabase
Definition:
DbDatabase.h:453
OdDbObjectId
Definition:
DbObjectId.h:91
OdSmartPtr
Definition:
SmartPtr.h:58
OdDb::OpenMode
OpenMode
Definition:
DbObjectId.h:54
Generated on Wed Apr 5 2023 17:29:14