Destroys the class object, and releases all resources associated with it.
#include "ltwrappr.h"
L_INT LNITFFile::Destroy()
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
A NITF file is created by calling the LNITFFile::Create function.
For each call to Create there must be a call to LNITFFile::Destroy.
This function should be called after calling any other LNITFFile::XXX function. It will clean up and free memory allocated to the LNITFFile object.
For an example, refer to LNITFFile::Create.