#ifndef  ENTITY_SDAIIFCADDRESS_H
#define  ENTITY_SDAIIFCADDRESS_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.

class SC_SCHEMA_EXPORT SdaiIfcaddress : public SDAI_Application_instance {
    protected:
        SdaiIfcaddresstypeenum_var _purpose;    //  OPTIONAL
        SDAI_String _description;    //  OPTIONAL
        SDAI_String _userdefinedpurpose;    //  OPTIONAL
    public: 
        SdaiIfcaddress();
        SdaiIfcaddress( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiIfcaddress( SdaiIfcaddress & e );
        ~SdaiIfcaddress();
        int opcode() {
            return 195;
        }
  const SdaiIfcaddresstypeenum_var   purpose_() const;
        SdaiIfcaddresstypeenum_var   purpose_();
        void purpose_( const SdaiIfcaddresstypeenum_var x );

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

  const SdaiIfclabel   userdefinedpurpose_() const;
        SdaiIfclabel   userdefinedpurpose_();
        void userdefinedpurpose_( const SdaiIfclabel x );

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

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

};

inline SdaiIfcaddress * create_SdaiIfcaddress() {
    return new SdaiIfcaddress;
}

void init_SdaiIfcaddress(Registry& reg);

namespace ifc2x3 {
    extern EntityDescriptor *e_ifcaddress;
    extern AttrDescriptor *a_457purpose;
    extern AttrDescriptor *a_458description;
    extern AttrDescriptor *a_459userdefinedpurpose;
    extern Inverse_attribute *a_460Iofperson;
    extern Inverse_attribute *a_461Ioforganization;
}

#endif
