fhq-server  v0.2.33
Documentation for fhq-server. FreeHackQuest is an open source platform for competitions of computer security.
Public Member Functions | Private Member Functions | List of all members
CmdClassbookExportHandler Class Reference

This handler will be export classbook record. More...

#include <cmd_handlers_classbook.h>

Inheritance diagram for CmdClassbookExportHandler:
Inheritance graph
[legend]
Collaboration diagram for CmdClassbookExportHandler:
Collaboration graph
[legend]

Public Member Functions

 CmdClassbookExportHandler ()
 
virtual void handle (ModelRequest *pRequest)
 
- Public Member Functions inherited from CmdHandlerBase
 CmdHandlerBase (const std::string &sCmd, const std::string &sDescription)
 
virtual std::string cmd ()
 
virtual std::string description ()
 
std::string activatedFromVersion ()
 
std::string deprecatedFromVersion ()
 
bool accessUnauthorized ()
 
bool accessUser ()
 
bool accessAdmin ()
 
bool checkAccess (ModelRequest *pRequest)
 
virtual const std::vector< CmdInputDef > & inputs ()
 

Private Member Functions

void createHtml (QFile *file, const std::string &sLang, QSqlQuery query)
 
void createMD (QFile *file, const std::string &sLang, QSqlQuery query)
 

Additional Inherited Members

- Protected Member Functions inherited from CmdHandlerBase
void setAccessUnauthorized (bool bAccess)
 
void setAccessUser (bool bAccess)
 
void setAccessAdmin (bool bAccess)
 
void setActivatedFromVersion (const std::string &sActivatedFromVersion)
 
void setDeprecatedFromVersion (const std::string &sDeprecatedFromVersion)
 
CmdInputDefrequireStringParam (const std::string &sName, const std::string &sDescription)
 
CmdInputDefoptionalStringParam (const std::string &sName, const std::string &sDescription)
 
CmdInputDefrequireIntegerParam (const std::string &sName, const std::string &sDescription)
 
CmdInputDefoptionalIntegerParam (const std::string &sName, const std::string &sDescription)
 
CmdInputDefrequireBooleanParam (const std::string &sName, const std::string &sDescription)
 
CmdInputDefoptionalBooleanParam (const std::string &sName, const std::string &sDescription)
 
- Protected Attributes inherited from CmdHandlerBase
std::string TAG
 
std::string m_sCmd
 
std::string m_sDescription
 

Detailed Description

This handler will be export classbook record.

Constructor & Destructor Documentation

◆ CmdClassbookExportHandler()

CmdClassbookExportHandler::CmdClassbookExportHandler ( )

Member Function Documentation

◆ createHtml()

void CmdClassbookExportHandler::createHtml ( QFile *  file,
const std::string &  sLang,
QSqlQuery  query 
)
private

◆ createMD()

void CmdClassbookExportHandler::createMD ( QFile *  file,
const std::string &  sLang,
QSqlQuery  query 
)
private

◆ handle()

void CmdClassbookExportHandler::handle ( ModelRequest pRequest)
virtual

Implements CmdHandlerBase.


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