IEC61970 16v29a
Main Page
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
•
All
Classes
Variables
16v29a
refactored
CIMFactory.hpp
1
#ifndef CIMFACTORY_HPP
2
#define CIMFACTORY_HPP
3
4
#include <string>
5
#include <unordered_map>
6
#include "BaseClass.h"
7
8
class
CIMFactory
9
{
10
public
:
11
CIMFactory
();
12
static
BaseClass
* CreateNew(
const
std::string& name);
13
static
bool
IsCIMClass(
const
std::string& name);
14
15
private
:
16
static
std::unordered_map<std::string, BaseClass* (*)()> factory_map;
17
};
18
19
#endif // CIMFACTORY_HPP
CIMFactory
Definition:
CIMFactory.hpp:8
BaseClass
Definition:
BaseClass.h:6
Generated by
1.8.13