#ifndef  TYPE_SDAICURVE_OR_ANNOTATION_CURVE_OCCURRENCE_H
#define  TYPE_SDAICURVE_OR_ANNOTATION_CURVE_OCCURRENCE_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 SdaiCurve_or_annotation_curve_occurrence
class SC_SCHEMA_EXPORT SdaiCurve_or_annotation_curve_occurrence  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   CURVE    --  sdaiINSTANCE
    //   ANNOTATION_CURVE_OCCURRENCE    --  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
    SdaiCurve_or_annotation_curve_occurrence( const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_curve_or_annotation_curve_occurrence );
    //  part 1
    SdaiCurve_or_annotation_curve_occurrence( const SdaiCurve_ptr&,
                                              const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_curve_or_annotation_curve_occurrence );
    SdaiCurve_or_annotation_curve_occurrence( const SdaiAnnotation_curve_occurrence_ptr&,
                                              const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_curve_or_annotation_curve_occurrence );
    virtual ~SdaiCurve_or_annotation_curve_occurrence();

    //  part 2
    operator SdaiCurve_ptr();
    operator SdaiAnnotation_curve_occurrence_ptr();

    //  part 3
        SdaiCurve_or_curve_set_ptr_c styled_item_item_() const;
        SdaiCurve_or_curve_set_ptr   styled_item_item_();
        void styled_item_item_( const SdaiCurve_or_curve_set_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
    SdaiCurve_or_annotation_curve_occurrence& operator =( const SdaiCurve_ptr& );
    SdaiCurve_or_annotation_curve_occurrence& operator =( const SdaiAnnotation_curve_occurrence_ptr& );
    // not in SDAI
    SdaiCurve_or_annotation_curve_occurrence& ShallowCopy ( const SdaiCurve_or_annotation_curve_occurrence& );

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

    //  part 5
    Logical IsCurve() const;
    Logical IsAnnotation_curve_occurrence() const;

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

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

inline SDAI_Select * create_SdaiCurve_or_annotation_curve_occurrence () { return new SdaiCurve_or_annotation_curve_occurrence; }
typedef SdaiCurve_or_annotation_curve_occurrence * SdaiCurve_or_annotation_curve_occurrenceH;
typedef SdaiCurve_or_annotation_curve_occurrence_ptr SdaiCurve_or_annotation_curve_occurrence_var;


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

  public:
    SdaiCurve_or_annotation_curve_occurrence_agg( SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_curve_or_annotation_curve_occurrence );
    ~SdaiCurve_or_annotation_curve_occurrence_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiCurve_or_annotation_curve_occurrence( sel_type )); }
};
inline STEPaggregate * create_SdaiCurve_or_annotation_curve_occurrence_agg () { return new SdaiCurve_or_annotation_curve_occurrence_agg; }
typedef SdaiCurve_or_annotation_curve_occurrence_agg_ptr SdaiCurve_or_annotation_curve_occurrence_agg_var;

/////  END SELECT TYPE curve_or_annotation_curve_occurrence

void init_SdaiCurve_or_annotation_curve_occurrence(Registry& reg);

#endif
