OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
AbstractVar.cpp
Go to the documentation of this file.
1 // ------------------------------------------------------------------------
2 // $RCSfile: AbstractVar.cpp,v $
3 // ------------------------------------------------------------------------
4 // $Revision: 1.1.1.1 $
5 // ------------------------------------------------------------------------
6 // Copyright: see Copyright.readme
7 // ------------------------------------------------------------------------
8 //
9 // Class: AbstractVar
10 // This abstract class defines the interface for a variable to be
11 // adjusted during matching.
12 //
13 // ------------------------------------------------------------------------
14 //
15 // $Date: 2000/03/27 09:33:43 $
16 // $Author: Andreas Adelmann $
17 //
18 // ------------------------------------------------------------------------
19 
20 #include "Match/AbstractVar.h"
21 
22 
23 // Class AbstractVar
24 // ------------------------------------------------------------------------
25 
26 
27 AbstractVar::AbstractVar(const std::string &name):
28  itsName(name)
29 {}
30 
31 
33 {}
34 
35 
36 const std::string &AbstractVar::getName() const {
37  return itsName;
38 }
const std::string itsName
Name of the variable.
Definition: AbstractVar.h:62
virtual const std::string & getName() const
Get the variable name.
Definition: AbstractVar.cpp:36
virtual ~AbstractVar()
Definition: AbstractVar.cpp:32
const std::string name