#ifndef  ENTITY_SDAIDATUM_REFERENCE_H
#define  ENTITY_SDAIDATUM_REFERENCE_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 SdaiDatum_reference : public SDAI_Application_instance {
    protected:
        SDAI_Integer _precedence = 0;
        SDAI_Application_instance_ptr _referenced_datum = NULL;
    public: 
        SdaiDatum_reference();
        SdaiDatum_reference( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiDatum_reference( SdaiDatum_reference & e );
        ~SdaiDatum_reference();
        int opcode() {
            return 238;
        }
        SDAI_Integer   precedence_() const;
        void precedence_( const SDAI_Integer x );

        SdaiDatum_ptr_c referenced_datum_() const;
        SdaiDatum_ptr   referenced_datum_();
        void referenced_datum_( const SdaiDatum_ptr x );

};

inline SdaiDatum_reference * create_SdaiDatum_reference() {
    return new SdaiDatum_reference;
}

void init_SdaiDatum_reference(Registry& reg);

namespace process_planning_schema {
    extern EntityDescriptor *e_datum_reference;
    extern AttrDescriptor *a_323precedence;
    extern AttrDescriptor *a_324referenced_datum;
}

#endif
