#pragma once #include #include #include #include #include namespace nn { namespace hac { class ServiceAccessControl : public fnd::IByteModel { public: ServiceAccessControl(); ServiceAccessControl(const ServiceAccessControl& other); void operator=(const ServiceAccessControl& other); bool operator==(const ServiceAccessControl& other) const; bool operator!=(const ServiceAccessControl& other) const; // IByteModel void toBytes(); void fromBytes(const byte_t* bytes, size_t len); const fnd::Vec& getBytes() const; // variables void clear(); const fnd::List& getServiceList() const; void setServiceList(const fnd::List& list); private: const std::string kModuleName = "SERVICE_ACCESS_CONTROL"; // raw binary fnd::Vec mRawBinary; // variables fnd::List mServices; }; } }