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

#include <wsjcpp_validators.h>

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

Public Member Functions

 WsjcppValidatorStringLength (int nMinLength, int nMaxLength)
 
virtual bool isValid (const std::string &sValue, std::string &sError)
 
- Public Member Functions inherited from WsjcppValidatorStringBase
 WsjcppValidatorStringBase (const std::string &typeName)
 
virtual WsjcppValidatorType getBaseType ()
 
virtual std::string getTypeName ()
 

Private Attributes

std::string TAG
 
int m_nMinLength
 
int m_nMaxLength
 

Additional Inherited Members

- Protected Attributes inherited from WsjcppValidatorStringBase
std::string TAG
 

Constructor & Destructor Documentation

◆ WsjcppValidatorStringLength()

WsjcppValidatorStringLength::WsjcppValidatorStringLength ( int  nMinLength,
int  nMaxLength 
)

Member Function Documentation

◆ isValid()

bool WsjcppValidatorStringLength::isValid ( const std::string &  sValue,
std::string &  sError 
)
virtual

Member Data Documentation

◆ m_nMaxLength

int WsjcppValidatorStringLength::m_nMaxLength
private

◆ m_nMinLength

int WsjcppValidatorStringLength::m_nMinLength
private

◆ TAG

std::string WsjcppValidatorStringLength::TAG
private

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