Classes | Namespaces | Macros | Typedefs | Enumerations
LevelCache.h File Reference
#include <list>
#include "LevelTypes.h"
#include "DependencyManager.h"
#include "DgnFile.h"
#include "IViewDraw.h"

Go to the source code of this file.

Classes

struct  LevelDefinitionStyleBase
 Base class for style that is used by a level. More...
 
struct  LevelDefinitionColor
 Represents a color used by a level. More...
 
struct  LevelDefinitionLineStyle
 Represents a line style used by a level. More...
 
struct  LevelDefinitionIdBase
 Represents a style used by a level. More...
 
struct  LevelDefinitionMaterial
 Represents a material used by a level. More...
 
struct  LevelDefinitionPlotStyle
 Represents a PlotStyleID used by a level. More...
 
struct  LevelHandle
 Read-only access to a level definition. More...
 
struct  EditLevelHandle
 Read-write access to a level definition. More...
 
struct  LevelCache
 A level cache holds level definitions. More...
 
struct  PersistentLevelCache
 Abstract base class for persistent LevelCaches that support Write. More...
 
struct  FileLevelCache
 A FileLevelCache contains the level definitions for a file. More...
 
struct  DgnAttachmentLevelCache
 Provides access to levels used by elements in a referenced model. More...
 
struct  LevelUtils
 

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 LEVEL_NAME_DISPLAY_FORMAT_STRING   L"N"
 Level Display Name Format Defines. More...
 
#define LEVEL_CODE_DISPLAY_FORMAT_STRING   L"C"
 
#define LEVEL_DESCRIPTION_DISPLAY_FORMAT_STRING   L"D"
 
#define LEVEL_NAME_DISPLAY_FORMAT   L'N'
 Level Display Name Format Values. More...
 
#define LEVEL_CODE_DISPLAY_FORMAT   L'C'
 
#define LEVEL_DESCRIPTION_DISPLAY_FORMAT   L'D'
 
#define LEVEL_ID_DISPLAY_FORMAT   L'I'
 

Typedefs

typedef bset< byte >::iterator T_LevelIdToDefinitionMapIterator
 
typedef RefCountedPtr
< FileLevelCache > 
FileLevelCachePtr
 Smart pointer wrapper for FileLevelCache. More...
 
typedef bvector
< FileLevelCachePtr > 
T_LevelCachePtrVector
 

Enumerations

enum  LevelCacheErrorCode {
  None = BSISUCCESS, Error = BSIERROR, TableIsReadOnly = 2, LevelIsReadOnly = 4,
  LevelNameIsNull = 7, LevelNameIsInvalid = 8, LevelNameIsDuplicate = 9, LevelIsUsed = 11,
  LevelCodeIsDuplicate = 23, LevelIdIsDuplicate = 46, LibraryLevelNotEditable = 49, CannotFindLevel = 56,
  LevelTableIntegrityFailure = 59, DgnAttachmentNotResolved = 60, LevelNullId = 92, NoLevels = 1000,
  AttachmentSharesFileLevelCache = 1001
}
 Error codes returned by LevelCache function. More...
 
enum  EditPropertiesChangeWrite { Always = 0, IfNewChangesOnly = 1, Never = 2 }
 Controls Change writing for LevelCache EditProperties method. More...
 

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