#ifndef  TYPE_SDAIIFCSURFACESTYLEELEMENTSELECT_H
#define  TYPE_SDAIIFCSURFACESTYLEELEMENTSELECT_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 SdaiIfcsurfacestyleelementselect
class SC_SCHEMA_EXPORT SdaiIfcsurfacestyleelementselect  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   IFCSURFACESTYLESHADING    --  sdaiINSTANCE
    //   IFCSURFACESTYLELIGHTING    --  sdaiINSTANCE
    //   IFCSURFACESTYLEWITHTEXTURES    --  sdaiINSTANCE
    //   IFCEXTERNALLYDEFINEDSURFACESTYLE    --  sdaiINSTANCE
    //   IFCSURFACESTYLEREFRACTION    --  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
    SdaiIfcsurfacestyleelementselect( const SelectTypeDescriptor * =ifc2x3::t_ifcsurfacestyleelementselect );
    //  part 1
    SdaiIfcsurfacestyleelementselect( const SdaiIfcsurfacestyleshading_ptr&,
                                      const SelectTypeDescriptor * =ifc2x3::t_ifcsurfacestyleelementselect );
    SdaiIfcsurfacestyleelementselect( const SdaiIfcsurfacestylelighting_ptr&,
                                      const SelectTypeDescriptor * =ifc2x3::t_ifcsurfacestyleelementselect );
    SdaiIfcsurfacestyleelementselect( const SdaiIfcsurfacestylewithtextures_ptr&,
                                      const SelectTypeDescriptor * =ifc2x3::t_ifcsurfacestyleelementselect );
    SdaiIfcsurfacestyleelementselect( const SdaiIfcexternallydefinedsurfacestyle_ptr&,
                                      const SelectTypeDescriptor * =ifc2x3::t_ifcsurfacestyleelementselect );
    SdaiIfcsurfacestyleelementselect( const SdaiIfcsurfacestylerefraction_ptr&,
                                      const SelectTypeDescriptor * =ifc2x3::t_ifcsurfacestyleelementselect );
    virtual ~SdaiIfcsurfacestyleelementselect();

    //  part 2
    operator SdaiIfcsurfacestyleshading_ptr();
    operator SdaiIfcsurfacestylelighting_ptr();
    operator SdaiIfcsurfacestylewithtextures_ptr();
    operator SdaiIfcexternallydefinedsurfacestyle_ptr();
    operator SdaiIfcsurfacestylerefraction_ptr();

    //  part 3
        SdaiIfcreal   dispersionfactor_() const;
        void dispersionfactor_( const SdaiIfcreal x );

        SdaiIfcreal   refractionindex_() const;
        void refractionindex_( const SdaiIfcreal x );

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

  const SdaiIfcidentifier   itemreference_() const;
        SdaiIfcidentifier   itemreference_();
        void itemreference_( const SdaiIfcidentifier x );

  const SdaiIfclabel   location_() const;
        SdaiIfclabel   location_();
        void location_( const SdaiIfclabel x );

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

        SdaiIfccolourrgb_ptr_c reflectancecolour_() const;
        SdaiIfccolourrgb_ptr   reflectancecolour_();
        void reflectancecolour_( const SdaiIfccolourrgb_ptr x );

        SdaiIfccolourrgb_ptr_c transmissioncolour_() const;
        SdaiIfccolourrgb_ptr   transmissioncolour_();
        void transmissioncolour_( const SdaiIfccolourrgb_ptr x );

        SdaiIfccolourrgb_ptr_c diffusereflectioncolour_() const;
        SdaiIfccolourrgb_ptr   diffusereflectioncolour_();
        void diffusereflectioncolour_( const SdaiIfccolourrgb_ptr x );

        SdaiIfccolourrgb_ptr_c diffusetransmissioncolour_() const;
        SdaiIfccolourrgb_ptr   diffusetransmissioncolour_();
        void diffusetransmissioncolour_( const SdaiIfccolourrgb_ptr x );

        SdaiIfccolourrgb_ptr_c surfacecolour_() const;
        SdaiIfccolourrgb_ptr   surfacecolour_();
        void surfacecolour_( const SdaiIfccolourrgb_ptr x );


    //  part 4
    SdaiIfcsurfacestyleelementselect& operator =( const SdaiIfcsurfacestyleshading_ptr& );
    SdaiIfcsurfacestyleelementselect& operator =( const SdaiIfcsurfacestylelighting_ptr& );
    SdaiIfcsurfacestyleelementselect& operator =( const SdaiIfcsurfacestylewithtextures_ptr& );
    SdaiIfcsurfacestyleelementselect& operator =( const SdaiIfcexternallydefinedsurfacestyle_ptr& );
    SdaiIfcsurfacestyleelementselect& operator =( const SdaiIfcsurfacestylerefraction_ptr& );
    // not in SDAI
    SdaiIfcsurfacestyleelementselect& ShallowCopy ( const SdaiIfcsurfacestyleelementselect& );

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

    //  part 5
    Logical IsIfcsurfacestyleshading() const;
    Logical IsIfcsurfacestylelighting() const;
    Logical IsIfcsurfacestylewithtextures() const;
    Logical IsIfcexternallydefinedsurfacestyle() const;
    Logical IsIfcsurfacestylerefraction() const;

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

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

inline SDAI_Select * create_SdaiIfcsurfacestyleelementselect () { return new SdaiIfcsurfacestyleelementselect; }
typedef SdaiIfcsurfacestyleelementselect * SdaiIfcsurfacestyleelementselectH;
typedef SdaiIfcsurfacestyleelementselect_ptr SdaiIfcsurfacestyleelementselect_var;


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

  public:
    SdaiIfcsurfacestyleelementselect_agg( SelectTypeDescriptor * =ifc2x3::t_ifcsurfacestyleelementselect );
    ~SdaiIfcsurfacestyleelementselect_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiIfcsurfacestyleelementselect( sel_type )); }
};
inline STEPaggregate * create_SdaiIfcsurfacestyleelementselect_agg () { return new SdaiIfcsurfacestyleelementselect_agg; }
typedef SdaiIfcsurfacestyleelementselect_agg_ptr SdaiIfcsurfacestyleelementselect_agg_var;

/////  END SELECT TYPE ifcsurfacestyleelementselect

void init_SdaiIfcsurfacestyleelementselect(Registry& reg);

#endif
