ZNC  trunk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
CTemplateLoopContext Class Reference

#include <Template.h>

Public Member Functions

 CTemplateLoopContext (unsigned long uFilePos, const CString &sLoopName, bool bReverse, std::vector< CTemplate * > *pRows)
 
virtual ~CTemplateLoopContext ()
 
 CTemplateLoopContext (const CTemplateLoopContext &)=default
 
CTemplateLoopContextoperator= (const CTemplateLoopContext &)=default
 
void SetHasData (bool b=true)
 
void SetName (const CString &s)
 
void SetRowIndex (unsigned int u)
 
unsigned int IncRowIndex ()
 
unsigned int DecRowIndex ()
 
void SetFilePosition (unsigned int u)
 
bool HasData () const
 
const CStringGetName () const
 
unsigned long GetFilePosition () const
 
unsigned int GetRowIndex () const
 
size_t GetRowCount ()
 
std::vector< CTemplate * > * GetRows ()
 
CTemplateGetNextRow ()
 
CTemplateGetCurRow ()
 
CTemplateGetRow (unsigned int uIndex)
 
CString GetValue (const CString &sName, bool bFromIf=false)
 

Constructor & Destructor Documentation

CTemplateLoopContext::CTemplateLoopContext ( unsigned long  uFilePos,
const CString sLoopName,
bool  bReverse,
std::vector< CTemplate * > *  pRows 
)
inline
virtual CTemplateLoopContext::~CTemplateLoopContext ( )
inlinevirtual
CTemplateLoopContext::CTemplateLoopContext ( const CTemplateLoopContext )
default

Member Function Documentation

unsigned int CTemplateLoopContext::DecRowIndex ( )
inline
CTemplate* CTemplateLoopContext::GetCurRow ( )
inline

References GetRow().

unsigned long CTemplateLoopContext::GetFilePosition ( ) const
inline
const CString& CTemplateLoopContext::GetName ( ) const
inline
CTemplate* CTemplateLoopContext::GetNextRow ( )
inline

References GetRow(), and IncRowIndex().

CTemplate* CTemplateLoopContext::GetRow ( unsigned int  uIndex)

Referenced by GetCurRow(), and GetNextRow().

size_t CTemplateLoopContext::GetRowCount ( )
inline
unsigned int CTemplateLoopContext::GetRowIndex ( ) const
inline
std::vector<CTemplate*>* CTemplateLoopContext::GetRows ( )
inline
CString CTemplateLoopContext::GetValue ( const CString sName,
bool  bFromIf = false 
)
bool CTemplateLoopContext::HasData ( ) const
inline
unsigned int CTemplateLoopContext::IncRowIndex ( )
inline

Referenced by GetNextRow().

CTemplateLoopContext& CTemplateLoopContext::operator= ( const CTemplateLoopContext )
default
void CTemplateLoopContext::SetFilePosition ( unsigned int  u)
inline
void CTemplateLoopContext::SetHasData ( bool  b = true)
inline
void CTemplateLoopContext::SetName ( const CString s)
inline
void CTemplateLoopContext::SetRowIndex ( unsigned int  u)
inline

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