OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
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// Class Attributes::Bool
25// ------------------------------------------------------------------------
26
27namespace Attributes {
28
30 class Bool : public AttributeHandler {
31 public:
33 // Assign attribute name and help string.
34 Bool(const std::string& name, const std::string& help);
35
36 virtual ~Bool();
37
39 virtual const std::string& getType() const;
40
42 virtual void parse(Attribute&, Statement&, bool) const;
43
44 private:
45 // Not implemented.
47 Bool(const Bool&);
48 void operator=(const Bool&);
49 };
50
51}; // namespace Attributes
52
53#endif // OPAL_Bool_HH
Abstract base class for attribute parsers.
A representation of an Object attribute.
Definition Attribute.h:52
Parser for attribute of type logical.
Definition Bool.h:30
virtual const std::string & getType() const
Return attribute type string `‘logical’'.
Definition Bool.cpp:43
Bool(const Bool &)
virtual ~Bool()
Definition Bool.cpp:41
void operator=(const Bool &)
virtual void parse(Attribute &, Statement &, bool) const
Parse the attribute.
Definition Bool.cpp:48
Interface for statements.
Definition Statement.h:37
A collection of routines to construct object Attributes and retrieve.