Skip to content

Commit 8280ede

Browse files
committed
[c++] Add filter enum to datatypes
1 parent ec039d3 commit 8280ede

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/utils/datatypes.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@
1212
#include <nix/DataType.hpp>
1313
#include <mex.h>
1414

15+
enum switchFilter : int8_t {
16+
AcceptAll,
17+
Id,
18+
Ids,
19+
Type,
20+
Name,
21+
Metadata,
22+
Source
23+
};
24+
1525
inline nix::DataType dtype_mex2nix(const mxArray *array) {
1626
mxClassID cid = mxGetClassID(array);
1727

0 commit comments

Comments
 (0)