CCfits::FITSUtil::CVarray< T > Class Template Reference

Function object class for returning C arrays from standard library objects used in the FITS library implementation. More...

#include <FITSUtil.h>

List of all members.

Public Member Functions

T * operator() (const std::vector< T > &inArray)


Detailed Description

template<typename T>
class CCfits::FITSUtil::CVarray< T >

Function object class for returning C arrays from standard library objects used in the FITS library implementation.

There are 3 versions which convert std::vector<T>, std::valarray<T>, and std::vector<std::valarray<T> > objects to pointers to T, called CVarray, CAarray, and CVAarray.

An alternative function, CharArray, is provided to deal with the special case of vector string arrays.


Member Function Documentation

template<typename T>
T * CCfits::FITSUtil::CVarray< T >::operator() ( const std::vector< T > &  inArray  )  [inline]

operator returning C array for use with scalar column data.


The documentation for this class was generated from the following file:
Generated on Thu Jun 28 11:49:15 2007 for CCfits by  doxygen 1.4.7