#ifndef  TYPE_SDAIPICTURE_REPRESENTATION_ITEM_SELECT_H
#define  TYPE_SDAIPICTURE_REPRESENTATION_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 SdaiPicture_representation_item_select
class SC_SCHEMA_EXPORT SdaiPicture_representation_item_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   STYLED_ITEM    --  sdaiINSTANCE
    //   PLANAR_BOX    --  sdaiINSTANCE
    //   AXIS2_PLACEMENT_2D    --  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
    SdaiPicture_representation_item_select( const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_picture_representation_item_select );
    //  part 1
    SdaiPicture_representation_item_select( const SdaiStyled_item_ptr&,
                                            const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_picture_representation_item_select );
    SdaiPicture_representation_item_select( const SdaiPlanar_box_ptr&,
                                            const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_picture_representation_item_select );
    SdaiPicture_representation_item_select( const SdaiAxis2_placement_2d_ptr&,
                                            const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_picture_representation_item_select );
    virtual ~SdaiPicture_representation_item_select();

    //  part 2
    operator SdaiStyled_item_ptr();
    operator SdaiPlanar_box_ptr();
    operator SdaiAxis2_placement_2d_ptr();

    //  part 3
        SdaiDirection_ptr_c ref_direction_() const;
        SdaiDirection_ptr   ref_direction_();
        void ref_direction_( const SdaiDirection_ptr x );

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

        SdaiAxis2_placement_ptr_c placement_() const;
        SdaiAxis2_placement_ptr   placement_();
        void placement_( const SdaiAxis2_placement_ptr x );

        SdaiLength_measure   size_in_y_() const;
        void size_in_y_( const SdaiLength_measure x );

        SdaiLength_measure   size_in_x_() const;
        void size_in_x_( const SdaiLength_measure x );

        SdaiStyled_item_target_ptr_c item_() const;
        SdaiStyled_item_target_ptr   item_();
        void item_( const SdaiStyled_item_target_ptr x );

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

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


    //  part 4
    SdaiPicture_representation_item_select& operator =( const SdaiStyled_item_ptr& );
    SdaiPicture_representation_item_select& operator =( const SdaiPlanar_box_ptr& );
    SdaiPicture_representation_item_select& operator =( const SdaiAxis2_placement_2d_ptr& );
    // not in SDAI
    SdaiPicture_representation_item_select& ShallowCopy ( const SdaiPicture_representation_item_select& );

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

    //  part 5
    Logical IsStyled_item() const;
    Logical IsPlanar_box() const;
    Logical IsAxis2_placement_2d() const;

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

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

inline SDAI_Select * create_SdaiPicture_representation_item_select () { return new SdaiPicture_representation_item_select; }
typedef SdaiPicture_representation_item_select * SdaiPicture_representation_item_selectH;
typedef SdaiPicture_representation_item_select_ptr SdaiPicture_representation_item_select_var;


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

  public:
    SdaiPicture_representation_item_select_agg( SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_picture_representation_item_select );
    ~SdaiPicture_representation_item_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiPicture_representation_item_select( sel_type )); }
};
inline STEPaggregate * create_SdaiPicture_representation_item_select_agg () { return new SdaiPicture_representation_item_select_agg; }
typedef SdaiPicture_representation_item_select_agg_ptr SdaiPicture_representation_item_select_agg_var;

/////  END SELECT TYPE picture_representation_item_select

void init_SdaiPicture_representation_item_select(Registry& reg);

#endif
