Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
geomtools::stackable Class Reference

Static methods and constants to handle stackable data/information. More...

#include <bayeux/geomtools/i_stackable.h>

Public Types

enum  stackability_mode {
  STACKABILITY_NONE = 0, STACKABILITY_XMIN = datatools::bit_mask::bit00, STACKABILITY_XMAX = datatools::bit_mask::bit01, STACKABILITY_X = STACKABILITY_XMIN | STACKABILITY_XMAX,
  STACKABILITY_YMIN = datatools::bit_mask::bit02, STACKABILITY_YMAX = datatools::bit_mask::bit03, STACKABILITY_Y = STACKABILITY_YMIN | STACKABILITY_YMAX, STACKABILITY_ZMIN = datatools::bit_mask::bit04,
  STACKABILITY_ZMAX = datatools::bit_mask::bit05, STACKABILITY_Z = STACKABILITY_ZMIN | STACKABILITY_ZMAX, STACKABILITY_XY = STACKABILITY_X | STACKABILITY_Y, STACKABILITY_XZ = STACKABILITY_X | STACKABILITY_Z,
  STACKABILITY_YZ = STACKABILITY_Y | STACKABILITY_Z, STACKABILITY_VERY_WEAK = datatools::bit_mask::bit06, STACKABILITY_WEAK = datatools::bit_mask::bit07, STACKABILITY_STRONG = STACKABILITY_X | STACKABILITY_Y | STACKABILITY_Z
}
 

Static Public Member Functions

static std::string make_key (const std::string &flag_)
 
static void extract (const datatools::properties &source_, datatools::properties &target_)
 
static bool has_xmin (const datatools::properties &source_)
 
static bool has_xmax (const datatools::properties &source_)
 
static bool has_ymin (const datatools::properties &source_)
 
static bool has_ymax (const datatools::properties &source_)
 
static bool has_zmin (const datatools::properties &source_)
 
static bool has_zmax (const datatools::properties &source_)
 
static double get_xmin (const datatools::properties &source_, double length_unit_=-1.0)
 
static double get_xmax (const datatools::properties &source_, double length_unit_=-1.0)
 
static double get_ymin (const datatools::properties &source_, double length_unit_=-1.0)
 
static double get_ymax (const datatools::properties &source_, double length_unit_=-1.0)
 
static double get_zmin (const datatools::properties &source_, double length_unit_=-1.0)
 
static double get_zmax (const datatools::properties &source_, double length_unit_=-1.0)
 
static void set_xmin (datatools::properties &target_, double xmin_)
 
static void set_xmax (datatools::properties &target_, double xmax_)
 
static void set_ymin (datatools::properties &target_, double ymin_)
 
static void set_ymax (datatools::properties &target_, double ymax_)
 
static void set_zmin (datatools::properties &target_, double zmin_)
 
static void set_zmax (datatools::properties &target_, double zmax_)
 
static void unset_xmin (datatools::properties &target_)
 
static void unset_xmax (datatools::properties &target_)
 
static void unset_ymin (datatools::properties &target_)
 
static void unset_ymax (datatools::properties &target_)
 
static void unset_zmin (datatools::properties &target__)
 
static void unset_zmax (datatools::properties &target_)
 
static void unset (datatools::properties &target_)
 
static void set (datatools::properties &target_, const i_stackable &sd_)
 

Static Public Attributes

static const std::string STACKABLE_PREFIX
 
static const std::string STACKABLE_LENGTH_UNIT_PROPERTY
 
static const std::string STACKABLE_XMIN_PROPERTY
 
static const std::string STACKABLE_XMAX_PROPERTY
 
static const std::string STACKABLE_YMIN_PROPERTY
 
static const std::string STACKABLE_YMAX_PROPERTY
 
static const std::string STACKABLE_ZMIN_PROPERTY
 
static const std::string STACKABLE_ZMAX_PROPERTY
 
static const std::string STACKABLE_PLAY_PROPERTY
 
static const std::string STACKABLE_LIMITS_PROPERTY
 

Detailed Description

Static methods and constants to handle stackable data/information.

Member Enumeration Documentation

◆ stackability_mode

Enumerator
STACKABILITY_NONE 
STACKABILITY_XMIN 
STACKABILITY_XMAX 
STACKABILITY_X 
STACKABILITY_YMIN 
STACKABILITY_YMAX 
STACKABILITY_Y 
STACKABILITY_ZMIN 
STACKABILITY_ZMAX 
STACKABILITY_Z 
STACKABILITY_XY 
STACKABILITY_XZ 
STACKABILITY_YZ 
STACKABILITY_VERY_WEAK 
STACKABILITY_WEAK 
STACKABILITY_STRONG 

Member Function Documentation

◆ extract()

