v2.0.0
Loading...
Searching...
No Matches
mna_registry_loader.h
Go to the documentation of this file.
1//=============================================================================================================
34
35#ifndef MNA_REGISTRY_LOADER_H
36#define MNA_REGISTRY_LOADER_H
37
38//=============================================================================================================
39// INCLUDES
40//=============================================================================================================
41
42#include "mna_global.h"
43
44//=============================================================================================================
45// QT INCLUDES
46//=============================================================================================================
47
48#include <QString>
49
50//=============================================================================================================
51// FORWARD DECLARATIONS
52//=============================================================================================================
53
54namespace MNALIB { class MnaOpRegistry; }
55
56//=============================================================================================================
57// DEFINE NAMESPACE MNALIB
58//=============================================================================================================
59
60namespace MNALIB
61{
62
63//=============================================================================================================
74{
75public:
83 static int loadFile(const QString& path, MnaOpRegistry& registry);
84
96 static int loadDirectory(const QString& registryDir, MnaOpRegistry& registry);
97
106 static bool saveFile(const QString& path,
107 const QString& provider,
108 const MnaOpRegistry& registry);
109};
110
111} // namespace MNALIB
112
113#endif // MNA_REGISTRY_LOADER_H
mna library export/import macros.
#define MNASHARED_EXPORT
Definition mna_global.h:55
MNE Analysis Container Format (mna/mnx).
Operation registry for the MNA graph model.
Declarative MNA registry file loader.
static bool saveFile(const QString &path, const QString &provider, const MnaOpRegistry &registry)
static int loadDirectory(const QString &registryDir, MnaOpRegistry &registry)
static int loadFile(const QString &path, MnaOpRegistry &registry)