#ifndef  TYPE_SDAISPHERICAL_PAIR_SELECT_H
#define  TYPE_SDAISPHERICAL_PAIR_SELECT_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 SdaiSpherical_pair_select
class SC_SCHEMA_EXPORT SdaiSpherical_pair_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   SPHERICAL_PAIR    --  sdaiINSTANCE
    //   SPHERICAL_PAIR_WITH_PIN    --  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
    SdaiSpherical_pair_select( const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_spherical_pair_select );
    //  part 1
    SdaiSpherical_pair_select( const SdaiSpherical_pair_ptr&,
                               const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_spherical_pair_select );
    SdaiSpherical_pair_select( const SdaiSpherical_pair_with_pin_ptr&,
                               const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_spherical_pair_select );
    virtual ~SdaiSpherical_pair_select();

    //  part 2
    operator SdaiSpherical_pair_ptr();
    operator SdaiSpherical_pair_with_pin_ptr();

    //  part 3
        Boolean   r_z_() const;
        void r_z_( const Boolean x );

        Boolean   r_y_() const;
        void r_y_( const Boolean x );

        Boolean   r_x_() const;
        void r_x_( const Boolean x );

        Boolean   t_z_() const;
        void t_z_( const Boolean x );

        Boolean   t_y_() const;
        void t_y_( const Boolean x );

        Boolean   t_x_() const;
        void t_x_( const Boolean x );

        EntityAggregate_ptr_c link_representation_associations_() const;
        EntityAggregate_ptr   link_representation_associations_();
        void link_representation_associations_( const EntityAggregate_ptr x );

        SdaiRigid_placement_ptr_c item_defined_transformation_transform_item_2_() const;
        SdaiRigid_placement_ptr   item_defined_transformation_transform_item_2_();
        void item_defined_transformation_transform_item_2_( const SdaiRigid_placement_ptr x );

        SdaiRigid_placement_ptr_c item_defined_transformation_transform_item_1_() const;
        SdaiRigid_placement_ptr   item_defined_transformation_transform_item_1_();
        void item_defined_transformation_transform_item_1_( const SdaiRigid_placement_ptr x );

        SdaiKinematic_joint_ptr_c joint_() const;
        SdaiKinematic_joint_ptr   joint_();
        void joint_( const SdaiKinematic_joint_ptr x );

        SdaiRepresentation_item_ptr_c transform_item_2_() const;
        SdaiRepresentation_item_ptr   transform_item_2_();
        void transform_item_2_( const SdaiRepresentation_item_ptr x );

        SdaiRepresentation_item_ptr_c transform_item_1_() const;
        SdaiRepresentation_item_ptr   transform_item_1_();
        void transform_item_1_( const SdaiRepresentation_item_ptr x );

  const SdaiText   description_() const;
        SdaiText   description_();
        void description_( const SdaiText x );

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


    //  part 4
    SdaiSpherical_pair_select& operator =( const SdaiSpherical_pair_ptr& );
    SdaiSpherical_pair_select& operator =( const SdaiSpherical_pair_with_pin_ptr& );
    // not in SDAI
    SdaiSpherical_pair_select& ShallowCopy ( const SdaiSpherical_pair_select& );

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

    //  part 5
    Logical IsSpherical_pair() const;
    Logical IsSpherical_pair_with_pin() const;

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

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

inline SDAI_Select * create_SdaiSpherical_pair_select () { return new SdaiSpherical_pair_select; }
typedef SdaiSpherical_pair_select * SdaiSpherical_pair_selectH;
typedef SdaiSpherical_pair_select_ptr SdaiSpherical_pair_select_var;


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

  public:
    SdaiSpherical_pair_select_agg( SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_spherical_pair_select );
    ~SdaiSpherical_pair_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiSpherical_pair_select( sel_type )); }
};
inline STEPaggregate * create_SdaiSpherical_pair_select_agg () { return new SdaiSpherical_pair_select_agg; }
typedef SdaiSpherical_pair_select_agg_ptr SdaiSpherical_pair_select_agg_var;

/////  END SELECT TYPE spherical_pair_select

void init_SdaiSpherical_pair_select(Registry& reg);

#endif
