#ifndef  TYPE_SDAIIFCCOLOUR_H
#define  TYPE_SDAIIFCCOLOUR_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 SdaiIfccolour
class SC_SCHEMA_EXPORT SdaiIfccolour  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   IFCCOLOURSPECIFICATION    --  sdaiINSTANCE
    //   IFCPREDEFINEDCOLOUR    --  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
    SdaiIfccolour( const SelectTypeDescriptor * =ifc2x3::t_ifccolour );
    //  part 1
    SdaiIfccolour( const SdaiIfccolourspecification_ptr&,
                   const SelectTypeDescriptor * =ifc2x3::t_ifccolour );
    SdaiIfccolour( const SdaiIfcpredefinedcolour_ptr&,
                   const SelectTypeDescriptor * =ifc2x3::t_ifccolour );
    virtual ~SdaiIfccolour();

    //  part 2
    operator SdaiIfccolourspecification_ptr();
    operator SdaiIfcpredefinedcolour_ptr();

    //  part 3
  const SdaiIfclabel   name_() const;
        SdaiIfclabel   name_();
        void name_( const SdaiIfclabel x );


    //  part 4
    SdaiIfccolour& operator =( const SdaiIfccolourspecification_ptr& );
    SdaiIfccolour& operator =( const SdaiIfcpredefinedcolour_ptr& );
    // not in SDAI
    SdaiIfccolour& ShallowCopy ( const SdaiIfccolour& );

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

    //  part 5
    Logical IsIfccolourspecification() const;
    Logical IsIfcpredefinedcolour() const;

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

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

inline SDAI_Select * create_SdaiIfccolour () { return new SdaiIfccolour; }
typedef SdaiIfccolour * SdaiIfccolourH;
typedef SdaiIfccolour_ptr SdaiIfccolour_var;


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

  public:
    SdaiIfccolour_agg( SelectTypeDescriptor * =ifc2x3::t_ifccolour );
    ~SdaiIfccolour_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiIfccolour( sel_type )); }
};
inline STEPaggregate * create_SdaiIfccolour_agg () { return new SdaiIfccolour_agg; }
typedef SdaiIfccolour_agg_ptr SdaiIfccolour_agg_var;

/////  END SELECT TYPE ifccolour

void init_SdaiIfccolour(Registry& reg);

#endif
