#ifndef  TYPE_SDAISPATIAL_ROTATION_H
#define  TYPE_SDAISPATIAL_ROTATION_H

// This file was generated by exp2cxx,
// 0.8.1.
// You probably don't want to edit it since your modifications
// will be lost if exp2cxx is used to regenerate it.


//////////  SELECT TYPE SdaiSpatial_rotation
class SC_SCHEMA_EXPORT SdaiSpatial_rotation  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   YPR_ROTATION    --  ARRAY_TYPE
    //   ROTATION_ABOUT_DIRECTION    --  sdaiINSTANCE
       RealAggregate_ptr _realaggregate;
       SDAI_Application_instance_ptr _app_inst;

  public:
    virtual const TypeDescriptor * AssignEntity (SDAI_Application_instance * se);
    virtual SDAI_Select * NewSelect ();

    virtual BASE_TYPE ValueType() const;


// STEP Part 21
    virtual void STEPwrite_content (ostream& out =std::cout,
                    const char *currSch =0) const;
    virtual void STEPwrite_verbose (ostream& out =std::cout,
                    const char *currSch =0) const;
    virtual Severity STEPread_content (istream& in =cin,
        InstMgrBase * instances =0, const char *utype =0,
        int addFileId =0, const char *currSch =0);
    virtual Severity StrToVal_content (const char *,
        InstMgrBase * instances =0);

// STEP Part 22:  SDAI

// constructors
    SdaiSpatial_rotation( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_spatial_rotation );
    //  part 1
    SdaiSpatial_rotation( const SdaiYpr_rotation_ptr&,
                          const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_spatial_rotation );
    SdaiSpatial_rotation( const SdaiRotation_about_direction_ptr&,
                          const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_spatial_rotation );
    virtual ~SdaiSpatial_rotation();

    //  part 2
    operator SdaiYpr_rotation_ptr();
    operator SdaiRotation_about_direction_ptr();

    //  part 3
        SdaiPlane_angle_measure   rotation_angle_() const;
        void rotation_angle_( const SdaiPlane_angle_measure x );

        SdaiDirection_ptr_c direction_of_axis_() const;
        SdaiDirection_ptr   direction_of_axis_();
        void direction_of_axis_( const SdaiDirection_ptr x );

  const SdaiLabel   name_() const;
        SdaiLabel   name_();
        void name_( const SdaiLabel x );


    //  part 4
    SdaiSpatial_rotation& operator =( const SdaiYpr_rotation_ptr& );
    SdaiSpatial_rotation& operator =( const SdaiRotation_about_direction_ptr& );
    // not in SDAI
    SdaiSpatial_rotation& ShallowCopy ( const SdaiSpatial_rotation& );

#ifdef COMPILER_DEFINES_OPERATOR_EQ
#else
    SdaiSpatial_rotation& operator =( SdaiSpatial_rotation * const & );
    SDAI_Select& operator =( const SDAI_Select& );
#endif

    //  part 5
    Logical IsYpr_rotation() const;
    Logical IsRotation_about_direction() const;

    //  part 6 ... UnderlyingTypeName () implemented in SDAI_Select class ...

    //  part 7 ... NONE    only for complex selects...
};

inline SDAI_Select * create_SdaiSpatial_rotation () { return new SdaiSpatial_rotation; }
typedef SdaiSpatial_rotation * SdaiSpatial_rotationH;
typedef SdaiSpatial_rotation_ptr SdaiSpatial_rotation_var;


class SdaiSpatial_rotation_agg : public SelectAggregate {
  protected:
    SelectTypeDescriptor *sel_type;

  public:
    SdaiSpatial_rotation_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_spatial_rotation );
    ~SdaiSpatial_rotation_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiSpatial_rotation( sel_type )); }
};
inline STEPaggregate * create_SdaiSpatial_rotation_agg () { return new SdaiSpatial_rotation_agg; }
typedef SdaiSpatial_rotation_agg_ptr SdaiSpatial_rotation_agg_var;

/////  END SELECT TYPE spatial_rotation

void init_SdaiSpatial_rotation(Registry& reg);

#endif
