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