Namespaces | Enumerations
DgnPlatformErrors.r.h File Reference
#include <Bentley/Bentley.h>
#include "DgnPlatformBaseType.r.h"

Go to the source code of this file.

Namespaces

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

Enumerations

enum  DgnErrorCategories {
  DGNMODEL_ERROR_BASE = 0x11000, DGNLOAD_ERROR_BASE = 0x12000, DGNOPEN_STATUS_BASE = 0x13000, DGNFILE_ERROR_BASE = 0x14000,
  DGNSTREAM_ERROR_BASE = 0x15000, DGNHISTORY_ERROR_BASE = 0x16000, DGNSHAREDFILE_ERROR_BASE = 0x17000, DGNEMBED_ERROR_BASE = 0x18000,
  DGNELEMENT_ERROR_BASE = 0x19000, GEOCOORD_ATTACH_ERROR_BASE = 0x1a000, VIEW_INFO_ERROR_BASE = 0x1b000, VIEW_GROUP_ERROR_BASE = 0x1c000,
  NAMED_VIEW_ERROR_BASE = 0x1d000, VIEW_GROUP_MANAGER_ERROR_BASE = 0x1e000, LINESTYLE_ERROR_BASE = 0x1f000, NAMED_GROUP_ERROR_BASE = 0x20000,
  GEOREFERENCE_ERROR_BASE = 0x21000, VIEWFRUSTUM_ERROR_BASE = 0x22000, VIEWPORT_ERROR_BASE = 0x23000, REGISTERED_APP_ERROR_BASE = 0x24000,
  PATHNAME_ERROR_BASE = 0x25000, ANNOTATIONATTACHMENT_ERROR_BASE = 0x26000, REFRANGEPATH_ERROR_BASE = 0x27000, DETAILINGSYMBOL_ERROR_BASE = 0x28000,
  DCMODEL_ERROR_BASE = 0x29000, SHEETINDEX_ERROR_BASE = 0x30000, WORKSET_ERROR_BASE = 0x31000
}
 
