EleFits  5.3.0
A modern C++ API on top of CFITSIO
Loading...
Searching...
No Matches

◆ has_long_string_value()

bool has_long_string_value ( ) 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.