static void geomtools::stackable::extract ( const datatools::properties source_,
datatools::properties target_ 
)
static

◆ get_xmax()

static double geomtools::stackable::get_xmax ( const datatools::properties source_,
double  length_unit_ = -1.0 
)
static

◆ get_xmin()

static double geomtools::stackable::get_xmin ( const datatools::properties source_,
double  length_unit_ = -1.0 
)
static

◆ get_ymax()

static double geomtools::stackable::get_ymax ( const datatools::properties source_,
double  length_unit_ = -1.0 
)
static

◆ get_ymin()

static double geomtools::stackable::get_ymin ( const datatools::properties source_,
double  length_unit_ = -1.0 
)
static

◆ get_zmax()

static double geomtools::stackable::get_zmax ( const datatools::properties source_,
double  length_unit_ = -1.0 
)
static

◆ get_zmin()

static double geomtools::stackable::get_zmin ( const datatools::properties source_,
double  length_unit_ = -1.0 
)
static

◆ has_xmax()

static bool geomtools::stackable::has_xmax ( const datatools::properties source_)
static

◆ has_xmin()

static bool geomtools::stackable::has_xmin ( const datatools::properties source_)
static

◆ has_ymax()

static bool geomtools::stackable::has_ymax ( const datatools::properties source_)
static

◆ has_ymin()

static bool geomtools::stackable::has_ymin ( const datatools::properties source_)
static

◆ has_zmax()

static bool geomtools::stackable::has_zmax ( const datatools::properties source_)
static

◆ has_zmin()

static bool geomtools::stackable::has_zmin ( const datatools::properties source_)
static

◆ make_key()

static std::string geomtools::stackable::make_key ( const std::string &  flag_)
static

◆ set()

static void geomtools::stackable::set ( datatools::properties target_,
const i_stackable sd_ 
)
static

◆ set_xmax()

static void geomtools::stackable::set_xmax ( datatools::properties target_,
double  xmax_ 
)
static

◆ set_xmin()

static void geomtools::stackable::set_xmin ( datatools::properties target_,
double  xmin_ 
)
static

◆ set_ymax()

static void geomtools::stackable::set_ymax ( datatools::properties target_,
double  ymax_ 
)
static

◆ set_ymin()

static void geomtools::stackable::set_ymin ( datatools::properties target_,
double  ymin_ 
)
static

◆ set_zmax()

static void geomtools::stackable::set_zmax ( datatools::properties target_,
double  zmax_ 
)
static

◆ set_zmin()

static void geomtools::stackable::set_zmin ( datatools::properties target_,
double  zmin_ 
)
static

◆ unset()

static void geomtools::stackable::unset ( datatools::properties target_)
static

◆ unset_xmax()

static void geomtools::stackable::unset_xmax ( datatools::properties target_)
static

◆ unset_xmin()

static void geomtools::stackable::unset_xmin ( datatools::properties target_)
static

◆ unset_ymax()

static void geomtools::stackable::unset_ymax ( datatools::properties target_)
static

◆ unset_ymin()

static void geomtools::stackable::unset_ymin ( datatools::properties target_)
static

◆ unset_zmax()

static void geomtools::stackable::unset_zmax ( datatools::properties target_)
static

◆ unset_zmin()

static void geomtools::stackable::unset_zmin ( datatools::properties target__)
static

Member Data Documentation

◆ STACKABLE_LENGTH_UNIT_PROPERTY

const std::string geomtools::stackable::STACKABLE_LENGTH_UNIT_PROPERTY
static

◆ STACKABLE_LIMITS_PROPERTY

const std::string geomtools::stackable::STACKABLE_LIMITS_PROPERTY
static

◆ STACKABLE_PLAY_PROPERTY

const std::string geomtools::stackable::STACKABLE_PLAY_PROPERTY
static

◆ STACKABLE_PREFIX

const std::string geomtools::stackable::STACKABLE_PREFIX
static

◆ STACKABLE_XMAX_PROPERTY

const std::string geomtools::stackable::STACKABLE_XMAX_PROPERTY
static

◆ STACKABLE_XMIN_PROPERTY

const std::string geomtools::stackable::STACKABLE_XMIN_PROPERTY
static

◆ STACKABLE_YMAX_PROPERTY

const std::string geomtools::stackable::STACKABLE_YMAX_PROPERTY
static

◆ STACKABLE_YMIN_PROPERTY

const std::string geomtools::stackable::STACKABLE_YMIN_PROPERTY
static

◆ STACKABLE_ZMAX_PROPERTY

const std::string geomtools::stackable::STACKABLE_ZMAX_PROPERTY
static

◆ STACKABLE_ZMIN_PROPERTY

const std::string geomtools::stackable::STACKABLE_ZMIN_PROPERTY
static

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