enum  DgnFileStatus {
  DGNFILE_STATUS_Success = SUCCESS, DGNFILE_STATUS_UnknownError = ERROR, DGNOPEN_STATUS_SharingViolation = DGNOPEN_STATUS_BASE + 0x03, DGNOPEN_STATUS_AccessViolation = DGNOPEN_STATUS_BASE + 0x04,
  DGNOPEN_STATUS_AlreadyOpen = DGNOPEN_STATUS_BASE + 0x05, DGNOPEN_STATUS_FileAlreadyExists = DGNOPEN_STATUS_BASE + 0x06, DGNOPEN_STATUS_BadFilename = DGNOPEN_STATUS_BASE + 0x07, DGNOPEN_STATUS_UnrecognizedFormat = DGNOPEN_STATUS_BASE + 0x08,
  DGNOPEN_STATUS_VersionMismatch = DGNOPEN_STATUS_BASE + 0x09, DGNOPEN_STATUS_TooManyOpenFiles = DGNOPEN_STATUS_BASE + 0x10, DGNOPEN_STATUS_FileNotFound = DGNOPEN_STATUS_BASE + 0x11, DGNOPEN_STATUS_OpenCanceled = DGNOPEN_STATUS_BASE + 0x12,
  DGNOPEN_STATUS_BAD_FILE = DGNOPEN_STATUS_BASE + 0x14, FILE_OPEN_STATUS_UnableToLoadInterface = DGNOPEN_STATUS_BASE + 0x16, FILE_OPEN_STATUS_UnableToOpenSeed = DGNOPEN_STATUS_BASE + 0x17, DWGOPEN_STATUS_InvalidSeed = DGNOPEN_STATUS_BASE + 0x18,
  DGNOPEN_STATUS_InvalidOperationForNestedFile = DGNOPEN_STATUS_BASE + 0x19, DGNOPEN_STATUS_InvalidOperationForNonNestedFile = DGNOPEN_STATUS_BASE + 0x20, DGNOPEN_STATUS_IsEncrypted = DGNOPEN_STATUS_BASE + 0x21, DGNOPEN_STATUS_CorruptFile = DGNOPEN_STATUS_BASE + 0x22,
  DGNOPEN_STATUS_FileHasNewFeatures = DGNOPEN_STATUS_BASE + 0x23, DGNOPEN_STATUS_SaveToPerformed = DGNOPEN_STATUS_BASE + 0x24, DGNOPEN_STATUS_InsecureEnvironment = DGNOPEN_STATUS_BASE + 0x26, DWGOPEN_STATUS_BadFile = DGNOPEN_STATUS_BASE + 0x27,
  DWGOPEN_STATUS_CannotOpenSeed = DGNOPEN_STATUS_BASE + 0x28, DWGSAVE_STATUS_UserAbort = DGNOPEN_STATUS_BASE + 0x29, DGNOPEN_STATUS_ProjectMismatch = DGNOPEN_STATUS_BASE + 0x30, DGNFILE_ERROR_NotLoaded = DGNFILE_ERROR_BASE + 0x01,
  DGNFILE_ERROR_NotOpen = DGNFILE_ERROR_BASE + 0x02, DGNFILE_ERROR_AlreadyLoaded = DGNFILE_ERROR_BASE + 0x03, DGNFILE_ERROR_HasChanges = DGNFILE_ERROR_BASE + 0x05, DGNFILE_ERROR_BadArg = DGNFILE_ERROR_BASE + 0x06,
  DGNFILE_ERROR_ReadError = DGNFILE_ERROR_BASE + 0x07, DGNFILE_ERROR_WriteError = DGNFILE_ERROR_BASE + 0x08, DGNFILE_ERROR_CompressionError = DGNFILE_ERROR_BASE + 0x09, DGNFILE_ERROR_ModelAlreadyLoaded = DGNFILE_ERROR_BASE + 0x10,
  DGNFILE_ERROR_UnknownFormat = DGNFILE_ERROR_BASE + 0x11, DGNFILE_ERROR_NotOpenForWrite = DGNFILE_ERROR_BASE + 0x12, DGNFILE_ERROR_NoSuchModel = DGNFILE_ERROR_BASE + 0x13, DGNFILE_ERROR_NotLocked = DGNFILE_ERROR_BASE + 0x14,
  DGNFILE_ERROR_UnableToImportSeed = DGNFILE_ERROR_BASE + 0x15, DGNFILE_ERROR_ModelLoadError = DGNFILE_ERROR_BASE + 0x16, DGNFILE_ERROR_RenameError = DGNFILE_ERROR_BASE + 0x17, DGNFILE_ERROR_CopyError = DGNFILE_ERROR_BASE + 0x18,
  DGNFILE_ERROR_ModelNotFilled = DGNFILE_ERROR_BASE + 0x19, DGNFILE_ERROR_NoModel = DGNFILE_ERROR_BASE + 0x20, DGNFILE_ERROR_InvalidOperationForNestedFile = DGNFILE_ERROR_BASE + 0x21, DGNFILE_ERROR_RightNotGranted = DGNFILE_ERROR_BASE + 0x22,
  DGNFILE_ERROR_PasswordAlreadyUsed = DGNFILE_ERROR_BASE + 0x23, DGNFILE_ERROR_CertificatePurpose = DGNFILE_ERROR_BASE + 0x24, DGNFILE_ERROR_NeverWriteable = DGNFILE_ERROR_BASE + 0x25, DGNFILE_ERROR_NoDictionaryModelReader = DGNFILE_ERROR_BASE + 0x26,
  DGNLOAD_STATUS_Badname = DGNLOAD_ERROR_BASE + 0x01, DGNLOAD_STATUS_NotOpened = DGNLOAD_ERROR_BASE + 0x02, DGNLOAD_STATUS_EndOfDgn = DGNLOAD_ERROR_BASE + 0x03, DGNLOAD_STATUS_OutOfData = DGNLOAD_ERROR_BASE + 0x04,
  DGNLOAD_STATUS_BadWtf = DGNLOAD_ERROR_BASE + 0x05, DGNPATHNAME_AlreadyExists = PATHNAME_ERROR_BASE + 1, DGNPATHNAME_DoesNotExist = PATHNAME_ERROR_BASE + 2, DGNPATHNAME_CantCreate = PATHNAME_ERROR_BASE + 3,
  DGNPATHNAME_NotEmpty = PATHNAME_ERROR_BASE + 4, DGNPATHNAME_IllegalName = PATHNAME_ERROR_BASE + 5, DGNPATHNAME_CantDeleteFile = PATHNAME_ERROR_BASE + 6, DGNPATHNAME_CantDeleteDir = PATHNAME_ERROR_BASE + 7
}
 
enum  DgnModelStatus {
  DGNMODEL_STATUS_Success = SUCCESS, DGNMODEL_STATUS_ReadOnly = DGNMODEL_ERROR_BASE + 0x01, DGNMODEL_STATUS_BadElement = DGNMODEL_ERROR_BASE + 0x02, DGNMODEL_STATUS_BadRequest = DGNMODEL_ERROR_BASE + 0x03,
  DGNMODEL_STATUS_OutOfMemory = DGNMODEL_ERROR_BASE + 0x04, DGNMODEL_STATUS_ElementNotFound = DGNMODEL_ERROR_BASE + 0x05, DGNMODEL_STATUS_BadModelPtr = DGNMODEL_ERROR_BASE + 0x06, DGNMODEL_STATUS_IdNotFound = DGNMODEL_ERROR_BASE + 0x08,
  DGNMODEL_STATUS_IdExists = DGNMODEL_ERROR_BASE + 0x09, DGNMODEL_STATUS_InvalidId = DGNMODEL_ERROR_BASE + 0x0a, DGNMODEL_STATUS_CircularDependency = DGNMODEL_ERROR_BASE + 0x0b, DGNMODEL_STATUS_NotEnabled = DGNMODEL_ERROR_BASE + 0x0c,
  DGNMODEL_STATUS_ComplexComponent = DGNMODEL_ERROR_BASE + 0x0d, DGNMODEL_STATUS_WrongElemId = DGNMODEL_ERROR_BASE + 0x0e, DGNMODEL_STATUS_IsInUse = DGNMODEL_ERROR_BASE + 0x0f, DGNMODEL_STATUS_NotFound = DGNMODEL_ERROR_BASE + 0x10,
  DGNMODEL_STATUS_InvalidDependency = DGNMODEL_ERROR_BASE + 0x11, DGNMODEL_STATUS_NotComplexHeader = DGNMODEL_ERROR_BASE + 0x12, DGNMODEL_STATUS_2d3dMismatch = DGNMODEL_ERROR_BASE + 0x13, DGNMODEL_STATUS_ReplacingDeleted = DGNMODEL_ERROR_BASE + 0x14,
  DGNMODEL_STATUS_OversizeElement = DGNMODEL_ERROR_BASE + 0x15, DGNMODEL_STATUS_UndersizeElement = DGNMODEL_ERROR_BASE + 0x16, DGNMODEL_STATUS_InvalidAttrOffset = DGNMODEL_ERROR_BASE + 0x17, DGNMODEL_STATUS_InvalidXattribute = DGNMODEL_ERROR_BASE + 0x18,
  DGNMODEL_STATUS_InvalidXattributeId = DGNMODEL_ERROR_BASE + 0x19, DGNMODEL_STATUS_DuplicateModelName = DGNMODEL_ERROR_BASE + 0x1a, DGNMODEL_STATUS_NoChange = DGNMODEL_ERROR_BASE + 0x1b, DGNMODEL_STATUS_DuplicateDependency = DGNMODEL_ERROR_BASE + 0x1c,
  DGNMODEL_STATUS_DuplicateModelID = DGNMODEL_ERROR_BASE + 0x1d, DGNMODEL_STATUS_InvalidModelName = DGNMODEL_ERROR_BASE + 0x1e, DGNMODEL_STATUS_BadArg = DGNMODEL_ERROR_BASE + 0x1f, DGNMODEL_STATUS_MuNotLargerThanSu = DGNMODEL_ERROR_BASE + 0x20,
  DGNMODEL_STATUS_NotSameUnitBase = DGNMODEL_ERROR_BASE + 0x21, DGNMODEL_STATUS_WrongModel = DGNMODEL_ERROR_BASE + 0x22, DGNMODEL_STATUS_DrawingModelMustBe2d = DGNMODEL_ERROR_BASE + 0x23, DGNMODEL_STATUS_InvalidModelTypeSwitch = DGNMODEL_ERROR_BASE + 0x24,
  DGNMODEL_STATUS_BadFileRefCount = DGNMODEL_ERROR_BASE + 0x25, DGNMODEL_STATUS_ElementListNotFilled = DGNMODEL_ERROR_BASE + 0x26
}
 Errors generated by accessing or attempting to modify a DgnModel. More...
 
enum  DgnFileEmbedStatus {
  DGNEMBED_STATUS_Success = SUCCESS, DGNEMBED_STATUS_InvalidContainerFormat = DGNEMBED_ERROR_BASE + 1, DGNEMBED_STATUS_InvalidDonor = DGNEMBED_ERROR_BASE + 2, DGNEMBED_STATUS_InvalidDonorFormat = DGNEMBED_ERROR_BASE + 3,
  DGNEMBED_STATUS_CopyError = DGNEMBED_ERROR_BASE + 4, DGNEMBED_STATUS_NotFound = DGNEMBED_ERROR_BASE + 5, DGNEMBED_STATUS_WriteError = DGNEMBED_ERROR_BASE + 6, DGNEMBED_STATUS_ReadError = DGNEMBED_ERROR_BASE + 7,
  DGNEMBED_STATUS_DuplicateFilename = DGNEMBED_ERROR_BASE + 8, DGNEMBED_STATUS_DuplicateAlias = DGNEMBED_ERROR_BASE + 9
}
 
enum  LineStyleStatus {
  LINESTYLE_STATUS_Success = BSISUCCESS, LINESTYLE_STATUS_Error = BSIERROR, LINESTYLE_STATUS_BadArgument = LINESTYLE_ERROR_BASE + 1, LINESTYLE_STATUS_UnknownResourceError = LINESTYLE_ERROR_BASE + 2,
  LINESTYLE_STATUS_FileNotFound = LINESTYLE_ERROR_BASE + 3, LINESTYLE_STATUS_NotSameFile = LINESTYLE_ERROR_BASE + 4, LINESTYLE_STATUS_InvalidForV7Symbol = LINESTYLE_ERROR_BASE + 5, LINESTYLE_STATUS_InvalidForV8Symbol = LINESTYLE_ERROR_BASE + 6,
  LINESTYLE_STATUS_FileReadOnly = LINESTYLE_ERROR_BASE + 7, LINESTYLE_STATUS_AlreadyExists = LINESTYLE_ERROR_BASE + 8, LINESTYLE_STATUS_BadFormat = LINESTYLE_ERROR_BASE + 9, LINESTYLE_STATUS_StyleNotFound = LINESTYLE_ERROR_BASE + 10,
  LINESTYLE_STATUS_UnsavedSubcomponent = LINESTYLE_ERROR_BASE + 11, LINESTYLE_STATUS_MissingSubcomponent = LINESTYLE_ERROR_BASE + 12
}
 
enum  ViewFrustumError {
  VIEW_FRUSTERR_InvalidWindow = VIEWFRUSTUM_ERROR_BASE + 1, VIEW_FRUSTERR_MinWindow = VIEWFRUSTUM_ERROR_BASE + 2, VIEW_FRUSTERR_MaxWindow = VIEWFRUSTUM_ERROR_BASE + 3, VIEW_FRUSTERR_MinDisplayDepth = VIEWFRUSTUM_ERROR_BASE + 4,
  VIEW_FRUSTERR_MaxDisplayDepth = VIEWFRUSTUM_ERROR_BASE + 5
}
 
enum  DgnHandlersStatus {
  DGNHANDLERS_STATUS_Success = SUCCESS, DGNHANDLERS_STATUS_BadElement = (-105), DGNHANDLERS_STATUS_FileReadonly = (-108), DGNHANDLERS_STATUS_WriteInhibit = (-110),
  DGNHANDLERS_STATUS_BadArg = (-126), DGNHANDLERS_STATUS_UserAbort = (-144), DGNHANDLERS_STATUS_ElementTooLarge = (-159), DGNHANDLERS_STATUS_LinkageNotFound = (-160),
  DGNHANDLERS_STATUS_AlreadyExists = (-194), DGNHANDLERS_STATUS_NoModel = (-205), DGNHANDLERS_STATUS_NotCmplxHdr = (-220)
}
 
