PCL
FITS Keyword Comparison Functions

Functions

bool pcl::operator< (const FITSHeaderKeyword &h1, const FITSHeaderKeyword &h2)
 
bool pcl::operator== (const FITSHeaderKeyword &h1, const FITSHeaderKeyword &h2)
 

Detailed Description

Function Documentation

◆ operator<()

bool pcl::operator< ( const FITSHeaderKeyword h1,
const FITSHeaderKeyword h2 
)
inline

Returns true iff a FITS header keyword h1 is less than other keyword h2.

This function compares the components of both keywords. The precedence order is name, value and comment. Keyword name comparison is case-insensitive as per the FITS standard.

Definition at line 277 of file FITSHeaderKeyword.h.

References pcl::FITSHeaderKeyword::comment, pcl::GenericString< T, R, A >::CompareIC(), pcl::FITSHeaderKeyword::name, and pcl::FITSHeaderKeyword::value.

◆ operator==()

bool pcl::operator== ( const FITSHeaderKeyword h1,
const FITSHeaderKeyword h2 
)
inline

Returns true iff two FITS header keywords, h1 and h2, are equal.

Two FITS keywords are equal if their three components (name, value, comment) are equal. However, keyword name comparison is case-insensitive as per the FITS standard.

Definition at line 261 of file FITSHeaderKeyword.h.

References pcl::FITSHeaderKeyword::comment, pcl::GenericString< T, R, A >::CompareIC(), pcl::FITSHeaderKeyword::name, and pcl::FITSHeaderKeyword::value.