#ifndef  TYPE_SDAIIFCCLASSIFICATIONSELECT_H
#define  TYPE_SDAIIFCCLASSIFICATIONSELECT_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 SdaiIfcclassificationselect
class SC_SCHEMA_EXPORT SdaiIfcclassificationselect  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   IFCCLASSIFICATION    --  sdaiINSTANCE
    //   IFCCLASSIFICATIONREFERENCE    --  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
    SdaiIfcclassificationselect( const SelectTypeDescriptor * =ifc4::t_ifcclassificationselect );
    //  part 1
    SdaiIfcclassificationselect( const SdaiIfcclassification_ptr&,
                                 const SelectTypeDescriptor * =ifc4::t_ifcclassificationselect );
    SdaiIfcclassificationselect( const SdaiIfcclassificationreference_ptr&,
                                 const SelectTypeDescriptor * =ifc4::t_ifcclassificationselect );
    virtual ~SdaiIfcclassificationselect();

    //  part 2
    operator SdaiIfcclassification_ptr();
    operator SdaiIfcclassificationreference_ptr();

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

  const SdaiIfcidentifier   sort_() const;
        SdaiIfcidentifier   sort_();
        void sort_( const SdaiIfcidentifier x );

        SdaiIfcclassificationreferenceselect_ptr_c referencedsource_() const;
        SdaiIfcclassificationreferenceselect_ptr   referencedsource_();
        void referencedsource_( const SdaiIfcclassificationreferenceselect_ptr x );

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

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

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

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

        StringAggregate_ptr_c referencetokens_() const;
        StringAggregate_ptr   referencetokens_();
        void referencetokens_( const StringAggregate_ptr x );

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

  const SdaiIfctext   description_() const;
        SdaiIfctext   description_();
        void description_( const SdaiIfctext x );

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

  const SdaiIfcdate   editiondate_() const;
        SdaiIfcdate   editiondate_();
        void editiondate_( const SdaiIfcdate x );

  const SdaiIfclabel   edition_() const;
        SdaiIfclabel   edition_();
        void edition_( const SdaiIfclabel x );

  const SdaiIfclabel   source_() const;
        SdaiIfclabel   source_();
        void source_( const SdaiIfclabel x );


    //  part 4
    SdaiIfcclassificationselect& operator =( const SdaiIfcclassification_ptr& );
    SdaiIfcclassificationselect& operator =( const SdaiIfcclassificationreference_ptr& );
    // not in SDAI
    SdaiIfcclassificationselect& ShallowCopy ( const SdaiIfcclassificationselect& );

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

    //  part 5
    Logical IsIfcclassification() const;
    Logical IsIfcclassificationreference() const;

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

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

inline SDAI_Select * create_SdaiIfcclassificationselect () { return new SdaiIfcclassificationselect; }
typedef SdaiIfcclassificationselect * SdaiIfcclassificationselectH;
typedef SdaiIfcclassificationselect_ptr SdaiIfcclassificationselect_var;


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

  public:
    SdaiIfcclassificationselect_agg( SelectTypeDescriptor * =ifc4::t_ifcclassificationselect );
    ~SdaiIfcclassificationselect_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiIfcclassificationselect( sel_type )); }
};
inline STEPaggregate * create_SdaiIfcclassificationselect_agg () { return new SdaiIfcclassificationselect_agg; }
typedef SdaiIfcclassificationselect_agg_ptr SdaiIfcclassificationselect_agg_var;

/////  END SELECT TYPE ifcclassificationselect

void init_SdaiIfcclassificationselect(Registry& reg);

#endif
