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