OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Range.h
Go to the documentation of this file.
1 #ifndef OPAL_Range_HH
2 #define OPAL_Range_HH
3 
4 // ------------------------------------------------------------------------
5 // $RCSfile: Range.h,v $
6 // ------------------------------------------------------------------------
7 // $Revision: 1.1.1.1 $
8 // ------------------------------------------------------------------------
9 // Copyright: see Copyright.readme
10 // ------------------------------------------------------------------------
11 //
12 // Class: Range
13 //
14 // ------------------------------------------------------------------------
15 //
16 // $Date: 2000/03/27 09:33:36 $
17 // $Author: Andreas Adelmann $
18 //
19 // ------------------------------------------------------------------------
20 
23 
24 class Attribute;
25 
26 // Class Range
27 // ------------------------------------------------------------------------
28 
29 namespace Attributes {
30 
32  class Range: public AttributeHandler {
33 
34  public:
35 
37  // Assign attribute name and help string.
38  Range(const std::string &name, const std::string &help);
39 
40  virtual ~Range();
41 
43  virtual const std::string &getType() const;
44 
46  virtual void parse(Attribute &, Statement &, bool) const;
47 
48  private:
49 
50  // Not implemented.
51  Range();
52  Range(const Range &);
53  void operator=(const Range &);
54  };
55 
56 };
57 
58 #endif // OPAL_Range_HH
virtual void parse(Attribute &, Statement &, bool) const
Parse the attribute.
Definition: Range.cpp:48
void operator=(const Range &)
virtual ~Range()
Definition: Range.cpp:38
A representation of an Object attribute.
Definition: Attribute.h:55
Interface for statements.
Definition: Statement.h:38
Abstract base class for attribute parsers.
const std::string name
virtual const std::string & getType() const
Return attribute type ``range''.
Definition: Range.cpp:42
Parser for an attribute of type range definition.
Definition: Range.h:32