![]() |
sablib
|
creation and release of data for the C interface of sablib.(implementation) More...
#include "data.h"Go to the source code of this file.
Functions | |
| const SABLIB_DATA_PTR | AllocSablibData (const size_t size) |
| Allocates a SABLIB_DATA structure. | |
| void | FreeSablibData (SABLIB_DATA_PTR data) |
| Frees a SABLIB_DATA structure and its data body. | |
| const SABLIB_BASELINE_DATA_PTR | AllocSablibBaselineData (const size_t size) |
| Allocates a SABLIB_BASELINE_DATA structure. | |
| void | FreeSablibBaselineData (SABLIB_BASELINE_DATA_PTR data) |
| Frees a SABLIB_BASELINE_DATA structure and its members. | |
creation and release of data for the C interface of sablib.(implementation)
Definition in file data.cpp.
| const SABLIB_BASELINE_DATA_PTR AllocSablibBaselineData | ( | const size_t | size | ) |
Allocates a SABLIB_BASELINE_DATA structure.
| size | Size of the data to allocate for baseline and corrected data. |
Definition at line 37 of file data.cpp.
References _stSablibBaselineData::baseline, _stSablibBaselineData::corrected, _stSablibData::data, and _stSablibData::size.
Referenced by Sablib_BaselineAirPLS(), Sablib_BaselineArPLS(), Sablib_BaselineAsLS(), Sablib_BaselineBackcor(), Sablib_BaselineBeads(), Sablib_BaselineGoldindec(), Sablib_BaselineIModPoly(), Sablib_BaselineLinear(), Sablib_BaselineModPoly(), Sablib_BaselinePolynomial(), Sablib_BaselinePsalsa(), Sablib_BaselineSMA(), Sablib_BaselineSnip(), and Sablib_BaselineSpline().
| const SABLIB_DATA_PTR AllocSablibData | ( | const size_t | size | ) |
Allocates a SABLIB_DATA structure.
| size | Size of the data to allocate. |
Definition at line 12 of file data.cpp.
References _stSablibData::data, and _stSablibData::size.
Referenced by Sablib_BeadsExpandBoundaries(), Sablib_BeadsTrimBoundaries(), Sablib_GaussianFilter(), Sablib_GaussianKernel(), Sablib_MovingAverage(), Sablib_MovingMedian(), Sablib_PSpline(), Sablib_SavitzkyGolay(), Sablib_SavitzkyGolayCoefficients(), Sablib_WeightedMovingAverage(), Sablib_WeightedWhittaker(), and Sablib_Whittaker().
| void FreeSablibBaselineData | ( | SABLIB_BASELINE_DATA_PTR | data | ) |
Frees a SABLIB_BASELINE_DATA structure and its members.
| data | Pointer to the SABLIB_BASELINE_DATA structure to free. |
Definition at line 51 of file data.cpp.
References _stSablibBaselineData::baseline, _stSablibBaselineData::corrected, and _stSablibData::data.
| void FreeSablibData | ( | SABLIB_DATA_PTR | data | ) |
Frees a SABLIB_DATA structure and its data body.
| data | Pointer to the SABLIB_DATA structure to free. |
Definition at line 24 of file data.cpp.
References _stSablibData::data.