#pragma once #include #include #include #include #include namespace nn { namespace hac { class ServiceAccessControlBinary : public fnd::IByteModel { public: ServiceAccessControlBinary(); ServiceAccessControlBinary(const ServiceAccessControlBinary& other); void operator=(const ServiceAccessControlBinary& other); bool operator==(const ServiceAccessControlBinary& other) const; bool operator!=(const ServiceAccessControlBinary& 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 addService(const ServiceAccessControlEntry& service); private: const std::string kModuleName = "SERVICE_ACCESS_CONTROL_BINARY"; // raw binary fnd::Vec mRawBinary; // variables fnd::List mServices; }; } }