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