In addition to the specific error results listed for each method, all methods in this interface may also return one of the following values:
AAFRESULT_NOMEMORY
AAFRESULT_NOT_INITIALIZED
Objects that implement IAAFEssenceDescriptor also implement the following interfaces:
Definition at line 6774 of file AAF.idl.
Public Member Functions | |
| HRESULT | CountLocators ([out] aafUInt32 *pResult) |
| Return the number of locators attached to this essence descriptor. | |
| HRESULT | AppendLocator ([in] IAAFLocator *pLocator) |
| Append another locator to this essence descriptor. | |
| HRESULT | PrependLocator ([in] IAAFLocator *pLocator) |
| Prepend another locator to this essence descriptor. | |
| HRESULT | InsertLocatorAt ([in] aafUInt32 index,[in] IAAFLocator *pLocator) |
| Inserts the given locator at the given index. | |
| HRESULT | GetLocatorAt ([in] aafUInt32 index,[out, retval] IAAFLocator **ppLocator) |
| Retrieves the locator at the given index. | |
| HRESULT | RemoveLocatorAt ([in] aafUInt32 index) |
| Removes the locator at the given index. | |
| HRESULT | GetLocators ([out] IEnumAAFLocators **ppEnum) |
| Returns an enumerator to the locators. | |
|
|
Append another locator to this essence descriptor. Use this function to add a locator to be scanned last when searching for the essence (a secondary location for the essence). Succeeds if all of the following are true:
If this method fails no state will be changed. This method will return the following codes. If more than one of the listed errors is in effect, it will return the first one encountered in the order given below: AAFRESULT_SUCCESS
AAFRESULT_NULL_PARAM
|
|
|
Return the number of locators attached to this essence descriptor. The number of locators may be zero if the essence is in the current file. Succeeds if all of the following are true:
If this method fails nothing is written to *pCount. This method will return the following codes. If more than one of the listed errors is in effect, it will return the first one encountered in the order given below: AAFRESULT_SUCCESS
AAFRESULT_NULL_PARAM
|
|
||||||||||||
|
Retrieves the locator at the given index. Succeeds if all of the following are true:
If this method fails no state will be changed. This method will return the following codes. If more than one of the listed errors is in effect, it will return the first one encountered in the order given below: AAFRESULT_SUCCESS
AAFRESULT_NULL_PARAM
AAFRESULT_BADINDEX
|
|
|
Returns an enumerator to the locators. The number of locators may be zero if the essence is in the current file. Succeeds if all of the following are true:
If this method fails nothing will be written to *ppEnum. This method will return the following codes. If more than one of the listed errors is in effect, it will return the first one encountered in the order given below: AAFRESULT_SUCCESS
AAFRESULT_NULL_PARAM
|
|
||||||||||||
|
Inserts the given locator at the given index. Locators already existing at the given and higher indices will be moved to the next higher index to accommodate. Succeeds if all of the following are true:
If this method fails no state will be changed. This method will return the following codes. If more than one of the listed errors is in effect, it will return the first one encountered in the order given below: AAFRESULT_SUCCESS
AAFRESULT_NULL_PARAM
AAFRESULT_BADINDEX
|
|
|
Prepend another locator to this essence descriptor. Use this function to add a locator to be scanned first when searching for the essence (a new primary location for the essence). Succeeds if all of the following are true:
If this method fails no state will be changed. This method will return the following codes. If more than one of the listed errors is in effect, it will return the first one encountered in the order given below: AAFRESULT_SUCCESS
AAFRESULT_NULL_PARAM
|
|
|
Removes the locator at the given index. Locators already existing at indices higher than the given index will be moved to the next lower index to accommodate. Succeeds if all of the following are true:
If this method fails no state will be changed. This method will return the following codes. If more than one of the listed errors is in effect, it will return the first one encountered in the order given below: AAFRESULT_SUCCESS
AAFRESULT_BADINDEX
|
1.4.1