v2.0.0
Loading...
Searching...
No Matches
mna_registry_loader.h
Go to the documentation of this file.
1//=============================================================================================================
30
31#ifndef MNA_REGISTRY_LOADER_H
32#define MNA_REGISTRY_LOADER_H
33
34//=============================================================================================================
35// INCLUDES
36//=============================================================================================================
37
38#include "mna_global.h"
39
40//=============================================================================================================
41// QT INCLUDES
42//=============================================================================================================
43
44#include <QString>
45
46//=============================================================================================================
47// FORWARD DECLARATIONS
48//=============================================================================================================
49
50namespace MNALIB { class MnaOpRegistry; }
51
52//=============================================================================================================
53// DEFINE NAMESPACE MNALIB
54//=============================================================================================================
55
56namespace MNALIB
57{
58
59//=============================================================================================================
70{
71public:
79 static int loadFile(const QString& path, MnaOpRegistry& registry);
80
92 static int loadDirectory(const QString& registryDir, MnaOpRegistry& registry);
93
102 static bool saveFile(const QString& path,
103 const QString& provider,
104 const MnaOpRegistry& registry);
105};
106
107} // namespace MNALIB
108
109#endif // MNA_REGISTRY_LOADER_H
Export/import macros, build-info accessors, and MNALIB namespace anchor for the MNE Analysis Containe...
#define MNASHARED_EXPORT
Definition mna_global.h:47
MNE Analysis Container Format (mna/mnx).
Process-wide lookup from opType to MnaOpSchema and implementation function.
Reads MNA op-schema manifests and feeds them into MnaOpRegistry, with drop-in directory merge support...
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)