COPASI API  4.16.103
Public Member Functions | List of all members
ChemEqValidator Class Reference

#include <ChemEqValidator.h>

Inheritance diagram for ChemEqValidator:
Inheritance graph
Collaboration diagram for ChemEqValidator:
Collaboration graph

Public Member Functions

 ChemEqValidator (QObject *parent)
virtual State validate (QString &input, int &C_UNUSED(pos)) const

Detailed Description

Definition at line 21 of file ChemEqValidator.h.

Constructor & Destructor Documentation

ChemEqValidator::ChemEqValidator ( QObject *  parent)

Definition at line 24 of file ChemEqValidator.h.

25  : QValidator(parent)
26  {}

Member Function Documentation

virtual State ChemEqValidator::validate ( QString &  input,
int &  C_UNUSEDpos 
) const

Definition at line 28 of file ChemEqValidator.h.

References CChemEqInterface::isValidEq(), and TO_UTF8.

29  {
30  std::string eq = TO_UTF8(input);
33  return Acceptable;
34  else
35  return Intermediate;
36  }
static bool isValidEq(const std::string &eq)
#define TO_UTF8(__x)
Definition: qtUtilities.h:74

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