enum  DgnPlatformStatus {
  DGNPLATFORM_STATUS_Success = SUCCESS, DGNPLATFORM_STATUS_BadArg = (-126), DGNPLATFORM_STATUS_InsfMemory = (-116), DGNPLATFORM_STATUS_TooLarge = (-148),
  DGNPLATFORM_STATUS_LinkageNotFound = (-160), DGNPLATFORM_STATUS_NoChange = (-163), DGNPLATFORM_STATUS_BadParameter = (-509), DGNPLATFORM_STATUS_ElemTooLarge = (-750),
  DGNPLATFORM_STATUS_ViewNotFound = (-761)
}
 
enum  GeoCoordAttachmentErrors { GEOCOORD_ERROR_NoGeocode = GEOCOORD_ATTACH_ERROR_BASE + 0x01, GEOCOORD_ERROR_NotGeoTransformed = GEOCOORD_ATTACH_ERROR_BASE + 0x02 }
 
enum  BSplineStatus {
  BSPLINE_STATUS_Success = SUCCESS, BSPLINE_STATUS_NoPoles = (-500), BSPLINE_STATUS_NoKnots = (-501), BSPLINE_STATUS_NoWeights = (-502),
  BSPLINE_STATUS_NoBounds = (-503), BSPLINE_STATUS_NoNumBounds = (-504), BSPLINE_STATUS_NoBspHeader = (-505), BSPLINE_STATUS_TooFewPoles = (-506),
  BSPLINE_STATUS_TooManyPoles = (-507), BSPLINE_STATUS_BadBspElement = (-508), BSPLINE_STATUS_BadParameter = (-509), BSPLINE_STATUS_BadOrder = (-510),
  BSPLINE_STATUS_BadPeriodicity = (-511), BSPLINE_STATUS_BadPoles = (-512), BSPLINE_STATUS_BadKnots = (-513), BSPLINE_STATUS_BadWeights = (-514),
  BSPLINE_STATUS_BadSpiralDefinition = (-515), BSPLINE_STATUS_TooManyKnots = (-516), BSPLINE_STATUS_NoOffsetIntersection = (-517), BSPLINE_STATUS_BadContinuity = (-518),
  BSPLINE_STATUS_RecurseLimit = (-519)
}
 
enum  DgnPlatformToolsStatus {
  DGNPLATFORMTOOLS_STATUS_WriteFailed = (-111), DGNPLATFORMTOOLS_STATUS_InsfMemory = (-116), DGNPLATFORMTOOLS_STATUS_ReadFailed = (-120), DGNPLATFORMTOOLS_STATUS_NoMatch = (-123),
  DGNPLATFORMTOOLS_STATUS_Ambiguous = (-124), DGNPLATFORMTOOLS_STATUS_BadArg = (-126), DGNPLATFORMTOOLS_STATUS_BadStringListIndex = (-134), DGNPLATFORMTOOLS_STATUS_TooLarge = (-148),
  DGNPLATFORMTOOLS_STATUS_FileNotFound = (-166), DGNPLATFORMTOOLS_STATUS_NameTooLong = (-169), DGNPLATFORMTOOLS_STATUS_BadParameter = (-509), DGNPLATFORMTOOLS_STATUS_AddressNotValid = (-725),
  DGNPLATFORMTOOLS_STATUS_BadVariableArraySize = (-1100), DGNPLATFORMTOOLS_STATUS_NotConversionRules = (-1101), DGNPLATFORMTOOLS_STATUS_BadDataDef = (-1102), DGNPLATFORMTOOLS_STATUS_DataDefNotFound = (-1103),
  DGNPLATFORMTOOLS_STATUS_BufferAlignmentsDiffer = (-1104), DGNPLATFORMTOOLS_STATUS_InvalidPlatformId = (-1106), DGNPLATFORMTOOLS_STATUS_VoidDataType = (-1107), DGNPLATFORMTOOLS_STATUS_InvalidDependency = (-1901)
}
 
