#ifndef  TYPE_SDAISKETCH_BASIS_SELECT_H
#define  TYPE_SDAISKETCH_BASIS_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 SdaiSketch_basis_select
class SC_SCHEMA_EXPORT SdaiSketch_basis_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   CURVE_BOUNDED_SURFACE    --  sdaiINSTANCE
    //   FACE_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
    SdaiSketch_basis_select( const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_sketch_basis_select );
    //  part 1
    SdaiSketch_basis_select( const SdaiCurve_bounded_surface_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_sketch_basis_select );
    SdaiSketch_basis_select( const SdaiFace_surface_ptr&,
                             const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_sketch_basis_select );
    virtual ~SdaiSketch_basis_select();

    //  part 2
    operator SdaiCurve_bounded_surface_ptr();
    operator SdaiFace_surface_ptr();

    //  part 3
        Boolean   same_sense_() const;
        void same_sense_( const Boolean x );

        SdaiSurface_ptr_c face_geometry_() const;
        SdaiSurface_ptr   face_geometry_();
        void face_geometry_( const SdaiSurface_ptr x );

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

        Boolean   implicit_outer_() const;
        void implicit_outer_( const Boolean x );

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

        SdaiSurface_ptr_c basis_surface_() const;
        SdaiSurface_ptr   basis_surface_();
        void basis_surface_( const SdaiSurface_ptr x );

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


    //  part 4
    SdaiSketch_basis_select& operator =( const SdaiCurve_bounded_surface_ptr& );
    SdaiSketch_basis_select& operator =( const SdaiFace_surface_ptr& );
    // not in SDAI
    SdaiSketch_basis_select& ShallowCopy ( const SdaiSketch_basis_select& );

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

    //  part 5
    Logical IsCurve_bounded_surface() const;
    Logical IsFace_surface() const;

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

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

inline SDAI_Select * create_SdaiSketch_basis_select () { return new SdaiSketch_basis_select; }
typedef SdaiSketch_basis_select * SdaiSketch_basis_selectH;
typedef SdaiSketch_basis_select_ptr SdaiSketch_basis_select_var;


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

  public:
    SdaiSketch_basis_select_agg( SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_sketch_basis_select );
    ~SdaiSketch_basis_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiSketch_basis_select( sel_type )); }
};
inline STEPaggregate * create_SdaiSketch_basis_select_agg () { return new SdaiSketch_basis_select_agg; }
typedef SdaiSketch_basis_select_agg_ptr SdaiSketch_basis_select_agg_var;

/////  END SELECT TYPE sketch_basis_select

void init_SdaiSketch_basis_select(Registry& reg);

#endif
