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

二维array 更多...

#include <dl_array2.h>

Public 成员函数

Toperator[] (std::size_t j)
 返回第j行
 
const Toperator[] (std::size_t j) const
 返回第j行
 
const TGet (size_t j, size_t i) const
 
TGetRef (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 ()
 
TGetData ()
 
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.h22 行定义.

成员函数说明

◆ begin()

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

在文件 dl_array2.h103 行定义.

◆ 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.h59 行定义.

◆ 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.h55 行定义.

◆ end()

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

在文件 dl_array2.h107 行定义.

◆ Fill()

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

填充值

在文件 dl_array2.h67 行定义.

◆ 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.h42 行定义.

◆ GetBuffer()

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

在文件 dl_array2.h73 行定义.

◆ GetData()

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

在文件 dl_array2.h78 行定义.

◆ GetHeight()

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

在文件 dl_array2.h88 行定义.

◆ 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.h48 行定义.

◆ GetSize()

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

在文件 dl_array2.h93 行定义.

◆ GetSizeByte()

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

在文件 dl_array2.h98 行定义.

◆ GetWidth()

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

在文件 dl_array2.h83 行定义.

◆ 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.h28 行定义.

◆ 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.h36 行定义.


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