#ifndef  ENTITY_SDAIIFCGEOMETRICREPRESENTATIONCONTEXT_H
#define  ENTITY_SDAIIFCGEOMETRICREPRESENTATIONCONTEXT_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 SdaiIfcgeometricrepresentationcontext : public SdaiIfcrepresentationcontext {
     protected:
        SDAI_Integer _coordinatespacedimension = 0;
        SDAI_Real _precision = 0.0;    //  OPTIONAL
        SdaiIfcaxis2placement _worldcoordinatesystem;
        SDAI_Application_instance_ptr _truenorth = NULL;    //  OPTIONAL
    public: 
        SdaiIfcgeometricrepresentationcontext();
        SdaiIfcgeometricrepresentationcontext( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiIfcgeometricrepresentationcontext( SdaiIfcgeometricrepresentationcontext & e );
        ~SdaiIfcgeometricrepresentationcontext();
        int opcode() {
            return 170;
        }
        SdaiIfcdimensioncount   coordinatespacedimension_() const;
        void coordinatespacedimension_( const SdaiIfcdimensioncount x );

        SDAI_Real   precision_() const;
        void precision_( const SDAI_Real x );

        SdaiIfcaxis2placement_ptr_c worldcoordinatesystem_() const;
        SdaiIfcaxis2placement_ptr   worldcoordinatesystem_();
        void worldcoordinatesystem_( const SdaiIfcaxis2placement_ptr x );

        SdaiIfcdirection_ptr_c truenorth_() const;
        SdaiIfcdirection_ptr   truenorth_();
        void truenorth_( const SdaiIfcdirection_ptr x );

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

};

inline SdaiIfcgeometricrepresentationcontext * create_SdaiIfcgeometricrepresentationcontext() {
    return new SdaiIfcgeometricrepresentationcontext;
}

void init_SdaiIfcgeometricrepresentationcontext(Registry& reg);

namespace ifc4 {
    extern EntityDescriptor *e_ifcgeometricrepresentationcontext;
    extern AttrDescriptor *a_377coordinatespacedimension;
    extern AttrDescriptor *a_378precision;
    extern AttrDescriptor *a_379worldcoordinatesystem;
    extern AttrDescriptor *a_380truenorth;
    extern Inverse_attribute *a_381Ihassubcontexts;
}

#endif
