Candidate_v1.7.0
        stable
      
      
      
| Rev | Line |   | 
|---|
| [23958d] | 1 | /*
 | 
|---|
 | 2 |  * MoleculeIdValidator.hpp
 | 
|---|
 | 3 |  *
 | 
|---|
 | 4 |  *  Created on: May 10, 2012
 | 
|---|
 | 5 |  *      Author: heber
 | 
|---|
 | 6 |  */
 | 
|---|
 | 7 | 
 | 
|---|
 | 8 | #ifndef MOLECULEIDVALIDATOR_HPP_
 | 
|---|
 | 9 | #define MOLECULEIDVALIDATOR_HPP_
 | 
|---|
 | 10 | 
 | 
|---|
 | 11 | 
 | 
|---|
 | 12 | // include config.h
 | 
|---|
 | 13 | #ifdef HAVE_CONFIG_H
 | 
|---|
 | 14 | #include <config.h>
 | 
|---|
 | 15 | #endif
 | 
|---|
 | 16 | 
 | 
|---|
 | 17 | #include "types.hpp"
 | 
|---|
 | 18 | 
 | 
|---|
| [ae1fd1] | 19 | #include "Parameters/Validators/Validator.hpp"
 | 
|---|
| [23958d] | 20 | 
 | 
|---|
 | 21 | /** This validator checks whether the given molecule id refers to one molecule
 | 
|---|
 | 22 |  * currently present in the World.
 | 
|---|
 | 23 |  */
 | 
|---|
| [ae1fd1] | 24 | class MoleculeIdValidator : public Validator<moleculeId_t>
 | 
|---|
 | 25 | {
 | 
|---|
 | 26 |   bool isValid(const moleculeId_t & _value) const;
 | 
|---|
 | 27 |   bool operator==(const Validator<moleculeId_t> &_instance) const;
 | 
|---|
 | 28 |   Validator< moleculeId_t >* clone() const;
 | 
|---|
 | 29 | };
 | 
|---|
| [23958d] | 30 | 
 | 
|---|
 | 31 | 
 | 
|---|
 | 32 | #endif /* MOLECULEIDVALIDATOR_HPP_ */
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.