FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
nodeeditor/src/NodeDelegateModelRegistry.cpp at bt · BehaviorTree/nodeeditor · GitHub
BehaviorTree
/
nodeeditor
Public
forked from
l3enQ/nodeeditor
Notifications
You must be signed in to change notification settings
Fork
0
Star
4
Code
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
nodeeditor
/
src
/
NodeDelegateModelRegistry.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
36 lines (28 loc) · 926 Bytes
Breadcrumbs
nodeeditor
/
src
/
NodeDelegateModelRegistry.cpp
Copy path
File metadata and controls
36 lines (28 loc) · 926 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#
include
"
NodeDelegateModelRegistry.hpp
"
#
include
<
QtCore/QFile
>
#
include
<
QtWidgets/QMessageBox
>
using
QtNodes::NodeDataType;
using
QtNodes::NodeDelegateModel;
using
QtNodes::NodeDelegateModelRegistry;
std::unique_ptr<NodeDelegateModel>
NodeDelegateModelRegistry::create
(QString
const
&modelName)
{
auto
it = _registeredItemCreators.
find
(modelName);
if
(it != _registeredItemCreators.
end
()) {
return
it->
second
();
}
return
nullptr
;
}
NodeDelegateModelRegistry::RegisteredModelCreatorsMap
const
&
NodeDelegateModelRegistry::registeredModelCreators
()
const
{
return
_registeredItemCreators;
}
NodeDelegateModelRegistry::RegisteredModelsCategoryMap
const
&
NodeDelegateModelRegistry::registeredModelsCategoryAssociation
()
const
{
return
_registeredModelsCategory;
}
NodeDelegateModelRegistry::CategoriesSet
const
&
NodeDelegateModelRegistry::categories
()
const
{
return
_categories;
}
Back
|
FazBrowse Home
|
New Git URL