CFx SDK Documentation  2023 SP0
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
OdDbLayoutManager Class Reference

#include <DbLayoutManager.h>

Inheritance diagram for OdDbLayoutManager:
OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdDbLayoutManager)
 
 OdDbLayoutManager ()
 
virtual ~OdDbLayoutManager ()
 
virtual void setCurrentLayout (OdDbDatabase *pDb, const OdDbObjectId &layoutId)
 
virtual OdString findActiveLayout (const OdDbDatabase *pDb, bool allowModel) const
 
virtual OdDbObjectId getActiveLayoutBTRId (const OdDbDatabase *pDb) const
 
virtual OdDbObjectId findLayoutNamed (const OdDbDatabase *pDb, const OdString &name) const
 
virtual void deleteLayout (OdDbDatabase *pDb, const OdString &delname)
 
virtual OdDbObjectId createLayout (OdDbDatabase *pDb, const OdString &newname, OdDbObjectId *pBlockTableRecId=0)
 
virtual void renameLayout (OdDbDatabase *pDb, const OdString &oldname, const OdString &newname)
 
virtual OdDbObjectId cloneLayout (OdDbDatabase *pDb, const OdDbLayout *pLayout, const OdString &newname, int newTabOrder=0)
 
virtual OdDbObjectId getNonRectVPIdFromClipId (const OdDbObjectId &clipId) const
 
virtual bool isVpnumClipped (const OdDbDatabase *pDb, int index) const
 
virtual int countLayouts (const OdDbDatabase *pDb) const
 
virtual void addReactor (OdDbLayoutManagerReactor *newObj)
 
virtual void removeReactor (OdDbLayoutManagerReactor *delObj)
 
- 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
 

Protected Member Functions

 OdDbLayoutManager (OdDbLayoutManagerImpl *pImpl)
 

Protected Attributes

OdDbLayoutManagerImplm_pImpl
 

Friends

class OdDbLayoutManagerImpl
 

Additional Inherited Members

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

Detailed Description

This class modifies and accesses Layout objects in an OdDbDatabase instance.

See also
TD_Db

<group OdDb_Classes>

Definition at line 247 of file DbLayoutManager.h.

Constructor & Destructor Documentation

◆ OdDbLayoutManager() [1/2]

OdDbLayoutManager::OdDbLayoutManager ( )

◆ ~OdDbLayoutManager()

virtual OdDbLayoutManager::~OdDbLayoutManager ( )
virtual

◆ OdDbLayoutManager() [2/2]

OdDbLayoutManager::OdDbLayoutManager ( OdDbLayoutManagerImpl pImpl)
protected

Member Function Documentation

◆ addReactor()

virtual void OdDbLayoutManager::addReactor ( OdDbLayoutManagerReactor newObj)
virtual

◆ cloneLayout()

virtual OdDbObjectId OdDbLayoutManager::cloneLayout ( OdDbDatabase pDb,
const OdDbLayout pLayout,
const OdString newname,
int  newTabOrder = 0 
)
virtual

◆ countLayouts()

virtual int OdDbLayoutManager::countLayouts ( const OdDbDatabase pDb) const
virtual

◆ createLayout()

virtual OdDbObjectId OdDbLayoutManager::createLayout ( OdDbDatabase pDb,
const OdString newname,
OdDbObjectId pBlockTableRecId = 0 
)
virtual

◆ deleteLayout()

virtual void OdDbLayoutManager::deleteLayout ( OdDbDatabase pDb,
const OdString delname 
)
virtual

◆ findActiveLayout()

virtual OdString OdDbLayoutManager::findActiveLayout ( const OdDbDatabase pDb,
bool  allowModel 
) const
virtual

◆ findLayoutNamed()

virtual OdDbObjectId OdDbLayoutManager::findLayoutNamed ( const OdDbDatabase pDb,
const OdString name 
) const
virtual

◆ getActiveLayoutBTRId()

virtual OdDbObjectId OdDbLayoutManager::getActiveLayoutBTRId ( const OdDbDatabase pDb) const
virtual

◆ getNonRectVPIdFromClipId()

virtual OdDbObjectId OdDbLayoutManager::getNonRectVPIdFromClipId ( const OdDbObjectId clipId) const
virtual

◆ isVpnumClipped()

virtual bool OdDbLayoutManager::isVpnumClipped ( const OdDbDatabase pDb,
int  index 
) const
virtual

◆ ODRX_DECLARE_MEMBERS()

OdDbLayoutManager::ODRX_DECLARE_MEMBERS ( OdDbLayoutManager  )

◆ removeReactor()

virtual void OdDbLayoutManager::removeReactor ( OdDbLayoutManagerReactor delObj)
virtual

◆ renameLayout()

virtual void OdDbLayoutManager::renameLayout ( OdDbDatabase pDb,
const OdString oldname,
const OdString newname 
)
virtual

◆ setCurrentLayout()

virtual void OdDbLayoutManager::setCurrentLayout ( OdDbDatabase pDb,
const OdDbObjectId layoutId 
)
virtual

Friends And Related Function Documentation

◆ OdDbLayoutManagerImpl

friend class OdDbLayoutManagerImpl
friend

Definition at line 269 of file DbLayoutManager.h.

Member Data Documentation

◆ m_pImpl

OdDbLayoutManagerImpl* OdDbLayoutManager::m_pImpl
protected

Definition at line 272 of file DbLayoutManager.h.


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