OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
StringArray.h
Go to the documentation of this file.
1#ifndef OPAL_StringArray_HH
2#define OPAL_StringArray_HH
3
4// ------------------------------------------------------------------------
5// $RCSfile: StringArray.h,v $
6// ------------------------------------------------------------------------
7// $Revision: 1.1.1.1 $
8// ------------------------------------------------------------------------
9// Copyright: see Copyright.readme
10// ------------------------------------------------------------------------
11//
12// Class StringArray:
13//
14// ------------------------------------------------------------------------
15//
16// $Date: 2000/03/27 09:33:36 $
17// $Author: Andreas Adelmann $
18//
19// ------------------------------------------------------------------------
20
24
25
26// Class StringArray
27// ------------------------------------------------------------------------
28
29namespace Attributes {
30
33
34 public:
35
37 // Assign attribute name and help string.
38 StringArray(const std::string &name, const std::string &help);
39
40 virtual ~StringArray();
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.
57 void operator=(const StringArray &);
58 };
59
60};
61
62#endif // OPAL_StringArray_HH
A collection of routines to construct object Attributes and retrieve.
A representation of an Object attribute.
Definition Attribute.h:52
AttributeHandler(const std::string &name, const std::string &help, AttributeBase *def)
Constructor.
virtual const std::string & getType() const
Return attribute type string ``string array''.
StringArray(const StringArray &)
virtual void parseComponent(Attribute &, Statement &, bool, int) const
Parse a component of the array.
virtual void parse(Attribute &, Statement &, bool) const
Parse the attribute.
StringArray(const std::string &name, const std::string &help)
Constructor.
void operator=(const StringArray &)
Interface for statements.
Definition Statement.h:38