CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OdDbEntityHyperlinkPE Class Referenceabstract

#include <DbHyperlink.h>

Inheritance diagram for OdDbEntityHyperlinkPE:
OdRxObject

Public Member Functions

 OdDbEntityHyperlinkPE ()
 
virtual ~OdDbEntityHyperlinkPE ()
 
 ODRX_DECLARE_MEMBERS (OdDbEntityHyperlinkPE)
 
virtual OdDbHyperlinkCollectionPtr getHyperlinkCollection (const OdRxObject *pObject, bool oneOnly=false, bool ignoreBlockDefinition=true)=0
 
virtual OdDbHyperlinkCollectionPtr getHyperlinkCollection (const OdDbStubPtrArray *&objectIds, bool oneOnly=false, bool ignoreBlockDefinition=true)=0
 
virtual void setHyperlinkCollection (const OdRxObject *pObject, OdDbHyperlinkCollection *pHCO)=0
 
virtual unsigned int getHyperlinkCount (const OdRxObject *pObject, bool ignoreBlockDefinition=true)=0
 
virtual unsigned int getHyperlinkCount (const OdDbStubPtrArray *&idContainers, bool ignoreBlockDefinition=true)=0
 
virtual bool hasHyperlink (const OdRxObject *pObject, bool ignoreBlockDefinition=true)=0
 
virtual bool hasHyperlink (const OdDbStubPtrArray *&objectIds, bool ignoreBlockDefinition=true)=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

This class is the Hyperlink Protocol Extension class.

Remarks
This class provides access to the Hyperlink objects associated with OdDbDatabase objects.
See also
OdDbEntityHyperlinkPE OdDbHyperlink OdDbHyperlinkCollection

Corresponding C++ library: TD_Db <group OdDb_Classes>

Definition at line 259 of file DbHyperlink.h.

Constructor & Destructor Documentation

◆ OdDbEntityHyperlinkPE()

OdDbEntityHyperlinkPE::OdDbEntityHyperlinkPE ( )

◆ ~OdDbEntityHyperlinkPE()

virtual OdDbEntityHyperlinkPE::~OdDbEntityHyperlinkPE ( )
virtual

Member Function Documentation

◆ getHyperlinkCollection() [1/2]

virtual OdDbHyperlinkCollectionPtr OdDbEntityHyperlinkPE::getHyperlinkCollection ( const OdDbStubPtrArray *&  objectIds,
bool  oneOnly = false,
bool  ignoreBlockDefinition = true 
)
pure virtual

Creates a HyperlinkCollection object containing the Hyperlink objects associated with the specified objects.

Parameters
objectIds[in] Array of Object IDs.
oneOnly[in] If and only if true, returns only the first Hyperlink.
ignoreBlockDefinition[in] If and only if true, ignores the Hyperlink objects associated with block definitions.
Returns
Returns the HyperlinkColection object.
Remarks
As implemented, ignoreBlockDefinition is ignored. It will be fully implemented in a future release.

◆ getHyperlinkCollection() [2/2]

virtual OdDbHyperlinkCollectionPtr OdDbEntityHyperlinkPE::getHyperlinkCollection ( const OdRxObject pObject,
bool  oneOnly = false,
bool  ignoreBlockDefinition = true 
)
pure virtual

Creates a HyperlinkCollection object containing the Hyperlink objects associated with the specified objects.

Parameters
pObject[in] Pointer to the object.
oneOnly[in] If and only if true, returns only the first Hyperlink.
ignoreBlockDefinition[in] If and only if true, ignores the Hyperlink objects associated with block definitions.
Returns
Returns the HyperlinkColection object.
Remarks
As implemented, ignoreBlockDefinition is ignored. It will be fully implemented in a future release.

◆ getHyperlinkCount() [1/2]

virtual unsigned int OdDbEntityHyperlinkPE::getHyperlinkCount ( const OdDbStubPtrArray *&  idContainers,
bool  ignoreBlockDefinition = true 
)
pure virtual

Returns the number of Hyperlink objects associated with the specified objects.

Parameters
ignoreBlockDefinition[in] If and only if true, ignores the Hyperlink objects associated with block definitions.
Remarks
As implemented, ignoreBlockDefinition is ignored. It will be fully implemented in a future release.

◆ getHyperlinkCount() [2/2]

virtual unsigned int OdDbEntityHyperlinkPE::getHyperlinkCount ( const OdRxObject pObject,
bool  ignoreBlockDefinition = true 
)
pure virtual

Returns the number of Hyperlink objects associated with the specified objects.

Parameters
pObject[in] Pointer to the object.
ignoreBlockDefinition[in] If and only if true, ignores the Hyperlink objects associated with block definitions.
Remarks
As implemented, ignoreBlockDefinition is ignored. It will be fully implemented in a future release.

◆ hasHyperlink() [1/2]

virtual bool OdDbEntityHyperlinkPE::hasHyperlink ( const OdDbStubPtrArray *&  objectIds,
bool  ignoreBlockDefinition = true 
)
pure virtual

Returns true if and only if one or more of the specified objects has Hyperlink objects associated with them.

Parameters
objectIds[in] Array of Object IDs.
ignoreBlockDefinition[in] If and only if true, ignores the Hyperlink objects associated with block definition.
Remarks
As implemented, ignoreBlockDefinition is ignored. It will be fully implemented in a future release.

◆ hasHyperlink() [2/2]

virtual bool OdDbEntityHyperlinkPE::hasHyperlink ( const OdRxObject pObject,
bool  ignoreBlockDefinition = true 
)
pure virtual

Returns true if and only if the specified object has Hyperlink objects associated with it.

Parameters
pObject[in] Pointer to the object.
ignoreBlockDefinition[in] If and only if true, ignores the Hyperlink objects associated with block definition.
Remarks
As implemented, ignoreBlockDefinition is ignored. It will be fully implemented in a future release.

◆ ODRX_DECLARE_MEMBERS()

OdDbEntityHyperlinkPE::ODRX_DECLARE_MEMBERS ( OdDbEntityHyperlinkPE  )

◆ setHyperlinkCollection()

virtual void OdDbEntityHyperlinkPE::setHyperlinkCollection ( const OdRxObject pObject,
OdDbHyperlinkCollection pHCO 
)
pure virtual

Associates the specified HyperlinkCollection object with the specified object.

Parameters
pObject[in] Pointer to the target object.
pHCO[in] Pointer to the HyperlinkCollection object.
Remarks
Hyperlink objects with null name, description, or sublocation will not be added to the object.

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