CFx SDK Documentation
2023 SP0
SDK
CFx
dd_inc
DgnLS
DbLSMisc.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 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()
oddbDgnLSGetComponentsDictionaryName
ODDGNLS_EXPORT const OdConstString & oddbDgnLSGetComponentsDictionaryName()
oddbDgnLSIncrementUID
ODDGNLS_EXPORT void oddbDgnLSIncrementUID(OdUInt8 *pUID)
OdDgnLSExport.h
ODDGNLS_EXPORT
#define ODDGNLS_EXPORT
Definition:
OdDgnLSExport.h:33
OdUInt8
unsigned char OdUInt8
Definition:
OdPlatformSettings.h:759
OdaCommon.h
TD_PackPop.h
TD_PackPush.h
OdConstString
Definition:
OdString.h:1440
OdDbDatabase
Definition:
DbDatabase.h:448
OdDbObjectId
Definition:
DbObjectId.h:99
OdSmartPtr
Definition:
SmartPtr.h:58
OdDb::OpenMode
OpenMode
Definition:
DbObjectId.h:54
Generated on Thu Feb 24 2022 15:09:27