-
- Downloads
ENH : Deal with resource deallocation using the idiom Resource acquisition
is initialization - Add 2 macros otbCurlCall and otbCurlMultiCall that throw exception if the code returned is different than CURLE_OK. Then, in order to clean proprely the curl environment and the files opened, 3 resources classes are added for : * In CurlHelper.cxx file to deal with the easy, multi, and FILE resource. - Change the prototype of the method TestUrlAvailability, to handle the error returned in the CurlHelper class. it returns a boolean for now. otbImageFileReader is affected due to this changes
Showing
- Code/IO/otbImageFileReader.txx 2 additions, 3 deletionsCode/IO/otbImageFileReader.txx
- Code/Testing/otbCurlHelperStub.cxx 1 addition, 1 deletionCode/Testing/otbCurlHelperStub.cxx
- Code/Testing/otbCurlHelperStub.h 1 addition, 1 deletionCode/Testing/otbCurlHelperStub.h
- Code/UtilitiesAdapters/CurlAdapters/otbCurlHelper.cxx 239 additions, 127 deletionsCode/UtilitiesAdapters/CurlAdapters/otbCurlHelper.cxx
- Code/UtilitiesAdapters/CurlAdapters/otbCurlHelper.h 1 addition, 1 deletionCode/UtilitiesAdapters/CurlAdapters/otbCurlHelper.h
- Code/UtilitiesAdapters/CurlAdapters/otbCurlHelperInterface.h 1 addition, 1 deletionCode/UtilitiesAdapters/CurlAdapters/otbCurlHelperInterface.h
Loading
Please register or sign in to comment