ICP  1
Classes | Public Member Functions | Private Types | Private Attributes | List of all members
item_struct< T > Class Template Reference

#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_tfindItem (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
 

Detailed Description

template<typename T>
class item_struct< T >

Definition at line 7 of file item_struct.h.

Member Typedef Documentation

template<typename T>
typedef std::map<std::string, item_t> item_struct< T >::items_map_t
private

Definition at line 20 of file item_struct.h.

Member Function Documentation

template<typename T>
int item_struct< T >::addItem ( const std::string &  name,
const T *  value,
bool  det_average = false,
const int *  dim0 = NULL,
const int *  dim1 = NULL 
)
inline

Definition at line 26 of file item_struct.h.

Referenced by ISISRAW::addItems().

template<typename T>
const item_t* item_struct< T >::findItem ( const std::string &  item_name,
bool  det_average 
)
inline

Definition at line 40 of file item_struct.h.

template<typename T>
int item_struct< T >::getArrayItem ( const std::string &  item_name,
long *  spec_array,
int  nspec,
T *  larray,
DAEstatus status 
)
template<typename T>
int item_struct< T >::getArrayItem ( const std::string &  item_name,
T *  larray,
DAEstatus status 
)

Definition at line 146 of file item_struct.cpp.

template<typename T >
int item_struct< T >::getArrayItemSize ( const std::string &  item_name,
int *  dims_array,
int &  ndims,
DAEstatus status 
)
template<typename T>
int item_struct< T >::getItem ( const std::string &  item_name,
T &  value,
DAEstatus status 
)

Definition at line 5 of file item_struct.cpp.

template<typename T>
int item_struct< T >::getItem ( const std::string &  item_name,
long *  spec_array,
int  nspec,
T *  lVal,
DAEstatus status 
)

Member Data Documentation

template<typename T>
items_map_t item_struct< T >::m_items
private

Definition at line 21 of file item_struct.h.

Referenced by item_struct< char >::addItem(), and item_struct< char >::findItem().

template<typename T>
long item_struct< T >::m_ndet
private

Definition at line 23 of file item_struct.h.

template<typename T>
unsigned long* item_struct< T >::m_spec_array
private

Definition at line 22 of file item_struct.h.


The documentation for this class was generated from the following files: