CMS 3D CMS Logo

Public Member Functions

global_angular_Check Class Reference

#include <global_angular.h>

Inheritance diagram for global_angular_Check:
AlgoCheck

List of all members.

Public Member Functions

 global_angular_Check ()
 ~global_angular_Check ()

Detailed Description

Definition at line 78 of file global_angular.h.


Constructor & Destructor Documentation

global_angular_Check::global_angular_Check ( )

Definition at line 223 of file global_angular.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_["startAngle"] = ConstraintE( 1,      // minOccurs
                                        1,      // maxOccurs
                                        0.,  // min
                                        360.0*deg,  // max 
                                        false,    // use, true=required, false=optional
                                        true,    // use, true=use default, false=no default
                                        0.0
                                       );

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

  constraintsE_["n"] = ConstraintE( 1,      // minOccurs
                                        1,      // maxOccurs
                                        1,  // min
                                        +MAX_DOUBLE,  // max 
                                        false,    // use, true=required, false=optional
                                        true,    // use, true=use default, false=no default
                                        1
                                       );
  constraintsE_["startCopyNo"] = 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
                                        1
                                       );

  constraintsE_["incrCopyNo"] = 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
                                        1
                                       );
                                       

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

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

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

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

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

}
global_angular_Check::~global_angular_Check ( ) [inline]

Definition at line 83 of file global_angular.h.

{ };