dl
dl::Array2< T, W, H > 模板类 参考

二维array 更多...

#include <dl_array2.h>

Public 成员函数

T * operator[] (std::size_t j)
 返回第j行
 
const T * operator[] (std::size_t j) const
 返回第j行
 
const T & Get (size_t j, size_t i) const
 
T & GetRef (size_t j, size_t i)
 
bool CheckRange (size_t j, size_t i) const
 
bool CheckRange (const SizeT &xy) const
 
void Fill (const T &v)
 填充值
 
std::byte * GetBuffer ()
 
T * GetData ()
 
unsigned GetWidth ()
 
unsigned GetHeight ()
 
Size GetSize ()
 
size_t GetSizeByte ()
 
auto begin ()
 
auto end ()
 

详细描述

template<typename T, size_t W, size_t H>
class dl::Array2< T, W, H >

二维array

在文件 dl_array2.h 第 22 行定义.

成员函数说明

◆ begin()

template<typename T, size_t W, size_t H>
auto dl::Array2< T, W, H >::begin ( )
inline

在文件 dl_array2.h 第 103 行定义.

◆ CheckRange() [1/2]

template<typename T, size_t W, size_t H>
bool dl::Array2< T, W, H >::CheckRange ( const SizeT & xy) const
inline

在文件 dl_array2.h 第 59 行定义.

◆ CheckRange() [2/2]

template<typename T, size_t W, size_t H>
bool dl::Array2< T, W, H >::CheckRange ( size_t j,
size_t i ) const
inline

在文件 dl_array2.h 第 55 行定义.

◆ end()

template<typename T, size_t W, size_t H>
auto dl::Array2< T, W, H >::end ( )
inline

在文件 dl_array2.h 第 107 行定义.

◆ Fill()

template<typename T, size_t W, size_t H>
void dl::Array2< T, W, H >::Fill ( const T & v)
inline

填充值

在文件 dl_array2.h 第 67 行定义.

◆ Get()

template<typename T, size_t W, size_t H>
const T & dl::Array2< T, W, H >::Get ( size_t j,
size_t i ) const
inline

在文件 dl_array2.h 第 42 行定义.

◆ GetBuffer()

template<typename T, size_t W, size_t H>
std::byte * dl::Array2< T, W, H >::GetBuffer ( )
inline

在文件 dl_array2.h 第 73 行定义.

◆ GetData()

template<typename T, size_t W, size_t H>
T * dl::Array2< T, W, H >::GetData ( )
inline

在文件 dl_array2.h 第 78 行定义.

◆ GetHeight()

template<typename T, size_t W, size_t H>
unsigned dl::Array2< T, W, H >::GetHeight ( )
inline

在文件 dl_array2.h 第 88 行定义.

◆ GetRef()

template<typename T, size_t W, size_t H>
T & dl::Array2< T, W, H >::GetRef ( size_t j,
size_t i )
inline

在文件 dl_array2.h 第 48 行定义.

◆ GetSize()

template<typename T, size_t W, size_t H>
Size dl::Array2< T, W, H >::GetSize ( )
inline

在文件 dl_array2.h 第 93 行定义.

◆ GetSizeByte()

template<typename T, size_t W, size_t H>
size_t dl::Array2< T, W, H >::GetSizeByte ( )
inline

在文件 dl_array2.h 第 98 行定义.

◆ GetWidth()

template<typename T, size_t W, size_t H>
unsigned dl::Array2< T, W, H >::GetWidth ( )
inline

在文件 dl_array2.h 第 83 行定义.

◆ operator[]() [1/2]

template<typename T, size_t W, size_t H>
T * dl::Array2< T, W, H >::operator[] ( std::size_t j)
inline

返回第j行

在文件 dl_array2.h 第 28 行定义.

◆ operator[]() [2/2]

template<typename T, size_t W, size_t H>
const T * dl::Array2< T, W, H >::operator[] ( std::size_t j) const
inline

返回第j行

在文件 dl_array2.h 第 36 行定义.


该类的文档由以下文件生成: