![]() | InDesign SDK 20.5 |
#include <CusDtLnkLinkResourceStatePacket.h>

Additional Inherited Members | |
Public Types inherited from AsyncWorkPacket | |
| enum | Priority { kLowestPriority = 0, kLowPriority = 0, kNormalPriority = 1, kHighPriority = 2, kHighestPriority = 2, kReservedForceCompletionPriority = 3 } |
Class used to contain information about a link resource that is used while updating the state of the resource and/or automatically resolveing a missing resource's new location.
| CusDtLnkLinkResourceStatePacket::CusDtLnkLinkResourceStatePacket | ( | ILinkManager::OperationType | opType, |
| bool | bNotify, | ||
| IDataBase * | db, | ||
| const UID & | uid, | ||
| const URI & | uri, | ||
| ILinkResource::ResourceState | state, | ||
| const WideString & | stamp, | ||
| const IDTime & | modTime, | ||
| uint64 | size | ||
| ) |
Default constructor. Constructs a CusDtLnkLinkResourceStatePacket object.
| opType | [IN] Type of state update operation performed. |
| bNotify | [IN] Denotes whether the state update should notify if the model is changed in the callback. |
| db | [IN] Database that contains the link resource. |
| uid | [IN] UID of a link resource. |
| uri | [IN] URI of a link resource. |
| state | [IN] State of a link resource. |
| stamp | [IN] Stamp of the link resource. |
| modTime | [IN] Modification time of the link resource. |
| size | [IN] Size of the link resource in bytes. |
| virtual |
Destructor. Destroys the CusDtLnkLinkResourceStatePacket object.
| inline |
Returns the database that contains the link resource this packet pertains to. \ NOTE: Never access the database from a link resource state processor that is executing on a thread. Access is OK if the processor is executing in the idle task.
| inline |
Returns the modification time of the link resource.
| inline |
Returns whether the state update should notify if the model is changed in the callback.
| inline |
Returns the type type of state update operation performed; asynchronous or synchronous.
| inline |
Returns the UID of the link resource.
| inline |
Returns the byte size of the link resource.
| inline |
Returns the stamp of the link resource.
| inline |
Returns the state of the link resource.
| inline |
| inline |
Determines whether the link resource has changed.
| inline |
Determines whether the link resource's modification time has changed.
| bool CusDtLnkLinkResourceStatePacket::operator== | ( | const CusDtLnkLinkResourceStatePacket & | rhs | ) | const |
Equality operator. Test whether this CusDtLnkLinkResourceStatePacket is equal to the given CusDtLnkLinkResourceStatePacket.
| rhs | [IN] CusDtLnkLinkResourceStatePacket to test for equality against this CusDtLnkLinkResourceStatePacket. |
| void CusDtLnkLinkResourceStatePacket::SetModTime | ( | const IDTime & | modTime | ) |
Sets the new modification time of the link resource.
| stamp | [IN] New stamp of the link resource. |
| void CusDtLnkLinkResourceStatePacket::SetSize | ( | uint64 | size | ) |
Sets the new byte size of the link resource.
| stamp | [IN] New byte size of the link resource. |
| void CusDtLnkLinkResourceStatePacket::SetStamp | ( | const WideString & | stamp | ) |
Sets the new stamp of the link resource.
| stamp | [IN] New stamp of the link resource. |
| void CusDtLnkLinkResourceStatePacket::SetState | ( | ILinkResource::ResourceState | state | ) |
Sets the new state of a link resource.
| state | [IN] New state of a link resource. |
| void CusDtLnkLinkResourceStatePacket::SetURI | ( | const URI & | uri | ) |
| inline |
Determines whether the link resource's byte size has changed.
| inline |
Determines whether the link resource's stamp has changed.
| inline |
Determines whether the link resource's state has changed.