CCfits
2.6
|
function object that returns the FITS ValueType corresponding to an input intrinsic type More...
#include <FITSUtil.h>
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.