source: src/Parameters/Validators/Specific/AtomIdValidator.hpp

Candidate_v1.6.1
Last change on this file was 0d0b4d, checked in by Frederik Heber <heber@…>, 13 years ago

AtomIdValidator implemented

  • Property mode set to 100644
File size: 613 bytes
Line 
1/*
2 * AtomIdValidator.hpp
3 *
4 * Created on: May 10, 2012
5 * Author: heber
6 */
7
8#ifndef ATOMIDVALIDATOR_HPP_
9#define ATOMIDVALIDATOR_HPP_
10
11
12// include config.h
13#ifdef HAVE_CONFIG_H
14#include <config.h>
15#endif
16
17#include "types.hpp"
18
19#include "Parameters/Validators/Validator.hpp"
20
21/** This validators checks whether the given atomic id is present in the World.
22 *
23 */
24class AtomIdValidator : public Validator<atomId_t>
25{
26 bool isValid(const atomId_t & _value) const;
27 bool operator==(const Validator<atomId_t> &_instance) const;
28 Validator< atomId_t >* clone() const;
29};
30
31
32#endif /* ATOMIDVALIDATOR_HPP_ */
Note: See TracBrowser for help on using the repository browser.