#ifndef  TYPE_SDAIIFCLIGHTDISTRIBUTIONDATASOURCESELECT_H
#define  TYPE_SDAIIFCLIGHTDISTRIBUTIONDATASOURCESELECT_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 SdaiIfclightdistributiondatasourceselect
class SC_SCHEMA_EXPORT SdaiIfclightdistributiondatasourceselect  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   IFCEXTERNALREFERENCE    --  sdaiINSTANCE
    //   IFCLIGHTINTENSITYDISTRIBUTION    --  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
    SdaiIfclightdistributiondatasourceselect( const SelectTypeDescriptor * =ifc4::t_ifclightdistributiondatasourceselect );
    //  part 1
    SdaiIfclightdistributiondatasourceselect( const SdaiIfcexternalreference_ptr&,
                                              const SelectTypeDescriptor * =ifc4::t_ifclightdistributiondatasourceselect );
    SdaiIfclightdistributiondatasourceselect( const SdaiIfclightintensitydistribution_ptr&,
                                              const SelectTypeDescriptor * =ifc4::t_ifclightdistributiondatasourceselect );
    virtual ~SdaiIfclightdistributiondatasourceselect();

    //  part 2
    operator SdaiIfcexternalreference_ptr();
    operator SdaiIfclightintensitydistribution_ptr();

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

  const SdaiIfclightdistributioncurveenum_var   lightdistributioncurve_() const;
        SdaiIfclightdistributioncurveenum_var   lightdistributioncurve_();
        void lightdistributioncurve_( const SdaiIfclightdistributioncurveenum_var x );

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

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

  const SdaiIfcidentifier   identification_() const;
        SdaiIfcidentifier   identification_();
        void identification_( const SdaiIfcidentifier x );

  const SdaiIfcurireference   location_() const;
        SdaiIfcurireference   location_();
        void location_( const SdaiIfcurireference x );


    //  part 4
    SdaiIfclightdistributiondatasourceselect& operator =( const SdaiIfcexternalreference_ptr& );
    SdaiIfclightdistributiondatasourceselect& operator =( const SdaiIfclightintensitydistribution_ptr& );
    // not in SDAI
    SdaiIfclightdistributiondatasourceselect& ShallowCopy ( const SdaiIfclightdistributiondatasourceselect& );

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

    //  part 5
    Logical IsIfcexternalreference() const;
    Logical IsIfclightintensitydistribution() const;

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

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

inline SDAI_Select * create_SdaiIfclightdistributiondatasourceselect () { return new SdaiIfclightdistributiondatasourceselect; }
typedef SdaiIfclightdistributiondatasourceselect * SdaiIfclightdistributiondatasourceselectH;
typedef SdaiIfclightdistributiondatasourceselect_ptr SdaiIfclightdistributiondatasourceselect_var;


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

  public:
    SdaiIfclightdistributiondatasourceselect_agg( SelectTypeDescriptor * =ifc4::t_ifclightdistributiondatasourceselect );
    ~SdaiIfclightdistributiondatasourceselect_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiIfclightdistributiondatasourceselect( sel_type )); }
};
inline STEPaggregate * create_SdaiIfclightdistributiondatasourceselect_agg () { return new SdaiIfclightdistributiondatasourceselect_agg; }
typedef SdaiIfclightdistributiondatasourceselect_agg_ptr SdaiIfclightdistributiondatasourceselect_agg_var;

/////  END SELECT TYPE ifclightdistributiondatasourceselect

void init_SdaiIfclightdistributiondatasourceselect(Registry& reg);

#endif
