Go to the source code of this file.
|
enum | OdDb::DuplicateRecordCloning {
OdDb::kDrcNotApplicable = 0,
OdDb::kDrcIgnore = 1,
OdDb::kDrcReplace = 2,
OdDb::kDrcXrefMangleName = 3,
OdDb::kDrcMangleName = 4,
OdDb::kDrcUnmangleName = 5,
OdDb::kDrcMax = kDrcUnmangleName
} |
|
enum | OdDb::Visibility { OdDb::kInvisible = 1,
OdDb::kVisible = 0
} |
|
enum | OdDb::SaveType { OdDb::kDwg = 0,
OdDb::kDxf = 1,
OdDb::kDxb = 2,
OdDb::kUnknown = -1
} |
|
◆ _ODDBXOBJECT_INCLUDED_
#define _ODDBXOBJECT_INCLUDED_ /*!DOM*/ |
◆ DBOBJECT_CONSTR
Creates a new instance of a derived class, and returns a SmartPointer to it, without incrementing the reference count of the new object.
- Parameters
-
ClassName | [in] Name of the derived class. |
Definition at line 94 of file DbObject.h.
◆ ODDB_DECLARE_MEMBERS
#define ODDB_DECLARE_MEMBERS |
( |
|
ClassName | ) |
|
Value:protected: \
ClassName(OdDbObjectImpl* pImpl); \
public: \
ODRX_DECLARE_MEMBERS (ClassName)
Declares the member functions for classes derived from OdDbObject.
- Parameters
-
ClassName | [in] Name of the derived class. |
Definition at line 80 of file DbObject.h.
◆ OdDbObjectPtr
This template class is a specialization of the OdSmartPtr class for all objects contained in the database.
- See also
- <link smart_pointers.html, Working with Smart Pointers>
Definition at line 1732 of file DbObject.h.
◆ OdDbXrecordPtr
This template class is a specialization of the OdSmartPtr class for OdDbXrecord object pointers.
- See also
- <link smart_pointers.html, Working with Smart Pointers>
Definition at line 68 of file DbObject.h.
◆ oddbEntGet() [1/2]
Returns the data for the specified object.
- Parameters
-
id | [in] Object ID of the object. |
pObj | [in] Pointer to the object. |
regapps | [in] Registered application name to retrieve extended data for. May be a wildcard or comma separated list. If empty - no XData is returned. |
The object is opened in kForRead mode, and the returned list of data is independent of the original object (it may be modified or deleted without affecting the original object). To affect changes in the original object via the returned OdResBuf data, oddbEntMod must be called.
throws: An OdError exception will be thrown if the passed in object cannot be opened.
◆ oddbEntGet() [2/2]
◆ oddbEntLast()
◆ oddbEntMake()
◆ oddbEntMakeX()
◆ oddbEntMod() [1/2]
◆ oddbEntMod() [2/2]
Sets the data for the specified object.
- Parameters
-
id | [in] Object ID of the object. |
pObj | [in] Pointer to the object. |
throws: An OdError exception will be thrown if the passed in object cannot be opened in kForWrite mode.
◆ oddbEntNext()