Public Member Functions | Private Attributes

DRA_INFO Class Reference

#include <dra_internal.h>

Collaboration diagram for DRA_INFO:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DRA_INFO (INT16 ndims, INT64 esize, struct mem_pool *pool)
INT16 Num_Dims () const
DISTRIBUTE_TYPE Distr_Type (INT16 dim) const
INT64 Chunk_Const_Val (INT16 dim) const
void Init (INT16 dim, DISTRIBUTE_TYPE dt)
void Init (INT16 dim, DISTRIBUTE_TYPE dt, INT64 chunksize)
INT64 Element_Size () const
void Print (FILE *fp) const

Private Attributes

INT16 _ndims
INT64 _esize
struct mem_pool_pool
RESHAPED_DIM_dims

Detailed Description

Definition at line 219 of file dra_internal.h.


Constructor & Destructor Documentation

DRA_INFO::DRA_INFO ( INT16  ndims,
INT64  esize,
struct mem_pool pool 
) [inline]

Definition at line 233 of file dra_internal.h.

References RESHAPED_DIM::_chunksize, _dims, _esize, _ndims, _pool, and CXX_NEW_ARRAY.


Member Function Documentation

INT64 DRA_INFO::Chunk_Const_Val ( INT16  dim  )  const [inline]
DISTRIBUTE_TYPE DRA_INFO::Distr_Type ( INT16  dim  )  const [inline]
INT64 DRA_INFO::Element_Size (  )  const [inline]

Definition at line 268 of file dra_internal.h.

References _esize.

Referenced by DRA_New_Clone_Sig().

void DRA_INFO::Init ( INT16  dim,
DISTRIBUTE_TYPE  dt,
INT64  chunksize 
) [inline]
void DRA_INFO::Init ( INT16  dim,
DISTRIBUTE_TYPE  dt 
) [inline]
INT16 DRA_INFO::Num_Dims (  )  const [inline]

Definition at line 243 of file dra_internal.h.

References _ndims.

Referenced by DRA_Info_Matches_Encoding(), and DRA_New_Clone_Sig().

void DRA_INFO::Print ( FILE *  fp  )  const [inline]

Definition at line 270 of file dra_internal.h.

References _dims, RESHAPED_DIM::_distr_type, _ndims, DISTRIBUTE_BLOCK, DISTRIBUTE_CYCLIC_CONST, DISTRIBUTE_CYCLIC_EXPR, DISTRIBUTE_STAR, and fprintf().

Here is the call graph for this function:


Member Data Documentation

Definition at line 229 of file dra_internal.h.

Referenced by Chunk_Const_Val(), Distr_Type(), DRA_INFO(), Init(), and Print().

Definition at line 225 of file dra_internal.h.

Referenced by DRA_INFO(), and Element_Size().

Definition at line 223 of file dra_internal.h.

Referenced by DRA_INFO(), Num_Dims(), and Print().

struct mem_pool* DRA_INFO::_pool [private]

Definition at line 227 of file dra_internal.h.

Referenced by DRA_INFO().


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