#ifndef  TYPE_SDAIIFCMATERIALSELECT_H
#define  TYPE_SDAIIFCMATERIALSELECT_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 SdaiIfcmaterialselect
class SC_SCHEMA_EXPORT SdaiIfcmaterialselect  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   IFCMATERIAL    --  sdaiINSTANCE
    //   IFCMATERIALLIST    --  sdaiINSTANCE
    //   IFCMATERIALLAYERSETUSAGE    --  sdaiINSTANCE
    //   IFCMATERIALLAYERSET    --  sdaiINSTANCE
    //   IFCMATERIALLAYER    --  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
    SdaiIfcmaterialselect( const SelectTypeDescriptor * =ifc2x3::t_ifcmaterialselect );
    //  part 1
    SdaiIfcmaterialselect( const SdaiIfcmaterial_ptr&,
                           const SelectTypeDescriptor * =ifc2x3::t_ifcmaterialselect );
    SdaiIfcmaterialselect( const SdaiIfcmateriallist_ptr&,
                           const SelectTypeDescriptor * =ifc2x3::t_ifcmaterialselect );
    SdaiIfcmaterialselect( const SdaiIfcmateriallayersetusage_ptr&,
                           const SelectTypeDescriptor * =ifc2x3::t_ifcmaterialselect );
    SdaiIfcmaterialselect( const SdaiIfcmateriallayerset_ptr&,
                           const SelectTypeDescriptor * =ifc2x3::t_ifcmaterialselect );
    SdaiIfcmaterialselect( const SdaiIfcmateriallayer_ptr&,
                           const SelectTypeDescriptor * =ifc2x3::t_ifcmaterialselect );
    virtual ~SdaiIfcmaterialselect();

    //  part 2
    operator SdaiIfcmaterial_ptr();
    operator SdaiIfcmateriallist_ptr();
    operator SdaiIfcmateriallayersetusage_ptr();
    operator SdaiIfcmateriallayerset_ptr();
    operator SdaiIfcmateriallayer_ptr();

    //  part 3
        SdaiIfcmateriallayerset_ptr_c tomateriallayerset_() const;
        SdaiIfcmateriallayerset_ptr   tomateriallayerset_();
        void tomateriallayerset_( const SdaiIfcmateriallayerset_ptr x );

        Logical   isventilated_() const;
        void isventilated_( const Logical x );

        SdaiIfcpositivelengthmeasure   layerthickness_() const;
        void layerthickness_( const SdaiIfcpositivelengthmeasure x );

        SdaiIfcmaterial_ptr_c material_() const;
        SdaiIfcmaterial_ptr   material_();
        void material_( const SdaiIfcmaterial_ptr x );

  const SdaiIfclabel   layersetname_() const;
        SdaiIfclabel   layersetname_();
        void layersetname_( const SdaiIfclabel x );

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

        SdaiIfclengthmeasure   offsetfromreferenceline_() const;
        void offsetfromreferenceline_( const SdaiIfclengthmeasure x );

  const SdaiIfcdirectionsenseenum_var   directionsense_() const;
        SdaiIfcdirectionsenseenum_var   directionsense_();
        void directionsense_( const SdaiIfcdirectionsenseenum_var x );

  const SdaiIfclayersetdirectionenum_var   layersetdirection_() const;
        SdaiIfclayersetdirectionenum_var   layersetdirection_();
        void layersetdirection_( const SdaiIfclayersetdirectionenum_var x );

        SdaiIfcmateriallayerset_ptr_c forlayerset_() const;
        SdaiIfcmateriallayerset_ptr   forlayerset_();
        void forlayerset_( const SdaiIfcmateriallayerset_ptr x );

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

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

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

  const SdaiIfclabel   name_() const;
        SdaiIfclabel   name_();
        void name_( const SdaiIfclabel x );


    //  part 4
    SdaiIfcmaterialselect& operator =( const SdaiIfcmaterial_ptr& );
    SdaiIfcmaterialselect& operator =( const SdaiIfcmateriallist_ptr& );
    SdaiIfcmaterialselect& operator =( const SdaiIfcmateriallayersetusage_ptr& );
    SdaiIfcmaterialselect& operator =( const SdaiIfcmateriallayerset_ptr& );
    SdaiIfcmaterialselect& operator =( const SdaiIfcmateriallayer_ptr& );
    // not in SDAI
    SdaiIfcmaterialselect& ShallowCopy ( const SdaiIfcmaterialselect& );

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

    //  part 5
    Logical IsIfcmaterial() const;
    Logical IsIfcmateriallist() const;
    Logical IsIfcmateriallayersetusage() const;
    Logical IsIfcmateriallayerset() const;
    Logical IsIfcmateriallayer() const;

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

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

inline SDAI_Select * create_SdaiIfcmaterialselect () { return new SdaiIfcmaterialselect; }
typedef SdaiIfcmaterialselect * SdaiIfcmaterialselectH;
typedef SdaiIfcmaterialselect_ptr SdaiIfcmaterialselect_var;


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

  public:
    SdaiIfcmaterialselect_agg( SelectTypeDescriptor * =ifc2x3::t_ifcmaterialselect );
    ~SdaiIfcmaterialselect_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiIfcmaterialselect( sel_type )); }
};
inline STEPaggregate * create_SdaiIfcmaterialselect_agg () { return new SdaiIfcmaterialselect_agg; }
typedef SdaiIfcmaterialselect_agg_ptr SdaiIfcmaterialselect_agg_var;

/////  END SELECT TYPE ifcmaterialselect

void init_SdaiIfcmaterialselect(Registry& reg);

#endif
