#ifndef __PCI_ITERATOR_HPP__ #define __PCI_ITERATOR_HPP__ #include #include #include #include #include #define ME_BUS_COUNT (256) #define ME_DEVICE_COUNT (33) #define ME_FUNCTION_COUNT (8) namespace HCore::PCI { class Iterator final { public: Iterator() = delete; public: explicit Iterator(const Types::PciDeviceKind &deviceType); Iterator &operator=(const Iterator &) = default; Iterator(const Iterator &) = default; ~Iterator(); public: Ref operator[](const Size &sz); private: Array m_Devices; }; } // namespace HCore::PCI #endif // __PCI_ITERATOR_HPP__