OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
src
src
AbstractObjects
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
RCObject
()
27
{}
28
29
30
AttributeBase::~AttributeBase
()
31
{}
32
33
34
std::string
AttributeBase::getImage
()
const
{
35
std::ostringstream os;
36
print
(os);
37
os << std::ends;
38
return
os.str();
39
}
40
41
42
bool
AttributeBase::isExpression
()
const
{
43
return
false
;
44
}
AttributeBase.h
AttributeBase::AttributeBase
AttributeBase()
Definition:
AttributeBase.cpp:25
AttributeBase::isExpression
virtual bool isExpression() const
Test for expression.
Definition:
AttributeBase.cpp:42
AttributeBase::~AttributeBase
virtual ~AttributeBase()
Definition:
AttributeBase.cpp:30
AttributeBase::getImage
std::string getImage() const
Convert to string.
Definition:
AttributeBase.cpp:34
AttributeBase::print
virtual void print(std::ostream &) const =0
Print value.
RCObject
Abstract base class for reference counted objects.
Definition:
RCObject.h:40
Generated on Wed Aug 25 2021 16:41:00 for OPAL (Object Oriented Parallel Accelerator Library) by
1.9.1