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

#include <ChemEqValidator.h>

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

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)
inline

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
inlinevirtual

Definition at line 28 of file ChemEqValidator.h.

References CChemEqInterface::isValidEq(), and TO_UTF8.

29  {
30  std::string eq = TO_UTF8(input);
31 
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: