PhoenixSwarm
5.2.0
Library to ease communication between daemons
Toggle main menu visibility
Loading...
Searching...
No Matches
AbstractFunction.cpp
Go to the documentation of this file.
1
/***************************************
2
Auteur : Pierre Aubert
3
Mail : pierre.aubert@lapp.in2p3.fr
4
Licence : CeCILL-C
5
****************************************/
6
7
#include "
AbstractFunction.h
"
8
9
using namespace
Swarm
;
10
12
14
AbstractFunction::AbstractFunction
(
const
PString & name){
15
initialisationAbstractFunction
(name);
16
}
17
19
AbstractFunction::~AbstractFunction
(){
20
21
}
22
24
26
void
AbstractFunction::setName
(
const
PString & name){
27
p_name
= name;
28
}
29
31
33
const
PString &
AbstractFunction::getName
()
const
{
34
return
p_name
;
35
}
36
38
40
void
AbstractFunction::setPrototype
(
const
PString & prototype){
41
p_prototype
= prototype;
42
}
43
45
47
const
PString &
AbstractFunction::getPrototype
()
const
{
48
return
p_prototype
;
49
}
50
52
54
void
AbstractFunction::initialisationAbstractFunction
(
const
PString & name){
55
p_name
= name;
56
}
57
58
59
60
61
AbstractFunction.h
Swarm::AbstractFunction::p_prototype
PString p_prototype
Prototype of the function.
Definition
AbstractFunction.h:34
Swarm::AbstractFunction::getPrototype
const PString & getPrototype() const
Get the prototype of the current function.
Definition
AbstractFunction.cpp:47
Swarm::AbstractFunction::p_name
PString p_name
Name of the function.
Definition
AbstractFunction.h:32
Swarm::AbstractFunction::getName
const PString & getName() const
Name of the function.
Definition
AbstractFunction.cpp:33
Swarm::AbstractFunction::initialisationAbstractFunction
void initialisationAbstractFunction(const PString &name)
Initialisation function of the class AbstractFunction.
Definition
AbstractFunction.cpp:54
Swarm::AbstractFunction::setPrototype
void setPrototype(const PString &prototype)
Set the prototype of the current function.
Definition
AbstractFunction.cpp:40
Swarm::AbstractFunction::setName
void setName(const PString &name)
Set the name of the function.
Definition
AbstractFunction.cpp:26
Swarm::AbstractFunction::~AbstractFunction
virtual ~AbstractFunction()
Destructor of AbstractFunction.
Definition
AbstractFunction.cpp:19
Swarm::AbstractFunction::AbstractFunction
AbstractFunction(const PString &name)
Default constructor of AbstractFunction.
Definition
AbstractFunction.cpp:14
Swarm
Definition
StatSort.h:12
src
Function
AbstractFunction.cpp
Generated by
1.17.0