#ifndef  TYPE_SDAIDRAUGHTING_MODEL_ITEM_SELECT_H
#define  TYPE_SDAIDRAUGHTING_MODEL_ITEM_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 SdaiDraughting_model_item_select
class SC_SCHEMA_EXPORT SdaiDraughting_model_item_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   MAPPED_ITEM    --  sdaiINSTANCE
    //   STYLED_ITEM    --  sdaiINSTANCE
    //   AXIS2_PLACEMENT    --  sdaiSELECT
    //   CAMERA_MODEL    --  sdaiINSTANCE
    //   DRAUGHTING_CALLOUT    --  sdaiINSTANCE
       SDAI_Application_instance_ptr _app_inst;
       SdaiAxis2_placement _sdaiaxis2_placement;

  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
    SdaiDraughting_model_item_select( const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_draughting_model_item_select );
    //  part 1
    SdaiDraughting_model_item_select( const SdaiMapped_item_ptr&,
                                      const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_draughting_model_item_select );
    SdaiDraughting_model_item_select( const SdaiStyled_item_ptr&,
                                      const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_draughting_model_item_select );
    SdaiDraughting_model_item_select( const SdaiAxis2_placement_ptr&,
                                      const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_draughting_model_item_select );
    SdaiDraughting_model_item_select( const SdaiCamera_model_ptr&,
                                      const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_draughting_model_item_select );
    SdaiDraughting_model_item_select( const SdaiDraughting_callout_ptr&,
                                      const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_draughting_model_item_select );
    virtual ~SdaiDraughting_model_item_select();

    //  part 2
    operator SdaiMapped_item_ptr();
    operator SdaiStyled_item_ptr();
    operator SdaiAxis2_placement_ptr();
    operator SdaiCamera_model_ptr();
    operator SdaiDraughting_callout_ptr();

    //  part 3
        SdaiDraughting_callout_element_agg_ptr_c contents_() const;
        SdaiDraughting_callout_element_agg_ptr   contents_();
        void contents_( const SdaiDraughting_callout_element_agg_ptr x );

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

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

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

        SdaiRepresentation_map_ptr_c mapping_source_() const;
        SdaiRepresentation_map_ptr   mapping_source_();
        void mapping_source_( const SdaiRepresentation_map_ptr x );

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


    //  part 4
    SdaiDraughting_model_item_select& operator =( const SdaiMapped_item_ptr& );
    SdaiDraughting_model_item_select& operator =( const SdaiStyled_item_ptr& );
    SdaiDraughting_model_item_select& operator =( const SdaiAxis2_placement_ptr& );
    SdaiDraughting_model_item_select& operator =( const SdaiCamera_model_ptr& );
    SdaiDraughting_model_item_select& operator =( const SdaiDraughting_callout_ptr& );
    // not in SDAI
    SdaiDraughting_model_item_select& ShallowCopy ( const SdaiDraughting_model_item_select& );

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

    //  part 5
    Logical IsMapped_item() const;
    Logical IsStyled_item() const;
    Logical IsAxis2_placement() const;
    Logical IsCamera_model() const;
    Logical IsDraughting_callout() const;

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

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

inline SDAI_Select * create_SdaiDraughting_model_item_select () { return new SdaiDraughting_model_item_select; }
typedef SdaiDraughting_model_item_select * SdaiDraughting_model_item_selectH;
typedef SdaiDraughting_model_item_select_ptr SdaiDraughting_model_item_select_var;


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

  public:
    SdaiDraughting_model_item_select_agg( SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_draughting_model_item_select );
    ~SdaiDraughting_model_item_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiDraughting_model_item_select( sel_type )); }
};
inline STEPaggregate * create_SdaiDraughting_model_item_select_agg () { return new SdaiDraughting_model_item_select_agg; }
typedef SdaiDraughting_model_item_select_agg_ptr SdaiDraughting_model_item_select_agg_var;

/////  END SELECT TYPE draughting_model_item_select

void init_SdaiDraughting_model_item_select(Registry& reg);

#endif
