Share

OpenMode

C++

enum class OpenMode {
  kForRead = 0,
  kForWrite = 1,
  kForNotify = 2
};

File

acdb.h

Description

This enumerated type provides the mode values used to specify how a database resident object is to be opened.

The header file acdbabb.h contains const definitions for the OpenMode values so that they can be used without the "AcDb::" scope resolution qualifier. This should only be used when you are certain there will be no name conflicts.

Previous Declaration

enum OpenMode {

kForRead = 0,

kForWrite = 1,

kForNotify = 2

};

Was this information helpful?