#ifndef  TYPE_SDAIIFCSOLIDORSHELL_H
#define  TYPE_SDAIIFCSOLIDORSHELL_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 SdaiIfcsolidorshell
class SC_SCHEMA_EXPORT SdaiIfcsolidorshell  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   IFCCLOSEDSHELL    --  sdaiINSTANCE
    //   IFCSOLIDMODEL    --  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
    SdaiIfcsolidorshell( const SelectTypeDescriptor * =ifc4::t_ifcsolidorshell );
    //  part 1
    SdaiIfcsolidorshell( const SdaiIfcclosedshell_ptr&,
                         const SelectTypeDescriptor * =ifc4::t_ifcsolidorshell );
    SdaiIfcsolidorshell( const SdaiIfcsolidmodel_ptr&,
                         const SelectTypeDescriptor * =ifc4::t_ifcsolidorshell );
    virtual ~SdaiIfcsolidorshell();

    //  part 2
    operator SdaiIfcclosedshell_ptr();
    operator SdaiIfcsolidmodel_ptr();

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

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

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


    //  part 4
    SdaiIfcsolidorshell& operator =( const SdaiIfcclosedshell_ptr& );
    SdaiIfcsolidorshell& operator =( const SdaiIfcsolidmodel_ptr& );
    // not in SDAI
    SdaiIfcsolidorshell& ShallowCopy ( const SdaiIfcsolidorshell& );

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

    //  part 5
    Logical IsIfcclosedshell() const;
    Logical IsIfcsolidmodel() const;

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

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

inline SDAI_Select * create_SdaiIfcsolidorshell () { return new SdaiIfcsolidorshell; }
typedef SdaiIfcsolidorshell * SdaiIfcsolidorshellH;
typedef SdaiIfcsolidorshell_ptr SdaiIfcsolidorshell_var;


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

  public:
    SdaiIfcsolidorshell_agg( SelectTypeDescriptor * =ifc4::t_ifcsolidorshell );
    ~SdaiIfcsolidorshell_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiIfcsolidorshell( sel_type )); }
};
inline STEPaggregate * create_SdaiIfcsolidorshell_agg () { return new SdaiIfcsolidorshell_agg; }
typedef SdaiIfcsolidorshell_agg_ptr SdaiIfcsolidorshell_agg_var;

/////  END SELECT TYPE ifcsolidorshell

void init_SdaiIfcsolidorshell(Registry& reg);

#endif
