#ifndef  TYPE_SDAIB_SPLINE_OR_RECTANGULAR_COMPOSITE_SURFACE_SELECT_H
#define  TYPE_SDAIB_SPLINE_OR_RECTANGULAR_COMPOSITE_SURFACE_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_rectangular_composite_surface_select
class SC_SCHEMA_EXPORT SdaiB_spline_or_rectangular_composite_surface_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   B_SPLINE_SURFACE    --  sdaiINSTANCE
    //   RECTANGULAR_COMPOSITE_SURFACE    --  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_rectangular_composite_surface_select( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_b_spline_or_rectangular_composite_surface_select );
    //  part 1
    SdaiB_spline_or_rectangular_composite_surface_select( const SdaiB_spline_surface_ptr&,
                                                          const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_b_spline_or_rectangular_composite_surface_select );
    SdaiB_spline_or_rectangular_composite_surface_select( const SdaiRectangular_composite_surface_ptr&,
                                                          const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_b_spline_or_rectangular_composite_surface_select );
    virtual ~SdaiB_spline_or_rectangular_composite_surface_select();

    //  part 2
    operator SdaiB_spline_surface_ptr();
    operator SdaiRectangular_composite_surface_ptr();

    //  part 3
        GenericAggregate_ptr_c segments_() const;
        GenericAggregate_ptr   segments_();
        void segments_( const GenericAggregate_ptr x );

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

        Logical   v_closed_() const;
        void v_closed_( const Logical x );

        Logical   u_closed_() const;
        void u_closed_( const Logical x );

  const SdaiB_spline_surface_form_var   surface_form_() const;
        SdaiB_spline_surface_form_var   surface_form_();
        void surface_form_( const SdaiB_spline_surface_form_var x );

        GenericAggregate_ptr_c control_points_list_() const;
        GenericAggregate_ptr   control_points_list_();
        void control_points_list_( const GenericAggregate_ptr x );

        SDAI_Integer   v_degree_() const;
        void v_degree_( const SDAI_Integer x );

        SDAI_Integer   u_degree_() const;
        void u_degree_( const SDAI_Integer x );

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


    //  part 4
    SdaiB_spline_or_rectangular_composite_surface_select& operator =( const SdaiB_spline_surface_ptr& );
    SdaiB_spline_or_rectangular_composite_surface_select& operator =( const SdaiRectangular_composite_surface_ptr& );
    // not in SDAI
    SdaiB_spline_or_rectangular_composite_surface_select& ShallowCopy ( const SdaiB_spline_or_rectangular_composite_surface_select& );

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

    //  part 5
    Logical IsB_spline_surface() const;
    Logical IsRectangular_composite_surface() const;

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

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

inline SDAI_Select * create_SdaiB_spline_or_rectangular_composite_surface_select () { return new SdaiB_spline_or_rectangular_composite_surface_select; }
typedef SdaiB_spline_or_rectangular_composite_surface_select * SdaiB_spline_or_rectangular_composite_surface_selectH;
typedef SdaiB_spline_or_rectangular_composite_surface_select_ptr SdaiB_spline_or_rectangular_composite_surface_select_var;


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

  public:
    SdaiB_spline_or_rectangular_composite_surface_select_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_b_spline_or_rectangular_composite_surface_select );
    ~SdaiB_spline_or_rectangular_composite_surface_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiB_spline_or_rectangular_composite_surface_select( sel_type )); }
};
inline STEPaggregate * create_SdaiB_spline_or_rectangular_composite_surface_select_agg () { return new SdaiB_spline_or_rectangular_composite_surface_select_agg; }
typedef SdaiB_spline_or_rectangular_composite_surface_select_agg_ptr SdaiB_spline_or_rectangular_composite_surface_select_agg_var;

/////  END SELECT TYPE b_spline_or_rectangular_composite_surface_select

void init_SdaiB_spline_or_rectangular_composite_surface_select(Registry& reg);

#endif
