#ifndef  TYPE_SDAIGENERALIZED_SURFACE_SELECT_H
#define  TYPE_SDAIGENERALIZED_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 SdaiGeneralized_surface_select
class SC_SCHEMA_EXPORT SdaiGeneralized_surface_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   SURFACE    --  sdaiINSTANCE
    //   FACE_SURFACE    --  sdaiINSTANCE
    //   SURFACED_OPEN_SHELL    --  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
    SdaiGeneralized_surface_select( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_generalized_surface_select );
    //  part 1
    SdaiGeneralized_surface_select( const SdaiSurface_ptr&,
                                    const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_generalized_surface_select );
    SdaiGeneralized_surface_select( const SdaiFace_surface_ptr&,
                                    const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_generalized_surface_select );
    SdaiGeneralized_surface_select( const SdaiSurfaced_open_shell_ptr&,
                                    const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_generalized_surface_select );
    virtual ~SdaiGeneralized_surface_select();

    //  part 2
    operator SdaiSurface_ptr();
    operator SdaiFace_surface_ptr();
    operator SdaiSurfaced_open_shell_ptr();

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

        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 );

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


    //  part 4
    SdaiGeneralized_surface_select& operator =( const SdaiSurface_ptr& );
    SdaiGeneralized_surface_select& operator =( const SdaiFace_surface_ptr& );
    SdaiGeneralized_surface_select& operator =( const SdaiSurfaced_open_shell_ptr& );
    // not in SDAI
    SdaiGeneralized_surface_select& ShallowCopy ( const SdaiGeneralized_surface_select& );

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

    //  part 5
    Logical IsSurface() const;
    Logical IsFace_surface() const;
    Logical IsSurfaced_open_shell() const;

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

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

inline SDAI_Select * create_SdaiGeneralized_surface_select () { return new SdaiGeneralized_surface_select; }
typedef SdaiGeneralized_surface_select * SdaiGeneralized_surface_selectH;
typedef SdaiGeneralized_surface_select_ptr SdaiGeneralized_surface_select_var;


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

  public:
    SdaiGeneralized_surface_select_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_generalized_surface_select );
    ~SdaiGeneralized_surface_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiGeneralized_surface_select( sel_type )); }
};
inline STEPaggregate * create_SdaiGeneralized_surface_select_agg () { return new SdaiGeneralized_surface_select_agg; }
typedef SdaiGeneralized_surface_select_agg_ptr SdaiGeneralized_surface_select_agg_var;

/////  END SELECT TYPE generalized_surface_select

void init_SdaiGeneralized_surface_select(Registry& reg);

#endif
