#ifndef  ENTITY_SDAIIFCMECHANICALFASTENER_H
#define  ENTITY_SDAIIFCMECHANICALFASTENER_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 SdaiIfcmechanicalfastener : public SdaiIfcfastener {
     protected:
        SDAI_Real _nominaldiameter = 0.0;    //  OPTIONAL
        SDAI_Real _nominallength = 0.0;    //  OPTIONAL
    public: 
        SdaiIfcmechanicalfastener();
        SdaiIfcmechanicalfastener( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiIfcmechanicalfastener( SdaiIfcmechanicalfastener & e );
        ~SdaiIfcmechanicalfastener();
        int opcode() {
            return 315;
        }
        SdaiIfcpositivelengthmeasure   nominaldiameter_() const;
        void nominaldiameter_( const SdaiIfcpositivelengthmeasure x );

        SdaiIfcpositivelengthmeasure   nominallength_() const;
        void nominallength_( const SdaiIfcpositivelengthmeasure x );

};

inline SdaiIfcmechanicalfastener * create_SdaiIfcmechanicalfastener() {
    return new SdaiIfcmechanicalfastener;
}

void init_SdaiIfcmechanicalfastener(Registry& reg);

namespace ifc2x3 {
    extern EntityDescriptor *e_ifcmechanicalfastener;
    extern AttrDescriptor *a_699nominaldiameter;
    extern AttrDescriptor *a_700nominallength;
}

#endif
