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 | Private Attributes | List of all members
WsjcppStorageInsert Class Reference

#include <wsjcpp_storages.h>

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

Public Member Functions

 WsjcppStorageInsert (const std::string &sTableName)
 
virtual WsjcppStorageChangesType getType () const override
 
virtual std::string getStartApply () const override
 
virtual std::string getAppliedSuccess () const override
 
virtual std::string getAppliedFailed () const override
 
void bindValue (const std::string &sColumnName, const std::string &sValue)
 
void bindValue (const std::string &sColumnName, int nValue)
 
void bindValue (const std::string &sColumnName, double nValue)
 
std::vector< WsjcppStorageColumnValuevalues () const
 
bool isValid (const WsjcppStorageTable &storageTable) const
 
- Public Member Functions inherited from WsjcppStorageChanges
 WsjcppStorageChanges (const std::string &sTableName)
 
std::string getTableName () const
 

Private Member Functions

bool exists (const std::string &sColumnName)
 

Private Attributes

std::string TAG
 
std::string m_sTableName
 
std::vector< WsjcppStorageColumnValuem_vValues
 

Additional Inherited Members

- Protected Attributes inherited from WsjcppStorageChanges
std::string TAG
 
std::string m_sTableName
 

Constructor & Destructor Documentation

◆ WsjcppStorageInsert()

WsjcppStorageInsert::WsjcppStorageInsert ( const std::string &  sTableName)

Member Function Documentation

◆ bindValue() [1/3]

void WsjcppStorageInsert::bindValue ( const std::string &  sColumnName,
const std::string &  sValue 
)

◆ bindValue() [2/3]

void WsjcppStorageInsert::bindValue ( const std::string &  sColumnName,
int  nValue 
)

◆ bindValue() [3/3]

void WsjcppStorageInsert::bindValue ( const std::string &  sColumnName,
double  nValue 
)

◆ exists()

bool WsjcppStorageInsert::exists ( const std::string &  sColumnName)
private

◆ getAppliedFailed()

std::string WsjcppStorageInsert::getAppliedFailed ( ) const
overridevirtual

Reimplemented from WsjcppStorageChanges.

◆ getAppliedSuccess()

std::string WsjcppStorageInsert::getAppliedSuccess ( ) const
overridevirtual

Reimplemented from WsjcppStorageChanges.

◆ getStartApply()

std::string WsjcppStorageInsert::getStartApply ( ) const
overridevirtual

Reimplemented from WsjcppStorageChanges.

◆ getType()

WsjcppStorageChangesType WsjcppStorageInsert::getType ( ) const
overridevirtual

Reimplemented from WsjcppStorageChanges.

◆ isValid()

bool WsjcppStorageInsert::isValid ( const WsjcppStorageTable storageTable) const

◆ values()

std::vector< WsjcppStorageColumnValue > WsjcppStorageInsert::values ( ) const

Member Data Documentation

◆ m_sTableName

std::string WsjcppStorageInsert::m_sTableName
private

◆ m_vValues

std::vector<WsjcppStorageColumnValue> WsjcppStorageInsert::m_vValues
private

◆ TAG

std::string WsjcppStorageInsert::TAG
private

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