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
WsjcppStorageColumnValue Class Reference

#include <wsjcpp_storages.h>

Public Member Functions

 WsjcppStorageColumnValue (const std::string &sColumnName, WsjcppStorageColumnType nType)
 
void setValue (std::string sValue)
 
void setValue (int nValue)
 
void setValue (double nValue)
 
std::string getColumnName ()
 
WsjcppStorageColumnType getColumnType ()
 
std::string getString ()
 
int getInt ()
 
double getDouble ()
 

Private Attributes

std::string m_sColumnName
 
WsjcppStorageColumnType m_nColumnType
 
std::string m_sStringValue
 
int m_nIntValue
 
double m_nDoubleValue
 

Constructor & Destructor Documentation

◆ WsjcppStorageColumnValue()

WsjcppStorageColumnValue::WsjcppStorageColumnValue ( const std::string &  sColumnName,
WsjcppStorageColumnType  nType 
)

Member Function Documentation

◆ getColumnName()

std::string WsjcppStorageColumnValue::getColumnName ( )

◆ getColumnType()

WsjcppStorageColumnType WsjcppStorageColumnValue::getColumnType ( )

◆ getDouble()

double WsjcppStorageColumnValue::getDouble ( )

◆ getInt()

int WsjcppStorageColumnValue::getInt ( )

◆ getString()

std::string WsjcppStorageColumnValue::getString ( )

◆ setValue() [1/3]

void WsjcppStorageColumnValue::setValue ( std::string  sValue)

◆ setValue() [2/3]

void WsjcppStorageColumnValue::setValue ( int  nValue)

◆ setValue() [3/3]

void WsjcppStorageColumnValue::setValue ( double  nValue)

Member Data Documentation

◆ m_nColumnType

WsjcppStorageColumnType WsjcppStorageColumnValue::m_nColumnType
private

◆ m_nDoubleValue

double WsjcppStorageColumnValue::m_nDoubleValue
private

◆ m_nIntValue

int WsjcppStorageColumnValue::m_nIntValue
private

◆ m_sColumnName

std::string WsjcppStorageColumnValue::m_sColumnName
private

◆ m_sStringValue

std::string WsjcppStorageColumnValue::m_sStringValue
private

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