#include <DetectorDescription/Algorithm/src/global_simpleAngular.h>
Public Member Functions | |
global_simpleAngular_Check () | |
~global_simpleAngular_Check () |
Definition at line 134 of file global_simpleAngular.h.
global_simpleAngular_Check::global_simpleAngular_Check | ( | ) |
Definition at line 491 of file global_simpleAngular.cc.
References AlgoCheck::constraintsE_, AlgoCheck::constraintsS_, and MAX_DOUBLE.
00492 { 00493 // for the time being only expression-valued parameters can be automatically checked 00494 // against their specified constraints 00495 00496 // schema default values will be shown if necessary in the following XML comments 00497 // on the second line. The fist shows the values as given in the instance document 00498 00499 // expressions have to be converted into doubles. No variables [bla] shall be allowed 00500 // inside the expressions; SystemOfUnits-symbols are the only supported ones. 00501 00502 00503 constraintsE_["radius"] = ConstraintE( 1, // minOccurs 00504 1, // maxOccurs 00505 -MAX_DOUBLE, // min 00506 +MAX_DOUBLE, // max 00507 false, // use, true=required, false=optional 00508 true, // use, true=use default, false=no default 00509 0.0 00510 ); 00511 00512 constraintsE_["offset"] = ConstraintE( 1, // minOccurs 00513 1, // maxOccurs 00514 0.0*deg, // min 00515 360.0*deg, // max 00516 false, // use, true=required, false=optional 00517 true, // use, true=use default, false=no default 00518 0.0 00519 ); 00520 00521 constraintsE_["delta"] = ConstraintE( 1, // minOccurs 00522 1, // maxOccurs 00523 0.0*deg, // min 00524 360.0*deg, // max 00525 false, // use, true=required, false=optional 00526 false, // use, true=use default, false=no default 00527 0. 00528 ); 00529 00530 constraintsE_["number"] = ConstraintE( 1, // minOccurs 00531 1, // maxOccurs 00532 -MAX_DOUBLE, // min 00533 +MAX_DOUBLE, // max 00534 false, // use, true=required, false=optional 00535 false, // use, true=use default, false=no default 00536 0. 00537 ); 00538 00539 constraintsE_["radius"] = ConstraintE( 1, // minOccurs 00540 1, // maxOccurs 00541 -MAX_DOUBLE, // min 00542 +MAX_DOUBLE, // max 00543 true, // use, true=required, false=optional 00544 true, // use, true=use default, false=no default 00545 0.0 00546 ); 00547 00548 constraintsS_["rotate"] = ConstraintS( 1, // minOccurs 00549 1, // maxOccurs 00550 00551 00552 false, // use, true=required, false=optional 00553 true, // use, true=use default, false=no default 00554 "1" 00555 ); 00556 00557 constraintsS_["orientation"] = ConstraintS( 1, // minOccurs 00558 1, // maxOccurs 00559 00560 00561 false, // use, true=required, false=optional 00562 false, // use, true=use default, false=no default 00563 "" 00564 ); 00565 00566 }
global_simpleAngular_Check::~global_simpleAngular_Check | ( | ) | [inline] |