enum  RscStatus {
  RSC_STATUS_Error = (-900), RSC_STATUS_FileError = (-901), RSC_STATUS_HandleInvalid = (-902), RSC_STATUS_FileNotFound = (-903),
  RSC_STATUS_InsufficientMemory = (-904), RSC_STATUS_WriteViolation = (-906), RSC_STATUS_AddressInvalid = (-907), RSC_STATUS_ResourceTypeInvalid = (-908),
  RSC_STATUS_AlreadyExists = (-909), RSC_STATUS_InUse = (-911), RSC_STATUS_NotFound = (-912), RSC_STATUS_StringNotFound = (-913),
  RSC_STATUS_QueryIdInvalid = (-914), RSC_STATUS_DirectAddPending = (-915), RSC_STATUS_BadRangeTree = (-916), RSC_STATUS_FileNotOpen = (-917),
  RSC_STATUS_BadResourceSize = (-918), RSC_STATUS_InvalidFileHandle = (-919), RSC_STATUS_AliasRequired = (-920), RSC_STATUS_ResourceFileCorrupt = (-921),
  RSC_STATUS_FileOpenFailure = (-922), RSC_STATUS_FileHandleTableFull = (-923), RSC_STATUS_ConditionFalse = (-924), RSC_STATUS_Error = (-900),
  RSC_STATUS_FileError = (-901), RSC_STATUS_HandleInvalid = (-902), RSC_STATUS_FileNotFound = (-903), RSC_STATUS_InsufficientMemory = (-904),
  RSC_STATUS_WriteViolation = (-906), RSC_STATUS_AddressInvalid = (-907), RSC_STATUS_ResourceTypeInvalid = (-908), RSC_STATUS_AlreadyExists = (-909),
  RSC_STATUS_InUse = (-911), RSC_STATUS_NotFound = (-912), RSC_STATUS_StringNotFound = (-913), RSC_STATUS_QueryIdInvalid = (-914),
  RSC_STATUS_DirectAddPending = (-915), RSC_STATUS_BadRangeTree = (-916), RSC_STATUS_FileNotOpen = (-917), RSC_STATUS_BadResourceSize = (-918),
  RSC_STATUS_InvalidFileHandle = (-919), RSC_STATUS_AliasRequired = (-920), RSC_STATUS_ResourceFileCorrupt = (-921), RSC_STATUS_FileOpenFailure = (-922),
  RSC_STATUS_FileHandleTableFull = (-923), RSC_STATUS_ConditionFalse = (-924)
}
 
enum  AkimaCurveStatus { AKIMACURVE_STATUS_Success = SUCCESS, AKIMACURVE_STATUS_BadElement = ERROR, AKIMACURVE_STATUS_NullSolution = (-752) }
 
enum  StyleTableErrors {
  STYLETABLE_ERROR_NoMatch = (-123), STYLETABLE_ERROR_BadIndex = (-134), STYLETABLE_ERROR_DuplicateName = (-161), STYLETABLE_ERROR_NoChange = (-163),
  STYLETABLE_ERROR_BadName = (-188), STYLETABLE_ERROR_StyleNotFound = (-227), STYLETABLE_ERROR_StyleIsUsed = (-230)
}
 
enum  DgnAttachmentErrors { DGNATTACHMENT_ERROR_DuplicateLogical = (-738), DGNATTACHMENT_ERROR_CantRewriteNewAttachment = (-773) }
 
enum  SignatureErrors {
  SIGNATURE_STATUS_NotFound = (-2002), SIGNATURE_STATUS_NotVerified = (-2003), SIGNATURE_STATUS_NotRecognized = (-2004), SIGNATURE_STATUS_RightNotGranted = (-2005),
  SIGNATURE_STATUS_Sileng = (-2006), SIGNATURE_STATUS_NotFound = (-2002), SIGNATURE_STATUS_NotVerified = (-2003), SIGNATURE_STATUS_NotRecognized = (-2004),
  SIGNATURE_STATUS_RightNotGranted = (-2005), SIGNATURE_STATUS_Sileng = (-2006)
}
 

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