#ifndef  TYPE_SDAICLOSED_OR_OPEN_SHELL_SELECT_H
#define  TYPE_SDAICLOSED_OR_OPEN_SHELL_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 SdaiClosed_or_open_shell_select
class SC_SCHEMA_EXPORT SdaiClosed_or_open_shell_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   CLOSED_SHELL    --  sdaiINSTANCE
    //   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
    SdaiClosed_or_open_shell_select( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_closed_or_open_shell_select );
    //  part 1
    SdaiClosed_or_open_shell_select( const SdaiClosed_shell_ptr&,
                                     const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_closed_or_open_shell_select );
    SdaiClosed_or_open_shell_select( const SdaiOpen_shell_ptr&,
                                     const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_closed_or_open_shell_select );
    virtual ~SdaiClosed_or_open_shell_select();

    //  part 2
    operator SdaiClosed_shell_ptr();
    operator SdaiOpen_shell_ptr();

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

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


    //  part 4
    SdaiClosed_or_open_shell_select& operator =( const SdaiClosed_shell_ptr& );
    SdaiClosed_or_open_shell_select& operator =( const SdaiOpen_shell_ptr& );
    // not in SDAI
    SdaiClosed_or_open_shell_select& ShallowCopy ( const SdaiClosed_or_open_shell_select& );

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

    //  part 5
    Logical IsClosed_shell() const;
    Logical IsOpen_shell() const;

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

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

inline SDAI_Select * create_SdaiClosed_or_open_shell_select () { return new SdaiClosed_or_open_shell_select; }
typedef SdaiClosed_or_open_shell_select * SdaiClosed_or_open_shell_selectH;
typedef SdaiClosed_or_open_shell_select_ptr SdaiClosed_or_open_shell_select_var;


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

  public:
    SdaiClosed_or_open_shell_select_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_closed_or_open_shell_select );
    ~SdaiClosed_or_open_shell_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiClosed_or_open_shell_select( sel_type )); }
};
inline STEPaggregate * create_SdaiClosed_or_open_shell_select_agg () { return new SdaiClosed_or_open_shell_select_agg; }
typedef SdaiClosed_or_open_shell_select_agg_ptr SdaiClosed_or_open_shell_select_agg_var;

/////  END SELECT TYPE closed_or_open_shell_select

void init_SdaiClosed_or_open_shell_select(Registry& reg);

#endif
