CFx SDK Documentation  2020SP3
Public Member Functions | List of all members
dst::OdSmDatabase Struct Referenceabstract

#include <SmDatabase.h>

Inheritance diagram for dst::OdSmDatabase:
dst::OdSmComponent dst::OdSmPersist OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdSmDatabase)
 
virtual void loadFromFile (const OdString &filename)=0
 
virtual void loadFromStream (OdStreamBuf *file)=0
 
virtual void save (OdStreamBuf *file=0)=0
 
virtual OdString fileName () const =0
 
virtual void setFileName (const OdString &newVal)=0
 
virtual OdString templateDstFileName () const =0
 
virtual OdSmSheetSetsheetSet ()=0
 
virtual const OdSmSheetSetsheetSet () const =0
 
virtual OdSmEnumPersistPtr enumerator () const =0
 
virtual long subscribe (OdSmEvents *eventHandler)=0
 
virtual void unSubscribe (long cookie)=0
 
virtual void notifyRegisteredEventHandlers (OdSmEvent event, OdSmPersist *comp) const =0
 
virtual OdSmPersistfindObject (const OdString &hand) const =0
 
virtual void findAcDbObjectReferences (const OdString &filename, const OdString &dbHandle, std::vector< OdSmPersist * > &ppObjects)=0
 
virtual void updateInMemoryDwgHints ()=0
 
virtual bool isTemporary () const =0
 
virtual void setIsTemporary ()=0
 
virtual OdSmObjectIdPtr registerNewObject (const OdString &hand, OdSmPersist *pObject)=0
 
virtual OdString version () const =0
 
virtual OdInt32 getRevision () const =0
 
virtual OdString getFingerPrint () const =0
 
- Public Member Functions inherited from dst::OdSmComponent
 ODRX_DECLARE_MEMBERS (OdSmComponent)
 
virtual OdString getName () const =0
 
virtual void setName (const OdString &name)=0
 
virtual OdString getDesc () const =0
 
virtual void setDesc (const OdString &desc)=0
 
virtual OdSmCustomPropertyBagcustomProperties ()=0
 
virtual const OdSmCustomPropertyBagcustomProperties () const =0
 
- Public Member Functions inherited from dst::OdSmPersist
 ODRX_DECLARE_MEMBERS (OdSmPersist)
 
virtual OdString clsid () const =0
 
virtual bool isDirty () const =0
 
virtual bool load (OdSmFiler *pFiler)=0
 
virtual void save (OdSmFiler *pFiler) const =0
 
virtual OdString typeName () const =0
 
virtual void initNew (const OdSmPersist *pOwner, const OdString &handle=OdString::kEmpty)=0
 
virtual const OdSmPersistowner () const =0
 
virtual void setOwner (const OdSmPersist *pOwner)=0
 
virtual const OdSmDatabasedatabase () const =0
 
virtual const OdSmObjectIdobjectId () const =0
 
virtual void clear ()=0
 
virtual void directlyOwnedObjects (std::vector< OdSmPersist * > &) const =0
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

Definition at line 51 of file SmDatabase.h.

Member Function Documentation

◆ enumerator()

virtual OdSmEnumPersistPtr dst::OdSmDatabase::enumerator ( ) const
pure virtual

◆ fileName()

virtual OdString dst::OdSmDatabase::fileName ( ) const
pure virtual

◆ findAcDbObjectReferences()

virtual void dst::OdSmDatabase::findAcDbObjectReferences ( const OdString filename,
const OdString dbHandle,
std::vector< OdSmPersist * > &  ppObjects 
)
pure virtual

◆ findObject()

virtual OdSmPersist* dst::OdSmDatabase::findObject ( const OdString hand) const
pure virtual

◆ getFingerPrint()

virtual OdString dst::OdSmDatabase::getFingerPrint ( ) const
pure virtual

◆ getRevision()

virtual OdInt32 dst::OdSmDatabase::getRevision ( ) const
pure virtual

◆ isTemporary()

virtual bool dst::OdSmDatabase::isTemporary ( ) const
pure virtual

◆ loadFromFile()

virtual void dst::OdSmDatabase::loadFromFile ( const OdString filename)
pure virtual

◆ loadFromStream()

virtual void dst::OdSmDatabase::loadFromStream ( OdStreamBuf file)
pure virtual

◆ notifyRegisteredEventHandlers()

virtual void dst::OdSmDatabase::notifyRegisteredEventHandlers ( OdSmEvent  event,
OdSmPersist comp 
) const
pure virtual

◆ ODRX_DECLARE_MEMBERS()

dst::OdSmDatabase::ODRX_DECLARE_MEMBERS ( OdSmDatabase  )

◆ registerNewObject()

virtual OdSmObjectIdPtr dst::OdSmDatabase::registerNewObject ( const OdString hand,
OdSmPersist pObject 
)
pure virtual

◆ save()

virtual void dst::OdSmDatabase::save ( OdStreamBuf file = 0)
pure virtual

◆ setFileName()

virtual void dst::OdSmDatabase::setFileName ( const OdString newVal)
pure virtual

◆ setIsTemporary()

virtual void dst::OdSmDatabase::setIsTemporary ( )
pure virtual

◆ sheetSet() [1/2]

virtual const OdSmSheetSet* dst::OdSmDatabase::sheetSet ( ) const
pure virtual

◆ sheetSet() [2/2]

virtual OdSmSheetSet* dst::OdSmDatabase::sheetSet ( )
pure virtual

◆ subscribe()

virtual long dst::OdSmDatabase::subscribe ( OdSmEvents eventHandler)
pure virtual

◆ templateDstFileName()

virtual OdString dst::OdSmDatabase::templateDstFileName ( ) const
pure virtual

◆ unSubscribe()

virtual void dst::OdSmDatabase::unSubscribe ( long  cookie)
pure virtual

◆ updateInMemoryDwgHints()

virtual void dst::OdSmDatabase::updateInMemoryDwgHints ( )
pure virtual

◆ version()

virtual OdString dst::OdSmDatabase::version ( ) const
pure virtual

The documentation for this struct was generated from the following file: