#include <DbHyperlink.h>
|
| OdDbEntityHyperlinkPE () |
|
virtual | ~OdDbEntityHyperlinkPE () |
|
| ODRX_DECLARE_MEMBERS (OdDbEntityHyperlinkPE) |
|
virtual OdDbHyperlinkCollectionPtr | getHyperlinkCollection (const OdRxObject *pObject, bool oneOnly=false, bool ignoreBlockDefinition=true)=0 |
|
virtual OdDbHyperlinkCollectionPtr | getHyperlinkCollectionEx (const OdRxObject *pObject, bool oneOnly=false, bool ignoreBlockDefinition=true) |
|
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 |
|
| ODRX_HEAP_OPERATORS () |
|
| OdRxObject () |
|
virtual | ~OdRxObject () |
|
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
|
virtual OdRxObject * | x (const OdRxClass *pClass) const |
|
virtual OdRxClass * | isA () 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 |
|
This class is the Hyperlink Protocol Extension class.
- See also
- OdDbEntityHyperlinkPE OdDbHyperlink OdDbHyperlinkCollection
Corresponding C++ library: TD_Db
<group OdDb_Classes>
Definition at line 296 of file DbHyperlink.h.
◆ OdDbEntityHyperlinkPE()
OdDbEntityHyperlinkPE::OdDbEntityHyperlinkPE |
( |
| ) |
|
◆ ~OdDbEntityHyperlinkPE()
virtual OdDbEntityHyperlinkPE::~OdDbEntityHyperlinkPE |
( |
| ) |
|
|
virtual |
Virtual destructor. Destroys an object of the OdDbEntityHyperlinkPE class and releases all resources that were used by the object.
◆ getHyperlinkCollection() [1/2]
Creates a HyperlinkCollection object containing Hyperlink objects associated with the specified objects.
- Parameters
-
objectIds | [in] Array of Object IDs. |
oneOnly | [in] If true, returns only the first Hyperlink. |
ignoreBlockDefinition | [in] If true, ignores Hyperlink objects associated with block definitions. |
- Returns
- Smart pointer to the created HyperlinkColection object.
◆ getHyperlinkCollection() [2/2]
Creates a HyperlinkCollection object containing the Hyperlink object associated with the specified object.
- Parameters
-
pObject | [in] Pointer to the object. |
oneOnly | [in] If true, returns only the first Hyperlink. |
ignoreBlockDefinition | [in] If true, ignores Hyperlink objects associated with block definitions. |
- Returns
- Smart pointer to the created HyperlinkColection object.
◆ getHyperlinkCollectionEx()
Creates a HyperlinkCollection object containing the Hyperlink object associated with the specified object.
- Parameters
-
pObject | [in] Pointer to the object. |
oneOnly | [in] If true, returns only the first Hyperlink. |
ignoreBlockDefinition | [in] If true, ignores Hyperlink objects associated with block definitions. |
- Returns
- Smart pointer to the created HyperlinkColection object.
Definition at line 353 of file DbHyperlink.h.
◆ 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
-
idContainers | [in] Array of object IDs. |
ignoreBlockDefinition | [in] If true, ignores Hyperlink objects associated with block definitions. |
- Returns
- Number of Hyperlink objects.
◆ 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 object.
- Parameters
-
pObject | [in] Pointer to the object. |
ignoreBlockDefinition | [in] If true, ignores Hyperlink objects associated with block definitions. |
- Returns
- Number of Hyperlink objects.
◆ hasHyperlink() [1/2]
virtual bool OdDbEntityHyperlinkPE::hasHyperlink |
( |
const OdDbStubPtrArray *& |
objectIds, |
|
|
bool |
ignoreBlockDefinition = true |
|
) |
| |
|
pure virtual |
Returns true if and only if at least one of the specified objects has Hyperlink objects associated with it.
- Parameters
-
objectIds | [in] Array of object IDs. |
ignoreBlockDefinition | [in] If true, ignores Hyperlink objects associated with block definitions. |
- Returns
- True if one or more of the specified objects have Hyperlink objects associated with them; false if none of the specified objects have Hyperlink objects associated with them.
◆ 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 true, ignores Hyperlink objects associated with block definitions. |
- Returns
- True if the specified object has Hyperlink objects associated with it; false otherwise.
◆ ODRX_DECLARE_MEMBERS()
◆ setHyperlinkCollection()
Associates the specified HyperlinkCollection object with the specified object.
- Parameters
-
pObject | [in] Pointer to the target object. |
pHCO | [in] Pointer to the HyperlinkCollection object. |
The documentation for this class was generated from the following file: