#include "lib/StdAdaptors.h"
Go to the source code of this file.
Classes | |
struct | C4StrValAdapt< T > |
struct | ValidatedStdCopyStrBufBase |
struct | ValidatedStdCopyStrBuf< V > |
Namespaces | |
C4InVal | |
Functions | |
bool | C4InVal::ValidateString (char *szString, ValidationOption eOption, size_t iMaxSize) |
bool | C4InVal::ValidateString (StdStrBuf &rsString, ValidationOption eOption) |
bool | C4InVal::ValidateInt (int32_t &riVal, int32_t iMinVal, int32_t iMaxVal) |
bool | C4InVal::ValidateFilename (char *szFilename, size_t iMaxSize=_MAX_PATH) |
template<class T > | |
C4StrValAdapt< T > | mkStrValAdapt (T &&rValue, C4InVal::ValidationOption eValType) |
Variables | |
const unsigned int | C4MaxName = 30 |
const unsigned int | C4MaxLongName = 120 |
const unsigned int | C4MaxComment = 256 |
|
inline |
Definition at line 66 of file C4InputValidation.h.
Referenced by C4SHead::CompileFunc().
const unsigned int C4MaxComment = 256 |
Definition at line 25 of file C4InputValidation.h.
Referenced by C4StartupPlrPropertiesDlg::C4StartupPlrPropertiesDlg(), C4GameOptionButtons::OnBtnComment(), and C4InVal::ValidateString().
const unsigned int C4MaxLongName = 120 |
Definition at line 24 of file C4InputValidation.h.
Referenced by C4InVal::ValidateString().
const unsigned int C4MaxName = 30 |
Definition at line 23 of file C4InputValidation.h.
Referenced by C4NameList::Add(), C4MessageInput::AddCommand(), C4AdditionalDefGraphics::C4AdditionalDefGraphics(), C4DefGraphicsPtrBackupEntry::C4DefGraphicsPtrBackupEntry(), C4MCOverlay::C4MCOverlay(), C4StartupPlrPropertiesDlg::C4StartupPlrPropertiesDlg(), C4Team::C4Team(), C4RankSystem::Check(), C4NameList::CompileFunc(), C4TeamList::CreateTeam(), C4ObjectInfoCore::Default(), C4Command::Fail(), C4RankSystem::Init(), C4FontLoader::InitFont(), C4DefGraphics::Load(), C4Game::LoadScenarioComponents(), C4Game::LoadScenarioSection(), C4UpdatePackage::MakeUpdate(), C4ObjectInfoList::MakeValidName(), C4StartupPlrPropertiesDlg::OnClosed(), C4MCParser::ParseFile(), C4MCParser::ParseMemFile(), C4MessageInput::ProcessInput(), C4PlayerInfoCore::Promote(), C4LangStringTable::ReplaceStrings(), C4NameList::Set(), C4GraphicsOverlay::Set(), and C4InVal::ValidateString().