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

#include <WebModules.h>

Public Member Functions

 CWebSession (const CString &sId, const CString &sIP)
 
 ~CWebSession ()
 
 CWebSession (const CWebSession &)=delete
 
CWebSessionoperator= (const CWebSession &)=delete
 
const CStringGetId () const
 
const CStringGetIP () const
 
CUserGetUser () const
 
time_t GetLastActive () const
 
bool IsLoggedIn () const
 
bool IsAdmin () const
 
void UpdateLastActive ()
 
CUserSetUser (CUser *p)
 
void ClearMessageLoops ()
 
void FillMessageLoops (CTemplate &Tmpl)
 
size_t AddError (const CString &sMessage)
 
size_t AddSuccess (const CString &sMessage)
 

Constructor & Destructor Documentation

CWebSession::CWebSession ( const CString sId,
const CString sIP 
)
CWebSession::~CWebSession ( )
CWebSession::CWebSession ( const CWebSession )
delete

Member Function Documentation

size_t CWebSession::AddError ( const CString sMessage)
size_t CWebSession::AddSuccess ( const CString sMessage)
void CWebSession::ClearMessageLoops ( )
void CWebSession::FillMessageLoops ( CTemplate Tmpl)
const CString& CWebSession::GetId ( ) const
inline
const CString& CWebSession::GetIP ( ) const
inline
time_t CWebSession::GetLastActive ( ) const
inline
CUser* CWebSession::GetUser ( ) const
inline
bool CWebSession::IsAdmin ( ) const
bool CWebSession::IsLoggedIn ( ) const
inline
CWebSession& CWebSession::operator= ( const CWebSession )
delete
CUser* CWebSession::SetUser ( CUser p)
inline
void CWebSession::UpdateLastActive ( )

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