#ifndef  TYPE_SDAIDRAUGHTING_SUBFIGURE_REPRESENTATION_ITEM_H
#define  TYPE_SDAIDRAUGHTING_SUBFIGURE_REPRESENTATION_ITEM_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_subfigure_representation_item
class SC_SCHEMA_EXPORT SdaiDraughting_subfigure_representation_item  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   ANNOTATION_OCCURRENCE    --  sdaiINSTANCE
    //   DRAUGHTING_CALLOUT    --  sdaiINSTANCE
    //   AXIS2_PLACEMENT    --  sdaiSELECT
       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_subfigure_representation_item( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_draughting_subfigure_representation_item );
    //  part 1
    SdaiDraughting_subfigure_representation_item( const SdaiAnnotation_occurrence_ptr&,
                                                  const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_draughting_subfigure_representation_item );
    SdaiDraughting_subfigure_representation_item( const SdaiDraughting_callout_ptr&,
                                                  const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_draughting_subfigure_representation_item );
    SdaiDraughting_subfigure_representation_item( const SdaiAxis2_placement_ptr&,
                                                  const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_draughting_subfigure_representation_item );
    virtual ~SdaiDraughting_subfigure_representation_item();

    //  part 2
    operator SdaiAnnotation_occurrence_ptr();
    operator SdaiDraughting_callout_ptr();
    operator SdaiAxis2_placement_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 );

        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
    SdaiDraughting_subfigure_representation_item& operator =( const SdaiAnnotation_occurrence_ptr& );
    SdaiDraughting_subfigure_representation_item& operator =( const SdaiDraughting_callout_ptr& );
    SdaiDraughting_subfigure_representation_item& operator =( const SdaiAxis2_placement_ptr& );
    // not in SDAI
    SdaiDraughting_subfigure_representation_item& ShallowCopy ( const SdaiDraughting_subfigure_representation_item& );

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

    //  part 5
    Logical IsAnnotation_occurrence() const;
    Logical IsDraughting_callout() const;
    Logical IsAxis2_placement() const;

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

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

inline SDAI_Select * create_SdaiDraughting_subfigure_representation_item () { return new SdaiDraughting_subfigure_representation_item; }
typedef SdaiDraughting_subfigure_representation_item * SdaiDraughting_subfigure_representation_itemH;
typedef SdaiDraughting_subfigure_representation_item_ptr SdaiDraughting_subfigure_representation_item_var;


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

  public:
    SdaiDraughting_subfigure_representation_item_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_draughting_subfigure_representation_item );
    ~SdaiDraughting_subfigure_representation_item_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiDraughting_subfigure_representation_item( sel_type )); }
};
inline STEPaggregate * create_SdaiDraughting_subfigure_representation_item_agg () { return new SdaiDraughting_subfigure_representation_item_agg; }
typedef SdaiDraughting_subfigure_representation_item_agg_ptr SdaiDraughting_subfigure_representation_item_agg_var;

/////  END SELECT TYPE draughting_subfigure_representation_item

void init_SdaiDraughting_subfigure_representation_item(Registry& reg);

#endif
