JEMRIS 2.9.2
open-source MRI simulations
Loading...
Searching...
No Matches
CoilPrototypeFactory.h
Go to the documentation of this file.
1
5/*
6 * JEMRIS Copyright (C)
7 * 2006-2025 Tony Stoecker
8 * 2007-2018 Kaveh Vahedipour
9 * 2009-2019 Daniel Pflugfelder
10 *
11 *
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
25 */
26
27#ifndef COILPROTOTYPEFACTORY_H_
28#define COILPROTOTYPEFACTORY_H_
29
30#include "Coil.h"
31#include "PrototypeFactory.h"
32
37
38
39public:
40
49
54
61 Coil* Clone (DOMNode* node) ;
62
69 Coil* Clone (string name) ;
70
76 map<string, Coil*>* getList() {return &m_Clonables;}
77
78
79 protected:
80
86 Coil* get (string name) ;
87
94 int upper(int c);
95
96
97 private:
98
99
100 map<string, Coil*> m_Clonables;
102};
103
104#endif /*COILPROTOTYPEFACTORY_H_*/
Implementation of JEMRIS Coil.
Implementation of JEMRIS PrototypeFactory.
This interface knows about coil prototypes.
Definition CoilPrototypeFactory.h:36
map< string, Coil * > m_Clonables
Coil protoype list.
Definition CoilPrototypeFactory.h:100
Coil * get(string name)
Definition CoilPrototypeFactory.cpp:47
virtual ~CoilPrototypeFactory()
Destructor.
Definition CoilPrototypeFactory.h:53
map< string, Coil * > * getList()
Get list of all coil prototypes.
Definition CoilPrototypeFactory.h:76
Coil * Clone(DOMNode *node)
Definition CoilPrototypeFactory.cpp:52
CoilPrototypeFactory()
Constructor.
Definition CoilPrototypeFactory.cpp:37
Base class of coil objects.
Definition Coil.h:39
Base class for prototype factories.
Definition PrototypeFactory.h:44

-- last change 03.01.2025 | Tony Stoecker | Imprint | Data Protection --