#include <idvalidator.hpp>
CSVWorld::IdValidator::IdValidator |
( |
bool |
relaxed = false , |
|
|
QObject * |
parent = 0 |
|
) |
| |
- Parameters
-
relaxed | Relaxed rules for IDs that also functino as user visible text |
std::string CSVWorld::IdValidator::getError |
( |
| ) |
const |
Return a description of the error that resulted in the last call of validate returning QValidator::Intermediate. If the last call to validate returned a different value (or if there was no such call yet), an empty string is returned.
bool CSVWorld::IdValidator::isValid |
( |
const QChar & |
c, |
|
|
bool |
first |
|
) |
| const |
|
private |
void CSVWorld::IdValidator::setNamespace |
( |
const std::string & |
namespace_ | ) |
|
QValidator::State CSVWorld::IdValidator::validate |
( |
QString & |
input, |
|
|
int & |
pos |
|
) |
| const |
|
virtual |
std::string CSVWorld::IdValidator::mError |
|
mutableprivate |
std::string CSVWorld::IdValidator::mNamespace |
|
private |
bool CSVWorld::IdValidator::mRelaxed |
|
private |
The documentation for this class was generated from the following files: