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

CCfits::FITSUtil::MatchType Class Template Reference

function object that returns the FITS ValueType corresponding to an input intrinsic type. More...

#include <FITSUtil.h>

List of all members.


Detailed Description

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

function object that returns the FITS ValueType corresponding to an input intrinsic type.

This is particularly useful inside templated class instances where calls to cfitsio need to supply a value type. With this function one can extract the value type from the class type.

usage:

MatchType<T> type;

ValueType dataType = type();

Uses run-time type information (RTTI) methods.


The documentation for this class was generated from the following file:
Generated at Fri Apr 11 16:05:12 2003 for CCfits by doxygen1.2.7 written by Dimitri van Heesch, © 1997-2001