This class represents a complete drawing file.
File: DbDatabase.h
Module: API Reference
Destroys a database instance. | |
(Inherited from OdDbObject) |
| |
(Inherited from OdDbObject) | |
(Inherited from OdDbObject) | |
(Inherited from OdDbObject) | |
(Inherited from OdDbObject) |
(Inherited from OdDbObject) | |
| |
Terminates a call to deepCloneObjects() or wblockCloneObjects(). | |
Aborts the current transaction associated with this database object. | |
Returns the identifier of the active viewport for this database. | |
Adds an object to this database object, and returns its Object ID. | |
Adds the specified persistent reactor to this object's reactor list. (Inherited from OdDbObject) | |
Adds the specified reactor to this object's reactor list. | |
Adds the specified transient reactor to this object's reactor list. (Inherited from OdDbObject) | |
Increments the reference count of this object. | |
Increments the reference count of this object. (Inherited from OdDbObject) | |
Adds a transaction reactor to this database object. | |
Returns the OdDbHostAppServices object associated with this database object. | |
This function appends this object to the specified owner object during the deep or wblock clone operation. (Inherited from OdDbObject) | |
Applies a partial undo operation. | |
Notification function called each time an Undo operation is performed this object is using partial Undo. (Inherited from OdDbObject) | |
Returns the approximate number of objects in this database object. | |
Throws an exception if this object is not open OdDb::kForNotify. (Inherited from OdDbObject) | |
Throws an exception if this object is not open OdDb::kForRead. (Inherited from OdDbObject) | |
Throws an exception if this object is not open OdDb::kForWrite, and controls automatic undo and notification of modifications. (Inherited from OdDbObject) | |
Performs an audit operation on the header of this database object. | |
Perform an audit operation on this object. (Inherited from OdDbObject) | |
Performs an audit operation on the this entire database object. | |
Returns the pointer to OdDbAuditInfo if the database is being loaded from a file in recover modem, otherwise returns Null. | |
Blocks or unblocks undo history recording. | |
Returns the identifier of the by-block material for this database. | |
Returns the identifier of the by-layer material for this database. | |
Returns the current annotation scale as a context object for this database. | |
Returns the class DXF name for the specified class. | |
Clears undo history. | |
After loading from file, performs necessary actions which require accessing other Database objects. For example, processing round-trip data. (Inherited from OdDbObject) | |
The method should be called from *decomposeForSave()* of custom container objects for owned child objects. It calls child's decomposeForSave() method plus performs other required actions (handOverTo, exchanging XData, etc.) (Inherited from OdDbObject) | |
Notification function called whenever the notifying object has had its clone() member function called. (Inherited from OdDbObject) | |
Copies the contents of the specified object into this object when possible. (Inherited from OdDbObject) | |
Returns a count of hard references to each of the specified object IDs. | |
Returns the number of layouts in this database object. | |
Creates an OdDbDictionary extension dictionary of this object. (Inherited from OdDbObject) | |
Creates a new layout with the specified name in this database object. | |
Creates or retrieves the specified Xrecord in this object's extension dictionary. (Inherited from OdDbObject) | |
Returns the object ID of the active layout of this database object. | |
| |
| |
Returns the OdDbDatabase that contains this object. (Inherited from OdDbObject) | |
This is the overview for the decomposeForSave method overload. | |
Performs a deep clone of this object. (Inherited from OdDbObject) | |
Deep clones a set of objects and appends the clones to the specified owner object. | |
Deletes the specified layout from this database object. | |
Returns the object ID of the current DetailViewStyle of this database object. | |
Returns the R14 DIMFIT system variable of this database object. | |
Returns the R14 DIMUNIT system variable of this database object. | |
Controls the undo recording of this object in OdDbDatabase. (Inherited from OdDbObject) | |
Downgrades this object from OdDb::kForWrite to OdDb::kForRead (Inherited from OdDbObject) | |
Returns a pointer to the OdGiDrawable for the object. If the object doesn't have an associated OdGiDrawable object, this function returns NULL. (Inherited from OdDbObject) | |
Reads the .dwg file format data of this object from the specified file. (Inherited from OdDbObject) | |
Reads the .dwg file data of this object. | |
Reads the .dwg file data of this object. (Inherited from OdDbObject) | |
Writes the .dwg file format data of this object to the specified filer. (Inherited from OdDbObject) | |
Writes the .dwg file data of this object. | |
Writes the .dwg file data of this object. (Inherited from OdDbObject) | |
Reads the DXF format data of this object from the specified filer. (Inherited from OdDbObject) | |
Reads the DXF data of this object. (Inherited from OdDbObject) | |
Reads the DXF R12 format data of this object. (Inherited from OdDbObject) | |
Writes the DXF format data of this object to the specified filer. (Inherited from OdDbObject) | |
Writes the DXF data of this object. (Inherited from OdDbObject) | |
Writes the DXF data of this object. (Inherited from OdDbObject) | |
Enables graphics flushing. | |
Ends the current transaction associated with this database object. | |
Enqueues the object paging, mark it for paging in next call to pageObjects(). | |
Sets the erased mode of this object. (Inherited from OdDbObject) | |
Notification function called whenever an object has been erased or unerased. (Inherited from OdDbObject) | |
Returns the Object ID of this object's extension dictionary. (Inherited from OdDbObject) | |
Returns the OdFileDependencyManager object of this database object. | |
Returns the name of the active layout of this database object. | |
Returns the object ID of the specified layout in this database object. | |
Flush all the changes made during first transaction started on this database object. | |
Flushes the graphics in this database. | |
Returns the current formatter for units in this database. | |
Returns the object ID of the BlockTableRecord associated with the active layout of this database object. | |
Returns the object ID of the BlockTable of this database object. | |
Returns the CGEOCS system variable of this database object. | |
Returns the CLSID value associated with this object. (Inherited from OdDbObject) | |
Returns the object ID of the Color dictionary of this database object. | |
Returns true if current dimension style is annotative. | |
Returns the persistent handle of this database object. (Inherited from OdDbObject) | |
Returns the object ID of the DetailViewStyle dictionary of this database object. | |
Returns the object ID of the "Standard" dimension style object of this database object. | |
Returns the object ID of the DimStyleTable of this database object. | |
Returns the child dimension style data and dimension style object identifier. | |
Returns the identifier of the child dimension style. | |
Copies the dimension variables of this database object to the specified DimStyleTableRecord. | |
Returns the identifier of the parent dimension style. | |
This is the overview for the getField method overload. | |
This is the overview for the getFieldDictionary method overload. | |
Returns the name of the file associated with this database object. | |
Returns the object ID of the Group dictionary of this database object. | |
Returns the object ID of the specified system layer object of this database object. | |
Returns the object ID of the "DEFPOINTS" layer object of this database object. | |
Returns the OdDbLayerStateManager object of this database object. | |
Returns the object ID of the LayerTable of this database object. | |
Returns the object ID of the "0" layer object of this database object. | |
Returns the object ID of the Layout dictionary of this database object. | |
Returns the object ID of the "ByBlock" Linetype object of this database object. | |
Returns the object ID of the "ByLayer" Linetype object of this database object. | |
Returns the object ID of the "Continuous" Linetype object of this database object. | |
Returns the object ID of the LinetypeTable of this database object. | |
Returns the object ID of the MLineStyle dictionary of this database object. | |
Returns the object ID of the MLeaderStyle dictionary of this database object. | |
Returns the object ID of the Material dictionary of this database object. | |
Returns the object ID of the ModelSpace Block object of this database object. | |
Returns the object ID of the NamedObjects dictionary of this database object. | |
Requires a lineweight and returns the nearest OdDb::LineWeight enum number for this database. For example, when the passed value is 8, the returned value is kLnWt009. | |
Returns the drawing and maintenance release version into which this object must be stored. (Inherited from OdDbObject) | |
Returns the object ID corresponding to the specified handle object in this database. | |
Returns the UCS origin and orthographic view type for the current PaperSpace UCS. | |
Returns the object ID of the PaperSpace Block object of this database object. | |
Returns Object IDs of this object's persistent reactors. (Inherited from OdDbObject) | |
Returns the object ID of the PlotSettings dictionary of this database object. | |
Returns the object ID of the PlotStyleName dictionary of this database object. | |
Returns the object ID of the point cloud dictionary. | |
Returns the object ID of the "ACAD" RegApp object of this database object. | |
Returns the object ID of the RegAppTable of this database object. | |
Returns the object ID of the ScaleList dictionary of this database object. | |
Returns the object ID of the section manager. | |
Returns the object ID of the SectionViewStyle dictionary of this database object. | |
Returns the specified system variable of this database object. | |
Returns the TDCREATE system variable of this database object. | |
Returns the TDUPDATE system variable of this database object. | |
Returns the object ID of the TableStyle dictionary of this database object. | |
Returns the object ID of the "Standard" text style object of this database object. | |
Returns the object ID of the TextStyleTable of this database object. | |
Returns this object's transient reactors. (Inherited from OdDbObject) | |
Returns the UCS origin and orthographic view type for the current UCS. | |
Returns the object ID of the UCSTable of this database object. | |
Returns the quantity of undo markers. | |
Returns the object ID of the ViewTable of this database object. | |
Returns the object ID of the ViewportTable of this database object. | |
Returns the object ID of the VisualStyle dictionary of this database object. | |
Returns the identifier of the global material for this database. | |
Notification function called just before an object is deleted from memory. (Inherited from OdDbObject) | |
Returns the OdGsCache of an OdGiDrawable object. (Inherited from OdDbObject) | |
Replaces this database -resident (DBRO) object with the specified non- database -resident (NDBRO) object, while retaining this object's objectId, handle, owner, and reactor list. (Inherited from OdDbObject) | |
Returns the persistent handle of this database object. (Inherited from OdDbObject) | |
Returns the next available handle number of this database object. | |
Returns true if and only if this object has fields. (Inherited from OdDbObject) | |
This method returns true if objId is the Object ID of a reactor attached to this object. Otherwise, it returns false. (Inherited from OdDbObject) | |
Returns true if redo information exists for this database object. | |
Returns true if and only if this object has its bit set to override the filer version. (Inherited from OdDbObject) | |
Returns true if undo information exists for this database object. | |
Returns whether an undo marker has been set on this database object (returns true) or not (returns false). | |
Returns the database ID corresponding to this object. (Inherited from OdDbObject) | |
| |
Adds the default set of objects and settings to this database object. | |
This is the overview for the insert method overload. | |
Returns true if and only if this object is a proxy object or entity. (Inherited from OdDbObject) | |
Returns true if and only this object is a database -resident object. (Inherited from OdDbObject) | |
Returns true if and only if this database object is being converted after loading from a file or before saving to a file. | |
Returns true if and only if this database object is being loaded from a file. | |
Returns true if and only if this database object was created by an educational version of the application. | |
Returns true if and only if this object's erased status has been toggled since it was opened. (Inherited from OdDbObject) | |
Returns true if and only if this object is marked as erased. (Inherited from OdDbObject) | |
Returns true if and only if this object's assertWriteEnabled() has been called since it was opened. (Inherited from OdDbObject) | |
Returns true if and only if an object derived from OdDbEntity has been modified. (Inherited from OdDbObject) | |
Returns true if and only this object's assertWriteEnabled() and setXData() have been called since it was opened. (Inherited from OdDbObject) | |
ODA_MT_DB_BEGIN... more | |
Returns true if and only if this object has not been closed since it was created. (Inherited from OdDbObject) | |
Returns true if and only if this object is open OdDb::kForNotify. (Inherited from OdDbObject) | |
Returns true if and only if this object is sending notification. (Inherited from OdDbObject) | |
Returns true if and only if this object's Object ID is not valid because the OdDbObject::subDeepClone or OdDbObject::subWblockClone() have yet to be completed. (Inherited from OdDbObject) | |
Returns true if and only if this database object is partially opened. | |
Returns true if per object converting mode is used for this database object. | |
Return true if and only if this object is database -resident (DBRO). (Inherited from OdDbObject) | |
Returns true if and only if this object is open OdDb::kForRead. (Inherited from OdDbObject) | |
Returns true if and only if a call to close would completely close this object at this time. (Inherited from OdDbObject) | |
Returns whether undo history recording has been blocked (returns true) or not (returns false). | |
Returns true if and only if this object is taking part in an Undo operation. (Inherited from OdDbObject) | |
Requires a lineweight and returns True if the specified lineweight is valid, that is, one of the predefined lineweights in this database, or False otherwise. | |
Returns true if and only if this object is open OdDb::kForWrite. (Inherited from OdDbObject) | |
Returns the version to which this database object was last saved. | |
Loads a linetype into this database object. | |
Returns the merge style of this object. (Inherited from OdDbObject) | |
Returns the object ID of the current MLeaderStyle of this database object. | |
Notification function called whenever an object is opened OdDb::kForWrite, a function has been called that could modify the contents of this object, and this object is now being closed. (Inherited from OdDbObject) | |
Notification function called whenever an object derived from OdDbEntity is modified. (Inherited from OdDbObject) | |
Notification function called whenever the XData has been written to the notifying object. (Inherited from OdDbObject) | |
Notification function called whenever the notifying object is in the midst an Undo operation that is undoing modifications. (Inherited from OdDbObject) | |
Returns which multi-threaded mode the database currently uses. | |
Adds the specified name to the APPID table of this database object. | |
Returns the number of active transactions associated with this database object. | |
Returns the reference count of this object. (Inherited from OdDbObject) | |
Returns the number of times this database object has been saved since it was opened. | |
Notification function called immediately before an object is closed. (Inherited from OdDbObject) | |
Returns the OdDbObjectContextManager object of this database object. | |
Returns the Object ID of this object. (Inherited from OdDbObject) | |
Notification function called whenever an object is opened for modify OdDb::kForWrite. (Inherited from OdDbObject) | |
Returns the version of the application that created the file from which this database object was read. | |
Returns the filetype of the file from which this database object was read. | |
Returns the version of the file from which this database object was read. | |
Returns the name of the file this database object was loaded from. Can return empty string in case the database was created from scratch. | |
Returns the Object ID of this object's owner. (Inherited from OdDbObject) | |
Pages the database objects that have been marked for paging since the last call to this function. | |
This is the overview for the purge method overload. | |
This is the overview for the readFile method overload. | |
Notification function called whenever a Redo process processes the reappending of the notifying object to the database. (Inherited from OdDbObject) | |
Allows a subobject of a complex object to notify its root object that it has been changed. (Inherited from OdDbObject) | |
Performs a redo operation on this database object. | |
Decrements the reference count of this object. | |
Decrements the reference count of this object. (Inherited from OdDbObject) | |
Releases and erases this object's extension dictionary if it exists and is empty. (Inherited from OdDbObject) | |
This is the overview for the removeField method overload. | |
Removes the specified persistent reactor from this object's reactor list. (Inherited from OdDbObject) | |
Removes the specified reactor from this object's reactor list. | |
Removes the specified transient reactor from this object's reactor list. (Inherited from OdDbObject) | |
Removes the specified transaction reactor from this database object. | |
Renames the specified layout in this database object. | |
Resets TDCREATE, TDUPDATE, TDINDWG and TDUSRTIMER system variables to the settings of the new drawing. | |
Returns the database to its modified state (before any original state restoration) by redoing modifications. | |
Returns the database to its original state (when the xref was first read) by undoing any modifications. | |
Returns the state of the RetainOriginalThumbnailBitmap flag. | |
This is the overview for the save method overload. | |
!DOM (Inherited from OdDbObject) | |
Returns the object ID of the current SectionViewStyle of this database object. | |
Returns the security parameters of this database object. | |
Sets a new annotation scale as a context object for this database. | |
This is the overview for the setCurrentLayout method overload. | |
This is the overview for the setCurrentUCS method overload. | |
Sets the object ID of the current DetailViewStyle of this database object. | |
Sets the R14 DIMFIT system variable of this database object. | |
This is the overview for the setDimstyleData method overload. | |
Sets the R14 DIMUNIT system variable of this database object. | |
Adds the specified field to the field dictionary of this object. (Inherited from OdDbObject) | |
Forcibly sets the name of the current file for this database instance. | |
Assigns the specified OdGsCache to the calling object. (Inherited from OdDbObject) | |
Controls the flag specifying that this object overrides the save filer version. (Inherited from OdDbObject) | |
| |
Sets the object ID of the current MLeaderStyle of this database object. | |
Sets a new multi-threaded mode for the database. param [in] A new value of multi-threaded mode to be set. | |
Called on a new created cloned object to indicate that its Object ID is not valid. (Inherited from OdDbObject) | |
Sets this object's ownerId data member. (Inherited from OdDbObject) | |
Sets the UCS origin and orthographic view type for the current PaperSpace UCS. | |
Controls the state of the RetainOriginalThumbnailBitmap flag. | |
Sets the object ID of the current SectionViewStyle of this database object. | |
Sets the security parameters of this database object. | |
Sets the specified system variable of this database object. | |
Sets the object ID of the current TableStyle of this database object. | |
Sets the thumbnail bitmap associated with this database object. | |
Sets the UCS origin and orthographic view type for the current UCS. | |
Sets an undo marker on this database object. | |
Sets the XData of this object. (Inherited from OdDbObject) | |
Starts a new transaction of this database object. | |
Starts undo recording of this database object. | |
Called as the first operation as this object is being closed, for database -resident objects only. (Inherited from OdDbObject) | |
Called as the first operation as this object is being erased or unerased. (Inherited from OdDbObject) | |
Returns the GUID of the database class. | |
Called as the first operation of the handOverTo function. (Inherited from OdDbObject) | |
Notification function called whenever a method of the specified subobject has called assertWriteEnabled() (Inherited from OdDbObject) | |
Notification function called by the Drawings framework immediately before an object is opened. (Inherited from OdDbObject) | |
Sets the values of this object's subentity traits, and returns with the calling object's subentity traits. (Inherited from OdDbObject) | |
Called as the first operation of swapIdWith (Inherited from OdDbObject) | |
(Inherited from OdDbObject) | |
As implemented, this function does nothing but return a null SmartPointer. It will be fully implemented in a future release. | |
(Inherited from OdDbObject) | |
Swaps the objectIDs, handles, XData,and extension dictionary between this object and another object. (Inherited from OdDbObject) | |
Returns the object ID of the current TableStyle of this database object. | |
Returns the thumbnail bitmap associated with this database object. | |
Notification function called whenever the Undo process processes the appending of the notifying object to the database. (Inherited from OdDbObject) | |
Performs an undo operation on this database object. | |
Performs the undo operation on this database object. | |
Returns the current object used for udo file input/output operations. | |
Returns the undo filer associated with this object. (Inherited from OdDbObject) | |
Recalculates the extents of this database object. | |
Upgrades this object from OdDb::kForRead to OdDb::kForWrite. (Inherited from OdDbObject) | |
Returns the true if OdDbDatabase instance is restricted to use only core objects. In such mode implementation of OdDbDatabase::initialize() for example will not create some objects like dimension style table and default dimension style or default multi-line style. Default implementation simply returns 'false' | |
Returns the version of this database object. | |
This is the overview for the wblock method overload. | |
Performs a shallow clone of this object. (Inherited from OdDbObject) | |
Shallow clones a set of objects and appends the clones to the specified owner object. | |
This is the overview for the writeFile method overload. | |
Returns a linked list of ResBufs containing a copy of the XData of this object. (Inherited from OdDbObject) | |
Applies the 3D transformation matrix to the XData of this object. (Inherited from OdDbObject) | |
Allows a subobject of a complex object to notify its root object that it has been changed. (Inherited from OdDbObject) | |
Returns the object ID of the OdDbBlockTableRecord that references this database object as an Xref. |
Copyright © 2002-2022. Open Design Alliance All rights reserved.
|