Enumeration
The following code iterates over an enumeration errors object:
◆ XnEnumerationErrors
An object that holds errors during an enumeration process.
◆ XnEnumerationErrorsIterator
◆ xnEnumerationErrorsAdd()
Adds an error to the object.
- Parameters
-
pErrors | [in] Enumeration Errors object. |
pDesc | [in] Description of the failing module. |
nError | [in] The enumeration error that occurred. |
◆ xnEnumerationErrorsAllocate()
Allocates an enumeration errors object.
- Parameters
-
ppErrors | [out] The allocated object |
◆ xnEnumerationErrorsClear()
Clears an Enumeration Errors object from all errors in it.
- Parameters
-
pErrors | [in] Enumeration Errors object. |
◆ xnEnumerationErrorsFree()
Frees an enumeration errors object
- Parameters
-
pErrors | [in] Parameter description |
◆ xnEnumerationErrorsGetCurrentDescription()
Gets the description of the node from current error.
- Parameters
-
it | [in] The iterator to the error. |
◆ xnEnumerationErrorsGetCurrentError()
Gets the enumeration error caused when enumerating the node.
- Parameters
-
it | [in] The iterator to the error. |
◆ xnEnumerationErrorsGetFirst()
Gets an iterator to the first error in the object.
- Parameters
-
pErrors | [in] Enumeration Errors object. |
◆ xnEnumerationErrorsGetNext()
Gets an iterator to the next error in the object.
- Parameters
-
it | [in] An iterator to an error in the object. |
◆ xnEnumerationErrorsIteratorIsValid()
Checks if an iterator is valid (i.e. points to a real error)
- Parameters
-
it | [in] The iterator to check. |
◆ xnEnumerationErrorsToString()
Returns a string representation of the Enumeration Errors object.
- Parameters
-
pErrors | [in] Enumeration Errors object. |
csBuffer | [in] A char buffer to be filled. |
nSize | [in] Size of the char buffer. |