OPALX (Object Oriented Parallel Accelerator Library for Exascal)
master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
AttributeBase.cpp
Go to the documentation of this file.
1
// ------------------------------------------------------------------------
2
// $RCSfile: AttributeBase.cpp,v $
3
// ------------------------------------------------------------------------
4
// $Revision: 1.2.4.1 $
5
// ------------------------------------------------------------------------
6
// Copyright: see Copyright.readme
7
// ------------------------------------------------------------------------
8
//
9
// Class: AttributeBase
10
// The abstract base class for all attribute types.
11
//
12
// ------------------------------------------------------------------------
13
//
14
// $Date: 2002/12/09 15:06:07 $
15
// $Author: jsberg $
16
//
17
// ------------------------------------------------------------------------
18
19
#include "
AbstractObjects/AttributeBase.h
"
20
#include <sstream>
21
22
// Class AttributeBase
23
// ------------------------------------------------------------------------
24
25
AttributeBase::AttributeBase
() {}
26
27
AttributeBase::~AttributeBase
() {}
28
29
std::string
AttributeBase::getImage
()
const
{
30
std::ostringstream os;
31
print
(os);
32
os << std::ends;
33
return
os.str();
34
}
35
36
bool
AttributeBase::isExpression
()
const
{
return
false
; }
AttributeBase.h
AttributeBase::AttributeBase
AttributeBase()
Definition
AttributeBase.cpp:25
AttributeBase::isExpression
virtual bool isExpression() const
Test for expression.
Definition
AttributeBase.cpp:36
AttributeBase::~AttributeBase
virtual ~AttributeBase()
Definition
AttributeBase.cpp:27
AttributeBase::getImage
std::string getImage() const
Convert to string.
Definition
AttributeBase.cpp:29
AttributeBase::print
virtual void print(std::ostream &) const =0
Print value.
src
AbstractObjects
AttributeBase.cpp
Generated on Mon Jun 1 2026 10:40:52 for OPALX (Object Oriented Parallel Accelerator Library for Exascal) by
1.9.8