CMS 3D CMS Logo

Public Member Functions

global_simpleAngular_Check Class Reference

#include <global_simpleAngular.h>

Inheritance diagram for global_simpleAngular_Check:
AlgoCheck

List of all members.

Public Member Functions

 global_simpleAngular_Check ()
 ~global_simpleAngular_Check ()

Detailed Description

Definition at line 134 of file global_simpleAngular.h.


Constructor & Destructor Documentation

global_simpleAngular_Check::global_simpleAngular_Check ( )

Definition at line 488 of file global_simpleAngular.cc.

References AlgoCheck::constraintsE_, AlgoCheck::constraintsS_, and MAX_DOUBLE.

{
  // for the time being only expression-valued parameters can be automatically checked
  // against their specified constraints
  
  // schema default values will be shown if necessary in the following XML comments 
  // on the second line. The fist shows the values as given in the instance document

  // expressions have to be converted into doubles. No variables [bla] shall be allowed
  // inside the expressions; SystemOfUnits-symbols are the only supported ones.
  

  constraintsE_["radius"] = ConstraintE( 1,      // minOccurs
                                        1,      // maxOccurs
                                        -MAX_DOUBLE,  // min
                                        +MAX_DOUBLE,  // max 
                                        false,    // use, true=required, false=optional
                                        true,    // use, true=use default, false=no default
                                        0.0
                                       );

  constraintsE_["offset"] = ConstraintE( 1,      // minOccurs
                                        1,      // maxOccurs
                                        0.0*deg,  // min
                                        360.0*deg,  // max 
                                        false,    // use, true=required, false=optional
                                        true,    // use, true=use default, false=no default
                                        0.0
                                       );

  constraintsE_["delta"] = ConstraintE( 1,      // minOccurs
                                        1,      // maxOccurs
                                        0.0*deg,  // min
                                        360.0*deg,  // max 
                                        false,    // use, true=required, false=optional
                                        false,    // use, true=use default, false=no default
                                        0.
                                       );

  constraintsE_["number"] = ConstraintE( 1,      // minOccurs
                                        1,      // maxOccurs
                                        -MAX_DOUBLE,  // min
                                        +MAX_DOUBLE,  // max 
                                        false,    // use, true=required, false=optional
                                        false,    // use, true=use default, false=no default
                                        0.
                                       );

  constraintsE_["radius"] = ConstraintE( 1,      // minOccurs
                                        1,      // maxOccurs
                                        -MAX_DOUBLE,  // min
                                        +MAX_DOUBLE,  // max 
                                        true,    // use, true=required, false=optional
                                        true,    // use, true=use default, false=no default
                                        0.0
                                       );

  constraintsS_["rotate"] = ConstraintS( 1,      // minOccurs
                                        1,      // maxOccurs
                                        
                                         
                                        false,   // use, true=required, false=optional
                                        true,    // use, true=use default, false=no default
                                        "1"
                                       );

  constraintsS_["orientation"] = ConstraintS( 1,      // minOccurs
                                        1,      // maxOccurs
                                        
                                         
                                        false,    // use, true=required, false=optional
                                        false,    // use, true=use default, false=no default
                                        ""
                                       );

}
global_simpleAngular_Check::~global_simpleAngular_Check ( ) [inline]

Definition at line 139 of file global_simpleAngular.h.

{ };