OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
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// Class BoolArray
26// ------------------------------------------------------------------------
27
28namespace Attributes {
29
31 class BoolArray : public AttributeHandler {
32 public:
34 // Assign attribute name and help string.
35 BoolArray(const std::string& name, const std::string& help);
36
37 virtual ~BoolArray();
38
40 virtual const std::string& getType() const;
41
43 virtual void parse(Attribute&, Statement&, bool) const;
44
46 // Identified by its index.
47 virtual void parseComponent(Attribute&, Statement&, bool, int) const;
48
49 private:
50 // Not implemented.
53 void operator=(const BoolArray&);
54 };
55
56}; // namespace Attributes
57
58#endif // OPAL_BoolArray_HH
Abstract base class for attribute parsers.
A representation of an Object attribute.
Definition Attribute.h:52
Parser for an attribute of type logical array.
Definition BoolArray.h:31
void operator=(const BoolArray &)
virtual const std::string & getType() const
Return attribute type string `‘logical array’'.
Definition BoolArray.cpp:41
virtual void parseComponent(Attribute &, Statement &, bool, int) const
Parse a component of the array.
Definition BoolArray.cpp:60
BoolArray(const BoolArray &)
virtual void parse(Attribute &, Statement &, bool) const
Parse the attribute.
Definition BoolArray.cpp:46
Interface for statements.
Definition Statement.h:37
A collection of routines to construct object Attributes and retrieve.