#ifndef  TYPE_SDAIMECHANICAL_DESIGN_AND_DRAUGHTING_RELATIONSHIP_SELECT_H
#define  TYPE_SDAIMECHANICAL_DESIGN_AND_DRAUGHTING_RELATIONSHIP_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 SdaiMechanical_design_and_draughting_relationship_select
class SC_SCHEMA_EXPORT SdaiMechanical_design_and_draughting_relationship_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   DRAUGHTING_MODEL    --  sdaiINSTANCE
    //   MECHANICAL_DESIGN_GEOMETRIC_PRESENTATION_REPRESENTATION    --  sdaiINSTANCE
    //   MECHANICAL_DESIGN_PRESENTATION_REPRESENTATION_WITH_DRAUGHTING    --  sdaiINSTANCE
    //   MECHANICAL_DESIGN_SHADED_PRESENTATION_REPRESENTATION    --  sdaiINSTANCE
    //   SHAPE_REPRESENTATION    --  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
    SdaiMechanical_design_and_draughting_relationship_select( const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_mechanical_design_and_draughting_relationship_select );
    //  part 1
    SdaiMechanical_design_and_draughting_relationship_select( const SdaiDraughting_model_ptr&,
                                                              const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_mechanical_design_and_draughting_relationship_select );
    SdaiMechanical_design_and_draughting_relationship_select( const SdaiMechanical_design_geometric_presentation_representation_ptr&,
                                                              const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_mechanical_design_and_draughting_relationship_select );
    SdaiMechanical_design_and_draughting_relationship_select( const SdaiMechanical_design_presentation_representation_with_draughting_ptr&,
                                                              const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_mechanical_design_and_draughting_relationship_select );
    SdaiMechanical_design_and_draughting_relationship_select( const SdaiMechanical_design_shaded_presentation_representation_ptr&,
                                                              const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_mechanical_design_and_draughting_relationship_select );
    SdaiMechanical_design_and_draughting_relationship_select( const SdaiShape_representation_ptr&,
                                                              const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_mechanical_design_and_draughting_relationship_select );
    virtual ~SdaiMechanical_design_and_draughting_relationship_select();

    //  part 2
    operator SdaiDraughting_model_ptr();
    operator SdaiMechanical_design_geometric_presentation_representation_ptr();
    operator SdaiMechanical_design_presentation_representation_with_draughting_ptr();
    operator SdaiMechanical_design_shaded_presentation_representation_ptr();
    operator SdaiShape_representation_ptr();

    //  part 3
        SdaiDraughting_model_item_select_agg_ptr_c representation_items_() const;
        SdaiDraughting_model_item_select_agg_ptr   representation_items_();
        void representation_items_( const SdaiDraughting_model_item_select_agg_ptr x );

        SdaiRepresentation_context_ptr_c context_of_items_() const;
        SdaiRepresentation_context_ptr   context_of_items_();
        void context_of_items_( const SdaiRepresentation_context_ptr x );

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

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


    //  part 4
    SdaiMechanical_design_and_draughting_relationship_select& operator =( const SdaiDraughting_model_ptr& );
    SdaiMechanical_design_and_draughting_relationship_select& operator =( const SdaiMechanical_design_geometric_presentation_representation_ptr& );
    SdaiMechanical_design_and_draughting_relationship_select& operator =( const SdaiMechanical_design_presentation_representation_with_draughting_ptr& );
    SdaiMechanical_design_and_draughting_relationship_select& operator =( const SdaiMechanical_design_shaded_presentation_representation_ptr& );
    SdaiMechanical_design_and_draughting_relationship_select& operator =( const SdaiShape_representation_ptr& );
    // not in SDAI
    SdaiMechanical_design_and_draughting_relationship_select& ShallowCopy ( const SdaiMechanical_design_and_draughting_relationship_select& );

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

    //  part 5
    Logical IsDraughting_model() const;
    Logical IsMechanical_design_geometric_presentation_representation() const;
    Logical IsMechanical_design_presentation_representation_with_draughting() const;
    Logical IsMechanical_design_shaded_presentation_representation() const;
    Logical IsShape_representation() const;

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

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

inline SDAI_Select * create_SdaiMechanical_design_and_draughting_relationship_select () { return new SdaiMechanical_design_and_draughting_relationship_select; }
typedef SdaiMechanical_design_and_draughting_relationship_select * SdaiMechanical_design_and_draughting_relationship_selectH;
typedef SdaiMechanical_design_and_draughting_relationship_select_ptr SdaiMechanical_design_and_draughting_relationship_select_var;


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

  public:
    SdaiMechanical_design_and_draughting_relationship_select_agg( SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_mechanical_design_and_draughting_relationship_select );
    ~SdaiMechanical_design_and_draughting_relationship_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiMechanical_design_and_draughting_relationship_select( sel_type )); }
};
inline STEPaggregate * create_SdaiMechanical_design_and_draughting_relationship_select_agg () { return new SdaiMechanical_design_and_draughting_relationship_select_agg; }
typedef SdaiMechanical_design_and_draughting_relationship_select_agg_ptr SdaiMechanical_design_and_draughting_relationship_select_agg_var;

/////  END SELECT TYPE mechanical_design_and_draughting_relationship_select

void init_SdaiMechanical_design_and_draughting_relationship_select(Registry& reg);

#endif
