OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
Definition.cpp
Go to the documentation of this file.
1// ------------------------------------------------------------------------
2// $RCSfile: Definition.cpp,v $
3// ------------------------------------------------------------------------
4// $Revision: 1.1.1.1 $
5// ------------------------------------------------------------------------
6// Copyright: see Copyright.readme
7// ------------------------------------------------------------------------
8//
9// Class: Definition
10// The abstract base class for all OPAL definitions.
11//
12// ------------------------------------------------------------------------
13//
14// $Date: 2000/03/27 09:33:34 $
15// $Author: Andreas Adelmann $
16//
17// ------------------------------------------------------------------------
18
20
21// Class Definition
22// ------------------------------------------------------------------------
23
25
26const std::string Definition::getCategory() const { return "DEFINITION"; }
27
28bool Definition::shouldTrace() const { return false; }
29
30bool Definition::shouldUpdate() const { return false; }
31
32Definition::Definition(int size, const char* name, const char* help) : Object(size, name, help) {}
33
34Definition::Definition(const std::string& name, Definition* parent) : Object(name, parent) {}
The base class for all OPAL definitions.
Definition Definition.h:29
virtual bool shouldUpdate() const
Update flag.
virtual bool shouldTrace() const
Trace flag.
virtual const std::string getCategory() const
Return the object category as a string.
virtual ~Definition()
The base class for all OPAL objects.
Definition Object.h:45