MCPcopy Create free account
hub / github.com/Phobos-developers/Phobos / IsValidString

Method IsValidString

src/Utilities/GeneralUtils.cpp:13–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11#include "AresHelper.h"
12
13bool GeneralUtils::IsValidString(const char* str)
14{
15 return str != nullptr
16 && strlen(str) != 0
17 && !INIClass::IsBlank(str);
18}
19
20void GeneralUtils::IntValidCheck(int* source, const char* section, const char* tag, int defaultValue, int min, int max)
21{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected