#ifndef  TYPE_SDAICURVE_OR_RENDER_H
#define  TYPE_SDAICURVE_OR_RENDER_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_render
class SC_SCHEMA_EXPORT SdaiCurve_or_render  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   CURVE_STYLE    --  sdaiINSTANCE
    //   CURVE_STYLE_RENDERING    --  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_render( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_curve_or_render );
    //  part 1
    SdaiCurve_or_render( const SdaiCurve_style_ptr&,
                         const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_curve_or_render );
    SdaiCurve_or_render( const SdaiCurve_style_rendering_ptr&,
                         const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_curve_or_render );
    virtual ~SdaiCurve_or_render();

    //  part 2
    operator SdaiCurve_style_ptr();
    operator SdaiCurve_style_rendering_ptr();

    //  part 3
        SdaiSurface_rendering_properties_ptr_c rendering_properties_() const;
        SdaiSurface_rendering_properties_ptr   rendering_properties_();
        void rendering_properties_( const SdaiSurface_rendering_properties_ptr x );

  const SdaiShading_curve_method_var   rendering_method_() const;
        SdaiShading_curve_method_var   rendering_method_();
        void rendering_method_( const SdaiShading_curve_method_var x );

        SdaiColour_ptr_c curve_colour_() const;
        SdaiColour_ptr   curve_colour_();
        void curve_colour_( const SdaiColour_ptr x );

        SdaiSize_select_ptr_c curve_width_() const;
        SdaiSize_select_ptr   curve_width_();
        void curve_width_( const SdaiSize_select_ptr x );

        SdaiCurve_font_or_scaled_curve_font_select_ptr_c curve_font_() const;
        SdaiCurve_font_or_scaled_curve_font_select_ptr   curve_font_();
        void curve_font_( const SdaiCurve_font_or_scaled_curve_font_select_ptr x );

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


    //  part 4
    SdaiCurve_or_render& operator =( const SdaiCurve_style_ptr& );
    SdaiCurve_or_render& operator =( const SdaiCurve_style_rendering_ptr& );
    // not in SDAI
    SdaiCurve_or_render& ShallowCopy ( const SdaiCurve_or_render& );

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

    //  part 5
    Logical IsCurve_style() const;
    Logical IsCurve_style_rendering() const;

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

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

inline SDAI_Select * create_SdaiCurve_or_render () { return new SdaiCurve_or_render; }
typedef SdaiCurve_or_render * SdaiCurve_or_renderH;
typedef SdaiCurve_or_render_ptr SdaiCurve_or_render_var;


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

  public:
    SdaiCurve_or_render_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_curve_or_render );
    ~SdaiCurve_or_render_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiCurve_or_render( sel_type )); }
};
inline STEPaggregate * create_SdaiCurve_or_render_agg () { return new SdaiCurve_or_render_agg; }
typedef SdaiCurve_or_render_agg_ptr SdaiCurve_or_render_agg_var;

/////  END SELECT TYPE curve_or_render

void init_SdaiCurve_or_render(Registry& reg);

#endif
