EleFits  4.0.1
A modern C++ API on top of CFitsIO

◆ hasLongStringValue()

template<typename T >
bool Euclid::Fits::Record< T >::hasLongStringValue ( ) const

Check whether the value of a record is a long string (more than 68 characters).

Returns
True if the record value is a string (see details) and its length is greater than 68; False otherwise.

A long string value is written on several lines, using the CONTINUE special keyword. The method is provided for any type for convenience, but always returns false for non-string values. Are considered string types:

  • std::string,
  • const char *,
  • VariantValue if the underlying value is one of the previous types.
    See also
    Record documentation for more details on the long string value convention.