#ifndef  TYPE_SDAILOCATION_OF_EXTREME_VALUE_SELECT_H
#define  TYPE_SDAILOCATION_OF_EXTREME_VALUE_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 SdaiLocation_of_extreme_value_select
class SC_SCHEMA_EXPORT SdaiLocation_of_extreme_value_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   INSPECTED_SHAPE_ELEMENT_SELECT    --  sdaiSELECT
    //   B_SPLINE_SURFACE_KNOT_LOCATOR    --  sdaiINSTANCE
    //   B_SPLINE_CURVE_KNOT_LOCATOR    --  sdaiINSTANCE
    //   B_SPLINE_CURVE_SEGMENT    --  sdaiINSTANCE
    //   B_SPLINE_SURFACE_STRIP    --  sdaiINSTANCE
    //   B_SPLINE_SURFACE_PATCH    --  sdaiINSTANCE
    //   COMPOSITE_CURVE_TRANSITION_LOCATOR    --  sdaiINSTANCE
    //   RECTANGULAR_COMPOSITE_SURFACE_TRANSITION_LOCATOR    --  sdaiINSTANCE
    //   BOUNDARY_CURVE_OF_B_SPLINE_OR_RECTANGULAR_COMPOSITE_SURFACE    --  sdaiINSTANCE
    //   ORIENTED_EDGE    --  sdaiINSTANCE
    //   FACE_BOUND    --  sdaiINSTANCE
    //   POINT_ON_EDGE_CURVE    --  sdaiINSTANCE
    //   POINT_ON_FACE_SURFACE    --  sdaiINSTANCE
    //   SUBEDGE    --  sdaiINSTANCE
    //   SUBFACE    --  sdaiINSTANCE
       SdaiInspected_shape_element_select _sdaiinspected_shape_element_select;
       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
    SdaiLocation_of_extreme_value_select( const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_location_of_extreme_value_select );
    //  part 1
    SdaiLocation_of_extreme_value_select( const SdaiInspected_shape_element_select_ptr&,
                                          const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_location_of_extreme_value_select );
    SdaiLocation_of_extreme_value_select( const SdaiB_spline_surface_knot_locator_ptr&,
                                          const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_location_of_extreme_value_select );
    SdaiLocation_of_extreme_value_select( const SdaiB_spline_curve_knot_locator_ptr&,
                                          const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_location_of_extreme_value_select );
    SdaiLocation_of_extreme_value_select( const SdaiB_spline_curve_segment_ptr&,
                                          const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_location_of_extreme_value_select );
    SdaiLocation_of_extreme_value_select( const SdaiB_spline_surface_strip_ptr&,
                                          const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_location_of_extreme_value_select );
    SdaiLocation_of_extreme_value_select( const SdaiB_spline_surface_patch_ptr&,
                                          const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_location_of_extreme_value_select );
    SdaiLocation_of_extreme_value_select( const SdaiComposite_curve_transition_locator_ptr&,
                                          const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_location_of_extreme_value_select );
    SdaiLocation_of_extreme_value_select( const SdaiRectangular_composite_surface_transition_locator_ptr&,
                                          const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_location_of_extreme_value_select );
    SdaiLocation_of_extreme_value_select( const SdaiBoundary_curve_of_b_spline_or_rectangular_composite_surface_ptr&,
                                          const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_location_of_extreme_value_select );
    SdaiLocation_of_extreme_value_select( const SdaiOriented_edge_ptr&,
                                          const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_location_of_extreme_value_select );
    SdaiLocation_of_extreme_value_select( const SdaiFace_bound_ptr&,
                                          const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_location_of_extreme_value_select );
    SdaiLocation_of_extreme_value_select( const SdaiPoint_on_edge_curve_ptr&,
                                          const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_location_of_extreme_value_select );
    SdaiLocation_of_extreme_value_select( const SdaiPoint_on_face_surface_ptr&,
                                          const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_location_of_extreme_value_select );
    SdaiLocation_of_extreme_value_select( const SdaiSubedge_ptr&,
                                          const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_location_of_extreme_value_select );
    SdaiLocation_of_extreme_value_select( const SdaiSubface_ptr&,
                                          const SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_location_of_extreme_value_select );
    virtual ~SdaiLocation_of_extreme_value_select();

    //  part 2
    operator SdaiInspected_shape_element_select_ptr();
    operator SdaiB_spline_surface_knot_locator_ptr();
    operator SdaiB_spline_curve_knot_locator_ptr();
    operator SdaiB_spline_curve_segment_ptr();
    operator SdaiB_spline_surface_strip_ptr();
    operator SdaiB_spline_surface_patch_ptr();
    operator SdaiComposite_curve_transition_locator_ptr();
    operator SdaiRectangular_composite_surface_transition_locator_ptr();
    operator SdaiBoundary_curve_of_b_spline_or_rectangular_composite_surface_ptr();
    operator SdaiOriented_edge_ptr();
    operator SdaiFace_bound_ptr();
    operator SdaiPoint_on_edge_curve_ptr();
    operator SdaiPoint_on_face_surface_ptr();
    operator SdaiSubedge_ptr();
    operator SdaiSubface_ptr();

    //  part 3
        SdaiFace_ptr_c parent_face_() const;
        SdaiFace_ptr   parent_face_();
        void parent_face_( const SdaiFace_ptr x );

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

        SdaiEdge_ptr_c parent_edge_() const;
        SdaiEdge_ptr   parent_edge_();
        void parent_edge_( const SdaiEdge_ptr x );

        SdaiFace_surface_ptr_c basis_face_surface_() const;
        SdaiFace_surface_ptr   basis_face_surface_();
        void basis_face_surface_( const SdaiFace_surface_ptr x );

        SdaiParameter_value   point_parameter_v_() const;
        void point_parameter_v_( const SdaiParameter_value x );

        SdaiParameter_value   point_parameter_u_() const;
        void point_parameter_u_( const SdaiParameter_value x );

        SdaiEdge_curve_ptr_c basis_edge_curve_() const;
        SdaiEdge_curve_ptr   basis_edge_curve_();
        void basis_edge_curve_( const SdaiEdge_curve_ptr x );

        SdaiParameter_value   point_parameter_() const;
        void point_parameter_( const SdaiParameter_value x );

        SdaiLoop_ptr_c bound_() const;
        SdaiLoop_ptr   bound_();
        void bound_( const SdaiLoop_ptr x );

        Boolean   orientation_() const;
        void orientation_( const Boolean x );

        SdaiEdge_ptr_c edge_element_() const;
        SdaiEdge_ptr   edge_element_();
        void edge_element_( const SdaiEdge_ptr x );

        SdaiVertex_ptr_c edge_end_() const;
        SdaiVertex_ptr   edge_end_();
        void edge_end_( const SdaiVertex_ptr x );

        SdaiVertex_ptr_c edge_start_() const;
        SdaiVertex_ptr   edge_start_();
        void edge_start_( const SdaiVertex_ptr x );

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

  const SdaiSurface_boundary_type_var   boundary_type_() const;
        SdaiSurface_boundary_type_var   boundary_type_();
        void boundary_type_( const SdaiSurface_boundary_type_var x );

        SDAI_Integer   v_transition_index_() const;
        void v_transition_index_( const SDAI_Integer x );

        SDAI_Integer   u_transition_index_() const;
        void u_transition_index_( const SDAI_Integer x );

        SDAI_Integer   transition_index_() const;
        void transition_index_( const SDAI_Integer x );

        SDAI_Integer   v_start_knot_index_() const;
        void v_start_knot_index_( const SDAI_Integer x );

        SDAI_Integer   u_start_knot_index_() const;
        void u_start_knot_index_( const SDAI_Integer x );

        SDAI_Integer   start_knot_index_() const;
        void start_knot_index_( const SDAI_Integer x );

        SdaiB_spline_curve_ptr_c basis_curve_() const;
        SdaiB_spline_curve_ptr   basis_curve_();
        void basis_curve_( const SdaiB_spline_curve_ptr x );

  const SdaiU_or_v_parameter_var   surface_parameter_() const;
        SdaiU_or_v_parameter_var   surface_parameter_();
        void surface_parameter_( const SdaiU_or_v_parameter_var x );

        SDAI_Integer   knot_index_() const;
        void knot_index_( const SDAI_Integer x );

        SdaiB_spline_surface_ptr_c basis_surface_() const;
        SdaiB_spline_surface_ptr   basis_surface_();
        void basis_surface_( const SdaiB_spline_surface_ptr x );


    //  part 4
    SdaiLocation_of_extreme_value_select& operator =( const SdaiInspected_shape_element_select_ptr& );
    SdaiLocation_of_extreme_value_select& operator =( const SdaiB_spline_surface_knot_locator_ptr& );
    SdaiLocation_of_extreme_value_select& operator =( const SdaiB_spline_curve_knot_locator_ptr& );
    SdaiLocation_of_extreme_value_select& operator =( const SdaiB_spline_curve_segment_ptr& );
    SdaiLocation_of_extreme_value_select& operator =( const SdaiB_spline_surface_strip_ptr& );
    SdaiLocation_of_extreme_value_select& operator =( const SdaiB_spline_surface_patch_ptr& );
    SdaiLocation_of_extreme_value_select& operator =( const SdaiComposite_curve_transition_locator_ptr& );
    SdaiLocation_of_extreme_value_select& operator =( const SdaiRectangular_composite_surface_transition_locator_ptr& );
    SdaiLocation_of_extreme_value_select& operator =( const SdaiBoundary_curve_of_b_spline_or_rectangular_composite_surface_ptr& );
    SdaiLocation_of_extreme_value_select& operator =( const SdaiOriented_edge_ptr& );
    SdaiLocation_of_extreme_value_select& operator =( const SdaiFace_bound_ptr& );
    SdaiLocation_of_extreme_value_select& operator =( const SdaiPoint_on_edge_curve_ptr& );
    SdaiLocation_of_extreme_value_select& operator =( const SdaiPoint_on_face_surface_ptr& );
    SdaiLocation_of_extreme_value_select& operator =( const SdaiSubedge_ptr& );
    SdaiLocation_of_extreme_value_select& operator =( const SdaiSubface_ptr& );
    // not in SDAI
    SdaiLocation_of_extreme_value_select& ShallowCopy ( const SdaiLocation_of_extreme_value_select& );

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

    //  part 5
    Logical IsInspected_shape_element_select() const;
    Logical IsB_spline_surface_knot_locator() const;
    Logical IsB_spline_curve_knot_locator() const;
    Logical IsB_spline_curve_segment() const;
    Logical IsB_spline_surface_strip() const;
    Logical IsB_spline_surface_patch() const;
    Logical IsComposite_curve_transition_locator() const;
    Logical IsRectangular_composite_surface_transition_locator() const;
    Logical IsBoundary_curve_of_b_spline_or_rectangular_composite_surface() const;
    Logical IsOriented_edge() const;
    Logical IsFace_bound() const;
    Logical IsPoint_on_edge_curve() const;
    Logical IsPoint_on_face_surface() const;
    Logical IsSubedge() const;
    Logical IsSubface() const;

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

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

inline SDAI_Select * create_SdaiLocation_of_extreme_value_select () { return new SdaiLocation_of_extreme_value_select; }
typedef SdaiLocation_of_extreme_value_select * SdaiLocation_of_extreme_value_selectH;
typedef SdaiLocation_of_extreme_value_select_ptr SdaiLocation_of_extreme_value_select_var;


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

  public:
    SdaiLocation_of_extreme_value_select_agg( SelectTypeDescriptor * =ap242_managed_model_based_3d_engineering_mim_lf::t_location_of_extreme_value_select );
    ~SdaiLocation_of_extreme_value_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiLocation_of_extreme_value_select( sel_type )); }
};
inline STEPaggregate * create_SdaiLocation_of_extreme_value_select_agg () { return new SdaiLocation_of_extreme_value_select_agg; }
typedef SdaiLocation_of_extreme_value_select_agg_ptr SdaiLocation_of_extreme_value_select_agg_var;

/////  END SELECT TYPE location_of_extreme_value_select

void init_SdaiLocation_of_extreme_value_select(Registry& reg);

#endif
