Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

CCfits::FITSUtil::Carray Class Template Reference

#include <FITSUtil.h>

List of all members.

Public Methods

T* operator() (const std::vector< T > &inArray)
 operator returning C array for use with scalar column data.

T* operator() (const std::vector< std::valarray< T > > &inArray)
 operator returning C array for use with vector column data. More...

T* operator() (const std::valarray< T > &inArray)
 operator returning C array for use with image data. More...


Detailed Description

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

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.

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::Carray< T >::operator() ( const std::vector< std::valarray< T > > & inArray )
 

operator returning C array for use with vector column data.

template<typename T>
T * CCfits::FITSUtil::Carray< T >::operator() ( const std::valarray< T > & inArray )
 

operator returning C array for use with image data.


The documentation for this class was generated from the following file:
Generated at Mon Aug 13 11:12:25 2001 for CCfits by doxygen1.2.7 written by Dimitri van Heesch, © 1997-2001