OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
RealArray.h
Go to the documentation of this file.
1#ifndef OPAL_RealArray_HH
2#define OPAL_RealArray_HH
3
4// ------------------------------------------------------------------------
5// $RCSfile: RealArray.h,v $
6// ------------------------------------------------------------------------
7// $Revision: 1.1.1.1 $
8// ------------------------------------------------------------------------
9// Copyright: see Copyright.readme
10// ------------------------------------------------------------------------
11//
12// Class RealArray:
13//
14// ------------------------------------------------------------------------
15//
16// $Date: 2000/03/27 09:33:36 $
17// $Author: Andreas Adelmann $
18//
19// ------------------------------------------------------------------------
20
24
25// Class RealArray
26// ------------------------------------------------------------------------
27
28namespace Attributes {
29
31 class RealArray : public AttributeHandler {
32 public:
34 // Assign attribute name and help string.
35 RealArray(const std::string& name, const std::string& help);
36
37 virtual ~RealArray();
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 RealArray&);
54 };
55
56}; // namespace Attributes
57
58#endif // OPAL_RealArray_HH
Abstract base class for attribute parsers.
A representation of an Object attribute.
Definition Attribute.h:52
Parser for an attribute of type real array.
Definition RealArray.h:31
void operator=(const RealArray &)
virtual const std::string & getType() const
Return attribute type string `‘real array’'.
Definition RealArray.cpp:41
virtual void parseComponent(Attribute &, Statement &, bool, int) const
Parse a component of the array.
Definition RealArray.cpp:60
RealArray(const RealArray &)
virtual void parse(Attribute &, Statement &, bool) const
Parse the attribute.
Definition RealArray.cpp:46
Interface for statements.
Definition Statement.h:37
A collection of routines to construct object Attributes and retrieve.