utls::Ary< PixelType > Struct Template Reference

#include <ary.h>

Public Types

typedef PixelType value
 
typedef PixelType * pointer
 
typedef PixelType ** row_pointer
 
typedef int size_type
 
typedef int coord_type
 

Public Member Functions

 Ary ()
 
 Ary (coord_type fr, coord_type lr, coord_type fc, coord_type lc, pointer attach_to=0)
 
 Ary (coord_type nrows, coord_type ncols, pointer attach_to=0)
 
 Ary (const Ary &other, bool do_copy=true, bool do_attach=false)
 
 ~Ary ()
 
pointer ptr () const
 
size_type rows () const
 
size_type cols () const
 
size_type size () const
 
bool isin (coord_type row, coord_type col) const
 
void cons (coord_type firstrow, coord_type lastrow, coord_type firstcol, coord_type lastcol, pointer attach_to)
 
void clear ()
 
void set (const PixelType &value)
 
void detach ()
 
Arycopy () const
 
void copy (const Ary &from)
 
void copy (const Ary *from)
 
void deallocate ()
 

Public Attributes

coord_type lb1
 
coord_type lb2
 
coord_type ub1
 
coord_type ub2
 
size_type num_rows
 
size_type num_cols
 
pointer data
 
row_pointer el
 
int tag
 
void * user_data
 

Member Typedef Documentation

template<typename PixelType >
typedef int utls::Ary< PixelType >::coord_type
template<typename PixelType >
typedef PixelType* utls::Ary< PixelType >::pointer
template<typename PixelType >
typedef PixelType** utls::Ary< PixelType >::row_pointer
template<typename PixelType >
typedef int utls::Ary< PixelType >::size_type
template<typename PixelType >
typedef PixelType utls::Ary< PixelType >::value

Constructor & Destructor Documentation

template<typename PixelType >
utls::Ary< PixelType >::Ary ( )
inline
template<typename PixelType >
utls::Ary< PixelType >::Ary ( coord_type  fr,
coord_type  lr,
coord_type  fc,
coord_type  lc,
pointer  attach_to = 0 
)
inline
template<typename PixelType >
utls::Ary< PixelType >::Ary ( coord_type  nrows,
coord_type  ncols,
pointer  attach_to = 0 
)
inline
template<typename PixelType >
utls::Ary< PixelType >::Ary ( const Ary< PixelType > &  other,
bool  do_copy = true,
bool  do_attach = false 
)
inline
template<typename PixelType >
utls::Ary< PixelType >::~Ary ( )
inline

Member Function Documentation

template<typename PixelType >
void utls::Ary< PixelType >::clear ( )
inline
template<typename PixelType >
size_type utls::Ary< PixelType >::cols ( ) const
inline
template<typename PixelType >
void utls::Ary< PixelType >::cons ( coord_type  firstrow,
coord_type  lastrow,
coord_type  firstcol,
coord_type  lastcol,
pointer  attach_to 
)
inline
template<typename PixelType >
Ary* utls::Ary< PixelType >::copy ( ) const
inline
template<typename PixelType >
void utls::Ary< PixelType >::copy ( const Ary< PixelType > &  from)
inline
template<typename PixelType >
void utls::Ary< PixelType >::copy ( const Ary< PixelType > *  from)
inline
template<typename PixelType >
void utls::Ary< PixelType >::deallocate ( )
inline
template<typename PixelType >
void utls::Ary< PixelType >::detach ( )
inline
template<typename PixelType >
bool utls::Ary< PixelType >::isin ( coord_type  row,
coord_type  col 
) const
inline
template<typename PixelType >
pointer utls::Ary< PixelType >::ptr ( ) const
inline
template<typename PixelType >
size_type utls::Ary< PixelType >::rows ( ) const
inline
template<typename PixelType >
void utls::Ary< PixelType >::set ( const PixelType &  value)
inline
template<typename PixelType >
size_type utls::Ary< PixelType >::size ( ) const
inline

Member Data Documentation

template<typename PixelType >
pointer utls::Ary< PixelType >::data
template<typename PixelType >
row_pointer utls::Ary< PixelType >::el
template<typename PixelType >
coord_type utls::Ary< PixelType >::lb1
template<typename PixelType >
coord_type utls::Ary< PixelType >::lb2
template<typename PixelType >
size_type utls::Ary< PixelType >::num_cols
template<typename PixelType >
size_type utls::Ary< PixelType >::num_rows
template<typename PixelType >
int utls::Ary< PixelType >::tag
template<typename PixelType >
coord_type utls::Ary< PixelType >::ub1
template<typename PixelType >
coord_type utls::Ary< PixelType >::ub2
template<typename PixelType >
void* utls::Ary< PixelType >::user_data

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