Classes | Namespaces | Macros | Enumerations | Functions
DgnFile.h File Reference
#include "DgnModel.h"
#include "DgnDocumentManager.h"
#include <Bentley/bvector.h>
#include <Bentley/bset.h>
#include <Bentley/bmap.h>
#include <Bentley/WString.h>
#include <Bentley/ThumbnailPropertyValue.h>
#include "DgnFileIO/DgnItemIndex.h"

Go to the source code of this file.

Classes

struct  SeedData
 Seed data. More...
 
struct  DgnFileAppData
 Applications subclass from this class to store their DgnFile specific data on a DgnFile via DgnFile::AddAppData. More...
 
struct  DgnFileAppData::Key
 
struct  DgnFile
 A DgnFile is an in-memory representation of a physical file, regardless of its format. More...
 
struct  DgnFile::LoadedModelsCollection
 Collection of all models that are currently loaded in a DgnFile. More...
 
struct  FilesToEmbedList
 ! List of files to embed within an I-Model package. More...
 

Namespaces

 Bentley
 The Bentley namespace contains types defined by the Bentley Library.
 
 Bentley::DgnPlatform
 The DgnPlatform namespace contains types defined by the DgnPlatform.
 

Macros

#define SUMMARY_STREAM   0
 
#define DOCSUMMARY_STREAM   1
 
#define USERDEFINED_STREAM   2
 
#define MEDIASUMMARY_STREAM   3
 
#define WORKSETPROPERTYID_WORKSETGUID   L"WorkSetGUID"
 
#define WORKSETPROPERTYID_WORKSETNAME   L"WorkSetName"
 
#define WORKSETPROPERTYID_WORKSETDESCRIPTION   L"WorkSetDescription"
 

Enumerations

enum  DgnFileRights {
  DGNFILE_RIGHT_Any = 0, DGNFILE_RIGHT_Print = 1, DGNFILE_RIGHT_Export = 2, DGNFILE_RIGHT_Edit = 4,
  DGNFILE_RIGHT_Unlimited_Bit = 0x80000000, DGNFILE_RIGHT_Unlimited = 0xffffffff
}
 Builtin access rights for protected files. More...
 
enum  ProcessChangesWhen { BeforeProcessing = 0, AfterProcessing = 1 }
 File-Save hooks get called before and after processing changes. More...
 
enum  DgnFileChanges { Abandon = 0, Save = 1, FullSave = 2 }
 Possible values for DgnFileChanges. More...
 
enum  DgnSaveReason {
  UserInitiated = 1, ApplInitiated = 2, ReferenceFileSave = 3, FileClose = 4,
  FileCompress = 5, FileSaveAs = 6, AutoTime = 7, PreCommit = 8,
  SaveSettings = 9, Backup = 10, Encrypt = 11, PreCompress = 12
}
 Save reasons set to FileSave callback. More...
 
enum  SeedCopyFlags {
  None = 0, TCBData = (1 << 1), DefaultViews = (1 << 2), AllViewGroups = (1 << 3),
  LevelTable = (1 << 4), ColorTable = (1 << 5), FontTable = (1 << 6), TextStyleTable = (1 << 7),
  DimStyleTable = (1 << 8), MlineStyleTable = (1 << 9), LineStyleTable = (1 << 10), FilterTable = (1 << 11),
  DictionaryTable = (1 << 12), ReferenceAttach = (1 << 13), RasterRefs = (1 << 14), AllNamedViews = (1 << 15),
  NamedViewsOfSeed = (1 << 16), ApplicationInfo = (1 << 17), AuxCoordSystem = (1 << 18), AllLevelTables = (1 << 19),
  CreateDefaultModel = (1 << 20), MaterialPalette = (1 << 21), GeoCoordinateSystem = (1 << 22), LevelNameDictionary = (1 << 23),
  NoViewGroups = (1 << 24), DisplayStyles = (1 << 25), DefaultData = (TCBData | DefaultViews | LevelTable | LevelNameDictionary | ColorTable | LineStyleTable | MaterialPalette | GeoCoordinateSystem), AllData = ((0x7fffffff) & ~(AllLevelTables | CreateDefaultModel))
}
 Seed copy flags for new DgnFile creation. More...
 
enum  DgnFileOpenMode { ReadOnly = 1, ReadWrite = 2, PreferablyReadWrite = 3, ReadWriteFromCopiedFile = 4 }
 File open mode. More...
 
enum  DgnFilePurpose {
  Unknown = 0, MasterFile = 1, DgnAttachment = 2, DgnLib = 3,
  ActivatedAttachment = 4, CellLibrary = 5, WorkDgn = 6, Clipboard = 7,
  Temporary = 8, Icons = 9, LevelLibrary = 10, Overlay = 11
}
 File purpose mode. More...
 

Functions

SeedCopyFlags operator| (SeedCopyFlags a, SeedCopyFlags b)
 
SeedCopyFlags operator& (SeedCopyFlags a, SeedCopyFlags b)
 
SeedCopyFlags operator~ (SeedCopyFlags a)
 
bool operator! (SeedCopyFlags a)
 

Macro Definition Documentation

#define DOCSUMMARY_STREAM   1
#define MEDIASUMMARY_STREAM   3
#define SUMMARY_STREAM   0
#define USERDEFINED_STREAM   2
#define WORKSETPROPERTYID_WORKSETDESCRIPTION   L"WorkSetDescription"
#define WORKSETPROPERTYID_WORKSETGUID   L"WorkSetGUID"
#define WORKSETPROPERTYID_WORKSETNAME   L"WorkSetName"

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.