Skip to content

Class FlexGrid

ClassList > FlexGrid

Inherits the following classes: GridData

Public Functions

Type Name
FlexGrid (size_t width, size_t height, int n_bytes, int data_type={})
FlexGrid (const FlexGrid & other) = default
FlexGrid (FlexGrid && other) noexcept
std::byte * data ()
const std::byte * data () const
int data_type () const
void fill_from (const FlexGrid & other, const Coordinate2D< long long > & top_left={0, 0})
T get (const Coordinate2D< long long > & coord) const
unsigned int n_bytes () const
FlexGrid & operator= (const FlexGrid & other) = default
FlexGrid & operator= (FlexGrid && other) noexcept
std::byte * operator[] (Coordinate2D< size_t > coord)
const std::byte * operator[] (Coordinate2D< size_t > coord) const
~FlexGrid () = default

Public Functions inherited from GridData

See GridData

Type Name
GridData (size_t width, size_t height)
size_t height () const
bool in_bounds (const Coordinate2D< size_t > & coord) const
size_t width () const

Protected Attributes

Type Name
blaze::memory_tracker::GridVector< std::byte > m_data
unsigned int m_data_size
int m_data_type

Protected Attributes inherited from GridData

See GridData

Type Name
size_t m_height
size_t m_width

Public Functions Documentation

function FlexGrid [1/3]

FlexGrid::FlexGrid (
    size_t width,
    size_t height,
    int n_bytes,
    int data_type={}
) 

function FlexGrid [2/3]

FlexGrid::FlexGrid (
    const FlexGrid & other
) = default

function FlexGrid [3/3]

FlexGrid::FlexGrid (
    FlexGrid && other
) noexcept

function data [1/2]

inline std::byte * FlexGrid::data () 

function data [2/2]

inline const std::byte * FlexGrid::data () const

function data_type

int FlexGrid::data_type () const

function fill_from

inline void FlexGrid::fill_from (
    const FlexGrid & other,
    const Coordinate2D < long long > & top_left={0, 0}
) 

function get

template<typename T>
inline T FlexGrid::get (
    const Coordinate2D < long long > & coord
) const

function n_bytes

inline unsigned int FlexGrid::n_bytes () const

function operator=

FlexGrid & FlexGrid::operator= (
    const FlexGrid & other
) = default

function operator=

FlexGrid & FlexGrid::operator= (
    FlexGrid && other
) noexcept

function operator[]

inline std::byte * FlexGrid::operator[] (
    Coordinate2D < size_t > coord
) 

function operator[]

inline const std::byte * FlexGrid::operator[] (
    Coordinate2D < size_t > coord
) const

function ~FlexGrid

FlexGrid::~FlexGrid () = default

Protected Attributes Documentation

variable m_data

blaze::memory_tracker::GridVector<std::byte> FlexGrid::m_data;

variable m_data_size

unsigned int FlexGrid::m_data_size;

variable m_data_type

int FlexGrid::m_data_type;


The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/lib/grid/grid.hpp