Agora  1.2.0
Agora project
Table< T > Class Template Reference

#include <memory_manage.h>

Public Member Functions

 Table ()
 
void Malloc (size_t dim1, size_t dim2, Agora_memory::Alignment_t alignment)
 
void Calloc (size_t dim1, size_t dim2, Agora_memory::Alignment_t alignment)
 
void RandAllocFloat (size_t dim1, size_t dim2, Agora_memory::Alignment_t alignment)
 
void RandAllocCxFloat (size_t dim1, size_t dim2, Agora_memory::Alignment_t alignment)
 
bool IsAllocated ()
 
void Free ()
 
const TAt (size_t dim1) const
 
Toperator[] (size_t dim1)
 
size_t Dim1 ()
 
size_t Dim2 ()
 

Private Attributes

size_t dim2_ {0}
 
size_t dim1_ {0}
 
Tdata_
 

Constructor & Destructor Documentation

◆ Table()

template<typename T >
Table< T >::Table ( )
inline

Member Function Documentation

◆ At()

template<typename T >
const T* Table< T >::At ( size_t  dim1) const
inline
Here is the caller graph for this function:

◆ Calloc()

template<typename T >
void Table< T >::Calloc ( size_t  dim1,
size_t  dim2,
Agora_memory::Alignment_t  alignment 
)
inline
Here is the caller graph for this function:

◆ Dim1()

template<typename T >
size_t Table< T >::Dim1 ( )
inline
Here is the caller graph for this function:

◆ Dim2()

template<typename T >
size_t Table< T >::Dim2 ( )
inline
Here is the caller graph for this function:

◆ Free()

template<typename T >
void Table< T >::Free ( )
inline
Here is the caller graph for this function:

◆ IsAllocated()

template<typename T >
bool Table< T >::IsAllocated ( )
inline
Here is the caller graph for this function:

◆ Malloc()

template<typename T >
void Table< T >::Malloc ( size_t  dim1,
size_t  dim2,
Agora_memory::Alignment_t  alignment 
)
inline
Here is the caller graph for this function:

◆ operator[]()

template<typename T >
T* Table< T >::operator[] ( size_t  dim1)
inline

◆ RandAllocCxFloat()

template<typename T >
void Table< T >::RandAllocCxFloat ( size_t  dim1,
size_t  dim2,
Agora_memory::Alignment_t  alignment 
)
inline
Here is the caller graph for this function:

◆ RandAllocFloat()

template<typename T >
void Table< T >::RandAllocFloat ( size_t  dim1,
size_t  dim2,
Agora_memory::Alignment_t  alignment 
)
inline

Member Data Documentation

◆ data_

template<typename T >
T* Table< T >::data_
private

◆ dim1_

template<typename T >
size_t Table< T >::dim1_ {0}
private

◆ dim2_

template<typename T >
size_t Table< T >::dim2_ {0}
private

The documentation for this class was generated from the following file: