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

Camera coordinate system; used as a key in in TransformMap. More...

#include <CameraSys.h>

Public Member Functions

 CameraSys (std::string const &sysName, std::string const &detectorName="")
 Construct a CameraSys from a sysName and a detectorName. More...
 
 CameraSys (CameraSysPrefix const &sysPrefix, std::string const &detectorName="")
 Construct a CameraSys from a CameraSysPrefix and a detectorName. More...
 
 CameraSys ()
 default constructor so SWIG can wrap a vector of pairs containing these More...
 
std::string getSysName () const
 Get coordinate system name. More...
 
std::string getDetectorName () const
 Get detector name, or "" if not a detector-specific coordinate system. More...
 
bool hasDetectorName () const
 Does this have a non-blank detector name? More...
 
bool operator== (CameraSys const &rhs) const
 
bool operator!= (CameraSys const &rhs) const
 
bool operator< (CameraSys const &rhs) const
 
size_t hash () const noexcept
 Hash function for this object. More...
 

Detailed Description

Camera coordinate system; used as a key in in TransformMap.

Definition at line 77 of file CameraSys.h.

Constructor & Destructor Documentation

◆ CameraSys() [1/3]

lsst::afw::cameraGeom::CameraSys::CameraSys ( std::string const &  sysName,
std::string const &  detectorName = "" 
)
inlineexplicit

Construct a CameraSys from a sysName and a detectorName.

Parameters
sysNamecoordinate system name
detectorNamedetector name

Definition at line 82 of file CameraSys.h.

◆ CameraSys() [2/3]

lsst::afw::cameraGeom::CameraSys::CameraSys ( CameraSysPrefix const &  sysPrefix,
std::string const &  detectorName = "" 
)
inlineexplicit

Construct a CameraSys from a CameraSysPrefix and a detectorName.

Parameters
sysPrefixcoordinate system prefix
detectorNamedetector name

Definition at line 90 of file CameraSys.h.

◆ CameraSys() [3/3]

lsst::afw::cameraGeom::CameraSys::CameraSys ( )
inline

default constructor so SWIG can wrap a vector of pairs containing these

Definition at line 96 of file CameraSys.h.

Member Function Documentation

◆ getDetectorName()

std::string lsst::afw::cameraGeom::CameraSys::getDetectorName ( ) const
inline

Get detector name, or "" if not a detector-specific coordinate system.

Definition at line 106 of file CameraSys.h.

◆ getSysName()

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

Get coordinate system name.

Definition at line 101 of file CameraSys.h.

◆ hasDetectorName()

bool lsst::afw::cameraGeom::CameraSys::hasDetectorName ( ) const
inline

Does this have a non-blank detector name?

Definition at line 111 of file CameraSys.h.

◆ hash()

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

Hash function for this object.

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

Definition at line 46 of file CameraSys.cc.

◆ operator!=()

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

Definition at line 117 of file CameraSys.h.

◆ operator<()

bool lsst::afw::cameraGeom::CameraSys::operator< ( CameraSys const &  rhs) const
inline

Definition at line 120 of file CameraSys.h.

◆ operator==()

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

Definition at line 113 of file CameraSys.h.


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