lsst.afw  14.0-25-g0e8fc950e+7
Public Member Functions | List of all members
lsst::afw::cameraGeom::CameraSysPrefix Class Reference

Camera coordinate system prefix. More...

#include <CameraSys.h>

Public Member Functions

 CameraSysPrefix (std::string const &sysName)
 
std::string getSysName () const
 Get coordinate system name. More...
 
bool operator== (CameraSysPrefix const &rhs) const
 
bool operator!= (CameraSysPrefix const &rhs) const
 
size_t hash () const noexcept
 Hash function for this object. More...
 

Detailed Description

Camera coordinate system prefix.

Used for coordinate systems that are detector-based before the detector name is known (e.g. for constants such as PIXELS).

This is Jim Bosch's clever idea for simplifying Detector.convert; CameraSys is always complete and CameraSysPrefix is not.

Definition at line 44 of file CameraSys.h.

Constructor & Destructor Documentation

◆ CameraSysPrefix()

lsst::afw::cameraGeom::CameraSysPrefix::CameraSysPrefix ( std::string const &  sysName)
inlineexplicit
Parameters
sysNamecoordinate system name

Definition at line 46 of file CameraSys.h.

Member Function Documentation

◆ getSysName()

std::string lsst::afw::cameraGeom::CameraSysPrefix::getSysName ( ) const
inline

Get coordinate system name.

Definition at line 53 of file CameraSys.h.

◆ hash()

size_t lsst::afw::cameraGeom::CameraSysPrefix::hash ( ) const
noexcept

Hash function for this object.

Returns
a value that is guaranteed equal for any two equal CameraSysPrefix, and unlikely to be equal for any two unequal CameraSysPrefix.
Note
Workhorse for std::hash<CameraSysPrefix>.

Definition at line 39 of file CameraSys.cc.

◆ operator!=()

bool lsst::afw::cameraGeom::CameraSysPrefix::operator!= ( CameraSysPrefix const &  rhs) const
inline

Definition at line 57 of file CameraSys.h.

◆ operator==()

bool lsst::afw::cameraGeom::CameraSysPrefix::operator== ( CameraSysPrefix const &  rhs) const
inline

Definition at line 55 of file CameraSys.h.


The documentation for this class was generated from the following files: