#ifndef  TYPE_SDAIIFCSTYLEASSIGNMENTSELECT_H
#define  TYPE_SDAIIFCSTYLEASSIGNMENTSELECT_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 SdaiIfcstyleassignmentselect
class SC_SCHEMA_EXPORT SdaiIfcstyleassignmentselect  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   IFCPRESENTATIONSTYLE    --  sdaiINSTANCE
    //   IFCPRESENTATIONSTYLEASSIGNMENT    --  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
    SdaiIfcstyleassignmentselect( const SelectTypeDescriptor * =ifc4::t_ifcstyleassignmentselect );
    //  part 1
    SdaiIfcstyleassignmentselect( const SdaiIfcpresentationstyle_ptr&,
                                  const SelectTypeDescriptor * =ifc4::t_ifcstyleassignmentselect );
    SdaiIfcstyleassignmentselect( const SdaiIfcpresentationstyleassignment_ptr&,
                                  const SelectTypeDescriptor * =ifc4::t_ifcstyleassignmentselect );
    virtual ~SdaiIfcstyleassignmentselect();

    //  part 2
    operator SdaiIfcpresentationstyle_ptr();
    operator SdaiIfcpresentationstyleassignment_ptr();

    //  part 3
        SdaiIfcpresentationstyleselect_agg_ptr_c styles_() const;
        SdaiIfcpresentationstyleselect_agg_ptr   styles_();
        void styles_( const SdaiIfcpresentationstyleselect_agg_ptr x );

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


    //  part 4
    SdaiIfcstyleassignmentselect& operator =( const SdaiIfcpresentationstyle_ptr& );
    SdaiIfcstyleassignmentselect& operator =( const SdaiIfcpresentationstyleassignment_ptr& );
    // not in SDAI
    SdaiIfcstyleassignmentselect& ShallowCopy ( const SdaiIfcstyleassignmentselect& );

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

    //  part 5
    Logical IsIfcpresentationstyle() const;
    Logical IsIfcpresentationstyleassignment() const;

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

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

inline SDAI_Select * create_SdaiIfcstyleassignmentselect () { return new SdaiIfcstyleassignmentselect; }
typedef SdaiIfcstyleassignmentselect * SdaiIfcstyleassignmentselectH;
typedef SdaiIfcstyleassignmentselect_ptr SdaiIfcstyleassignmentselect_var;


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

  public:
    SdaiIfcstyleassignmentselect_agg( SelectTypeDescriptor * =ifc4::t_ifcstyleassignmentselect );
    ~SdaiIfcstyleassignmentselect_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiIfcstyleassignmentselect( sel_type )); }
};
inline STEPaggregate * create_SdaiIfcstyleassignmentselect_agg () { return new SdaiIfcstyleassignmentselect_agg; }
typedef SdaiIfcstyleassignmentselect_agg_ptr SdaiIfcstyleassignmentselect_agg_var;

/////  END SELECT TYPE ifcstyleassignmentselect

void init_SdaiIfcstyleassignmentselect(Registry& reg);

#endif
