#ifndef  TYPE_SDAIRIGID_PLACEMENT_H
#define  TYPE_SDAIRIGID_PLACEMENT_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 SdaiRigid_placement
class SC_SCHEMA_EXPORT SdaiRigid_placement  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   AXIS2_PLACEMENT_3D    --  sdaiINSTANCE
    //   SU_PARAMETERS    --  sdaiINSTANCE
       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
    SdaiRigid_placement( const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_rigid_placement );
    //  part 1
    SdaiRigid_placement( const SdaiAxis2_placement_3d_ptr&,
                         const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_rigid_placement );
    SdaiRigid_placement( const SdaiSu_parameters_ptr&,
                         const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_rigid_placement );
    virtual ~SdaiRigid_placement();

    //  part 2
    operator SdaiAxis2_placement_3d_ptr();
    operator SdaiSu_parameters_ptr();

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

        SdaiLength_measure   c_() const;
        void c_( const SdaiLength_measure x );

        SdaiPlane_angle_measure   beta_() const;
        void beta_( const SdaiPlane_angle_measure x );

        SdaiLength_measure   b_() const;
        void b_( const SdaiLength_measure x );

        SdaiPlane_angle_measure   alpha_() const;
        void alpha_( const SdaiPlane_angle_measure x );

        SdaiLength_measure   a_() const;
        void a_( const SdaiLength_measure x );

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

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

        SdaiCartesian_point_ptr_c location_() const;
        SdaiCartesian_point_ptr   location_();
        void location_( const SdaiCartesian_point_ptr x );

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


    //  part 4
    SdaiRigid_placement& operator =( const SdaiAxis2_placement_3d_ptr& );
    SdaiRigid_placement& operator =( const SdaiSu_parameters_ptr& );
    // not in SDAI
    SdaiRigid_placement& ShallowCopy ( const SdaiRigid_placement& );

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

    //  part 5
    Logical IsAxis2_placement_3d() const;
    Logical IsSu_parameters() const;

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

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

inline SDAI_Select * create_SdaiRigid_placement () { return new SdaiRigid_placement; }
typedef SdaiRigid_placement * SdaiRigid_placementH;
typedef SdaiRigid_placement_ptr SdaiRigid_placement_var;


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

  public:
    SdaiRigid_placement_agg( SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_rigid_placement );
    ~SdaiRigid_placement_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiRigid_placement( sel_type )); }
};
inline STEPaggregate * create_SdaiRigid_placement_agg () { return new SdaiRigid_placement_agg; }
typedef SdaiRigid_placement_agg_ptr SdaiRigid_placement_agg_var;

/////  END SELECT TYPE rigid_placement

void init_SdaiRigid_placement(Registry& reg);

#endif
