ICP
1
|
#include <item_struct.h>
Classes | |
struct | item_t |
Public Member Functions | |
int | addItem (const std::string &name, const T *value, bool det_average=false, const int *dim0=NULL, const int *dim1=NULL) |
const item_t * | findItem (const std::string &item_name, bool det_average) |
int | getItem (const std::string &item_name, T &value, DAEstatus &status) |
int | getItem (const std::string &item_name, long *spec_array, int nspec, T *lVal, DAEstatus &status) |
int | getArrayItemSize (const std::string &item_name, int *dims_array, int &ndims, DAEstatus &status) |
int | getArrayItem (const std::string &item_name, long *spec_array, int nspec, T *larray, DAEstatus &status) |
int | getArrayItem (const std::string &item_name, T *larray, DAEstatus &status) |
Private Types | |
typedef std::map< std::string, item_t > | items_map_t |
Private Attributes | |
items_map_t | m_items |
unsigned long * | m_spec_array |
long | m_ndet |
Definition at line 7 of file item_struct.h.
|
private |
Definition at line 20 of file item_struct.h.
|
inline |
Definition at line 26 of file item_struct.h.
Referenced by ISISRAW::addItems().
|
inline |
Definition at line 40 of file item_struct.h.
int item_struct< T >::getArrayItem | ( | const std::string & | item_name, |
long * | spec_array, | ||
int | nspec, | ||
T * | larray, | ||
DAEstatus & | status | ||
) |
Definition at line 114 of file item_struct.cpp.
References item_struct< T >::item_t::dim0, item_struct< T >::item_t::dim1, DAEstatus::Failure, DAEstatus::Success, and item_struct< T >::item_t::value.
int item_struct< T >::getArrayItem | ( | const std::string & | item_name, |
T * | larray, | ||
DAEstatus & | status | ||
) |
Definition at line 146 of file item_struct.cpp.
int item_struct< T >::getArrayItemSize | ( | const std::string & | item_name, |
int * | dims_array, | ||
int & | ndims, | ||
DAEstatus & | status | ||
) |
Definition at line 87 of file item_struct.cpp.
References item_struct< T >::item_t::dim0, item_struct< T >::item_t::dim1, DAEstatus::Failure, and DAEstatus::Success.
int item_struct< T >::getItem | ( | const std::string & | item_name, |
T & | value, | ||
DAEstatus & | status | ||
) |
Definition at line 5 of file item_struct.cpp.
int item_struct< T >::getItem | ( | const std::string & | item_name, |
long * | spec_array, | ||
int | nspec, | ||
T * | lVal, | ||
DAEstatus & | status | ||
) |
Definition at line 26 of file item_struct.cpp.
References item_struct< T >::item_t::dim0, item_struct< T >::item_t::dim1, DAEstatus::Failure, DAEstatus::Success, and item_struct< T >::item_t::value.
|
private |
Definition at line 21 of file item_struct.h.
Referenced by item_struct< char >::addItem(), and item_struct< char >::findItem().
|
private |
Definition at line 23 of file item_struct.h.
|
private |
Definition at line 22 of file item_struct.h.