Aller au contenu
Bienvenue sur la nouvelle documentation de CppUtils !
using CppUtils::Terminal::DynamicAreaBufferStorage::Line = std::vector<CharCell>;
using CppUtils::Terminal::DynamicAreaBufferStorage::Buffer = std::vector<Line>;
DynamicAreaBufferStorage::DynamicAreaBufferStorage(const Container::Size2<>& size, Buffer&& buffer);
DynamicAreaBufferStorage::DynamicAreaBufferStorage(const Container::Size2<>& size = {0, 0}, CharCell defaultCell = {});
DynamicAreaBufferStorage::DynamicAreaBufferStorage(const Container::Size2<>& size, char defaultChar);
auto DynamicAreaBufferStorage::setSize(const Container::Size2<>& size) noexcept -> void;
[[nodiscard]] auto DynamicAreaBufferStorage::getSize() const noexcept -> Container::Size2<> final;
[[nodiscard]] auto DynamicAreaBufferStorage::getChar(const Container::Size2<>& position) const noexcept -> const CharCell& final;
auto DynamicAreaBufferStorage::setChar(const Container::Size2<>& position, const CharCell& c) noexcept -> void final;
[[nodiscard]] auto DynamicAreaBufferStorage::getBuffer() const noexcept [[clang::lifetimebound, msvc::lifetimebound]] -> const Buffer&;