TRF Language Model
wb::vIter< T > Class Template Reference

#include <wb-iter.h>

Public Member Functions

 vIter (T *pbuf, int dim)
 
 ~vIter ()
 
void Reset ()
 
bool Next ()
 
void AddLine (T beg, T end, T step=1)
 
void AddAllLine (T beg, T end, T step=1)
 
void AddAry (T *p, int n)
 
void AddAllAry (T *p, int n)
 

Public Attributes

T * m_pBuf
 the buffer More...
 
int m_nDim
 dimension More...
 
Array< iter::Obj< T > * > m_aObj
 the iter of each dimension More...
 
int m_nCur
 current number More...
 

Detailed Description

template<typename T>
class wb::vIter< T >

Definition at line 81 of file wb-iter.h.

Constructor & Destructor Documentation

§ vIter()

template<typename T >
wb::vIter< T >::vIter ( T *  pbuf,
int  dim 
)
inline

Definition at line 89 of file wb-iter.h.

§ ~vIter()

template<typename T >
wb::vIter< T >::~vIter ( )
inline

Definition at line 90 of file wb-iter.h.

Member Function Documentation

§ AddAllAry()

template<typename T >
void wb::vIter< T >::AddAllAry ( T *  p,
int  n 
)
inline

Definition at line 132 of file wb-iter.h.

§ AddAllLine()

template<typename T >
void wb::vIter< T >::AddAllLine ( beg,
end,
step = 1 
)
inline

Definition at line 124 of file wb-iter.h.

§ AddAry()

template<typename T >
void wb::vIter< T >::AddAry ( T *  p,
int  n 
)
inline

Definition at line 129 of file wb-iter.h.

§ AddLine()

template<typename T >
void wb::vIter< T >::AddLine ( beg,
end,
step = 1 
)
inline

Definition at line 121 of file wb-iter.h.

§ Next()

template<typename T >
bool wb::vIter< T >::Next ( )
inline

Definition at line 98 of file wb-iter.h.

§ Reset()

template<typename T >
void wb::vIter< T >::Reset ( )
inline

Definition at line 91 of file wb-iter.h.

Member Data Documentation

§ m_aObj

template<typename T >
Array<iter::Obj<T>*> wb::vIter< T >::m_aObj

the iter of each dimension

Definition at line 86 of file wb-iter.h.

§ m_nCur

template<typename T >
int wb::vIter< T >::m_nCur

current number

Definition at line 87 of file wb-iter.h.

§ m_nDim

template<typename T >
int wb::vIter< T >::m_nDim

dimension

Definition at line 85 of file wb-iter.h.

§ m_pBuf

template<typename T >
T* wb::vIter< T >::m_pBuf

the buffer

Definition at line 84 of file wb-iter.h.


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