LSSTApplications  19.0.0-10-g920eed2,19.0.0-11-g48a0200+2,19.0.0-18-gfc4e62b+11,19.0.0-2-g3b2f90d+2,19.0.0-2-gd671419+5,19.0.0-20-g5a5a17ab+9,19.0.0-21-g2644856+11,19.0.0-22-gc5dc5b1+6,19.0.0-23-gdc29a50+3,19.0.0-24-g923e380+11,19.0.0-25-g6c8df7140,19.0.0-28-g9b887e2,19.0.0-3-g2b32d65+5,19.0.0-3-g8227491+10,19.0.0-3-g9c54d0d+10,19.0.0-3-gca68e65+6,19.0.0-3-gcfc5f51+5,19.0.0-3-ge110943+9,19.0.0-3-ge74d124,19.0.0-3-gfe04aa6+11,19.0.0-4-g06f5963+5,19.0.0-4-g3d16501+11,19.0.0-4-g4a9c019+5,19.0.0-4-g5a8b323,19.0.0-4-g66397f0+1,19.0.0-4-g8278b9b+1,19.0.0-4-g8557e14,19.0.0-4-g8964aba+11,19.0.0-4-ge404a01+10,19.0.0-5-g40f3a5a,19.0.0-5-g4db63b3,19.0.0-5-gfb03ce7+11,19.0.0-6-gbaebbfb+10,19.0.0-60-gafafd468+11,19.0.0-67-g3ab1e6e,19.0.0-7-g039c0b5+9,19.0.0-7-gbea9075+4,19.0.0-7-gc567de5+11,19.0.0-8-g3a3ce09+6,19.0.0-9-g463f923+10,w.2020.21
LSSTDataManagementBasePackage
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
lsst::meas::base::FlagDefinition Struct Reference

Simple class used to define and document flags The name and doc constitute the identity of the FlagDefinition The number is used for indexing, but is assigned arbitrarily. More...

#include <FlagHandler.h>

Public Member Functions

 FlagDefinition ()
 
 FlagDefinition (std::string const &name, std::string const &doc, std::size_t number=number_undefined)
 
bool operator== (FlagDefinition const &other) const
 
bool operator!= (FlagDefinition const &other) const
 

Public Attributes

std::string name
 
std::string doc
 
std::size_t number
 

Static Public Attributes

static constexpr std::size_t number_undefined = SIZE_MAX
 

Detailed Description

Simple class used to define and document flags The name and doc constitute the identity of the FlagDefinition The number is used for indexing, but is assigned arbitrarily.

Definition at line 40 of file FlagHandler.h.

Constructor & Destructor Documentation

◆ FlagDefinition() [1/2]

lsst::meas::base::FlagDefinition::FlagDefinition ( )
inline

Definition at line 43 of file FlagHandler.h.

43 : name(), doc(), number() {}

◆ FlagDefinition() [2/2]

lsst::meas::base::FlagDefinition::FlagDefinition ( std::string const &  name,
std::string const &  doc,
std::size_t  number = number_undefined 
)
inline

Definition at line 45 of file FlagHandler.h.

46  : name(name), doc(doc), number(number) {}

Member Function Documentation

◆ operator!=()

bool lsst::meas::base::FlagDefinition::operator!= ( FlagDefinition const &  other) const
inline

Definition at line 50 of file FlagHandler.h.

50 { return (other.name != name); }

◆ operator==()

bool lsst::meas::base::FlagDefinition::operator== ( FlagDefinition const &  other) const
inline

Definition at line 49 of file FlagHandler.h.

49 { return (other.name == name); }

Member Data Documentation

◆ doc

std::string lsst::meas::base::FlagDefinition::doc

Definition at line 53 of file FlagHandler.h.

◆ name

std::string lsst::meas::base::FlagDefinition::name

Definition at line 52 of file FlagHandler.h.

◆ number

std::size_t lsst::meas::base::FlagDefinition::number

Definition at line 54 of file FlagHandler.h.

◆ number_undefined

constexpr std::size_t lsst::meas::base::FlagDefinition::number_undefined = SIZE_MAX
staticconstexpr

Definition at line 41 of file FlagHandler.h.


The documentation for this struct was generated from the following files:
lsst::meas::base::FlagDefinition::number
std::size_t number
Definition: FlagHandler.h:54
lsst::meas::base::FlagDefinition::doc
std::string doc
Definition: FlagHandler.h:53
lsst::meas::base::FlagDefinition::name
std::string name
Definition: FlagHandler.h:52
other
ItemVariant const * other
Definition: Schema.cc:56