OpenLexocad  27.1
CmdUtils.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <App/Element.h>
4 #include <OpenLxApp/Element.h>
5 #include <OpenLxApp/SubElement.h>
6 
7 #include <memory>
8 #include <vector>
9 
10 
11 namespace OpenLxCmd
12 {
13 std::vector<App::Element*> toAppElements(const std::vector<std::shared_ptr<OpenLxApp::Element>>& aElems);
14 std::vector<std::shared_ptr<OpenLxApp::Element>> toOpenLxElements(const std::vector<App::Element*>& aElems);
15 std::shared_ptr<OpenLxApp::Element> toOpenLxElement(App::Element* aElem);
16 std::shared_ptr<OpenLxApp::SubElement> toOpenLxSubElement(App::SubElement* aElem);
17 } // namespace OpenLxCmd
std::vector< App::Element * > toAppElements(const std::vector< std::shared_ptr< OpenLxApp::Element >> &aElems)
std::vector< std::shared_ptr< OpenLxApp::Element > > toOpenLxElements(const std::vector< App::Element * > &aElems)
std::shared_ptr< OpenLxApp::SubElement > toOpenLxSubElement(App::SubElement *aElem)
std::shared_ptr< OpenLxApp::Element > toOpenLxElement(App::Element *aElem)
Definition: CmdAddBolt.h:7