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

CCfits::FITSUtil::CVarray 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 Methods

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


Detailed Description

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

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 at Fri Apr 11 16:05:10 2003 for CCfits by doxygen1.2.7 written by Dimitri van Heesch, © 1997-2001