#ifndef  TYPE_SDAIB_SPLINE_OR_COMPOSITE_CURVE_SELECT_H
#define  TYPE_SDAIB_SPLINE_OR_COMPOSITE_CURVE_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 SdaiB_spline_or_composite_curve_select
class SC_SCHEMA_EXPORT SdaiB_spline_or_composite_curve_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   B_SPLINE_CURVE    --  sdaiINSTANCE
    //   COMPOSITE_CURVE    --  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
    SdaiB_spline_or_composite_curve_select( const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_b_spline_or_composite_curve_select );
    //  part 1
    SdaiB_spline_or_composite_curve_select( const SdaiB_spline_curve_ptr&,
                                            const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_b_spline_or_composite_curve_select );
    SdaiB_spline_or_composite_curve_select( const SdaiComposite_curve_ptr&,
                                            const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_b_spline_or_composite_curve_select );
    virtual ~SdaiB_spline_or_composite_curve_select();

    //  part 2
    operator SdaiB_spline_curve_ptr();
    operator SdaiComposite_curve_ptr();

    //  part 3
        EntityAggregate_ptr_c segments_() const;
        EntityAggregate_ptr   segments_();
        void segments_( const EntityAggregate_ptr x );

        Logical   self_intersect_() const;
        void self_intersect_( const Logical x );

        Logical   closed_curve_() const;
        void closed_curve_( const Logical x );

  const SdaiB_spline_curve_form_var   curve_form_() const;
        SdaiB_spline_curve_form_var   curve_form_();
        void curve_form_( const SdaiB_spline_curve_form_var x );

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

        SDAI_Integer   degree_() const;
        void degree_( const SDAI_Integer x );

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


    //  part 4
    SdaiB_spline_or_composite_curve_select& operator =( const SdaiB_spline_curve_ptr& );
    SdaiB_spline_or_composite_curve_select& operator =( const SdaiComposite_curve_ptr& );
    // not in SDAI
    SdaiB_spline_or_composite_curve_select& ShallowCopy ( const SdaiB_spline_or_composite_curve_select& );

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

    //  part 5
    Logical IsB_spline_curve() const;
    Logical IsComposite_curve() const;

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

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

inline SDAI_Select * create_SdaiB_spline_or_composite_curve_select () { return new SdaiB_spline_or_composite_curve_select; }
typedef SdaiB_spline_or_composite_curve_select * SdaiB_spline_or_composite_curve_selectH;
typedef SdaiB_spline_or_composite_curve_select_ptr SdaiB_spline_or_composite_curve_select_var;


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

  public:
    SdaiB_spline_or_composite_curve_select_agg( SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_b_spline_or_composite_curve_select );
    ~SdaiB_spline_or_composite_curve_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiB_spline_or_composite_curve_select( sel_type )); }
};
inline STEPaggregate * create_SdaiB_spline_or_composite_curve_select_agg () { return new SdaiB_spline_or_composite_curve_select_agg; }
typedef SdaiB_spline_or_composite_curve_select_agg_ptr SdaiB_spline_or_composite_curve_select_agg_var;

/////  END SELECT TYPE b_spline_or_composite_curve_select

void init_SdaiB_spline_or_composite_curve_select(Registry& reg);

#endif
