File tree Expand file tree Collapse file tree 5 files changed +0
-44
lines changed Expand file tree Collapse file tree 5 files changed +0
-44
lines changed Original file line number Diff line number Diff line change 75
75
% References methods
76
76
% ------------------
77
77
78
- function refList = list_references(obj )
79
- refList = nix_mx(' MultiTag::listReferences' , obj .nix_handle );
80
- end ;
81
-
82
78
function retObj = open_reference(obj , id_or_name )
83
79
handle = nix_mx(' MultiTag::openReferences' , obj .nix_handle , id_or_name );
84
80
retObj = {};
108
104
% Features methods
109
105
% ------------------
110
106
111
- function featureList = list_features(obj )
112
- featureList = nix_mx(' MultiTag::listFeatures' , obj .nix_handle );
113
- end ;
114
-
115
107
function retObj = open_feature(obj , id_or_name )
116
108
handle = nix_mx(' MultiTag::openFeature' , obj .nix_handle , id_or_name );
117
109
retObj = {};
141
133
% Sources methods
142
134
% ------------------
143
135
144
- function sourceList = list_sources(obj )
145
- sourceList = nix_mx(' MultiTag::listSources' , obj .nix_handle );
146
- end ;
147
-
148
136
function retObj = open_source(obj , id_or_name )
149
137
handle = nix_mx(' MultiTag::openSource' , obj .nix_handle , id_or_name );
150
138
retObj = {};
Original file line number Diff line number Diff line change @@ -71,9 +71,6 @@ const std::vector<fendpoint> funcs = {
71
71
72
72
// Multi Tag
73
73
{ " MultiTag::describe" , nixmultitag::describe },
74
- { " MultiTag::listReferences" , nixmultitag::list_references_array },
75
- { " MultiTag::listFeatures" , nixmultitag::list_features },
76
- { " MultiTag::listSources" , nixmultitag::list_sources },
77
74
{ " MultiTag::retrieveData" , nixmultitag::retrieve_data },
78
75
{ " MultiTag::featureRetrieveData" , nixmultitag::retrieve_feature_data },
79
76
Original file line number Diff line number Diff line change @@ -25,24 +25,6 @@ namespace nixmultitag {
25
25
output.set (0 , sb.array ());
26
26
}
27
27
28
- void list_references_array (const extractor &input, infusor &output)
29
- {
30
- nix::MultiTag currObj = input.entity <nix::MultiTag>(1 );
31
- output.set (0 , nixgen::list_data_arrays (currObj.references ()));
32
- }
33
-
34
- void list_features (const extractor &input, infusor &output)
35
- {
36
- nix::MultiTag currObj = input.entity <nix::MultiTag>(1 );
37
- output.set (0 , nixgen::list_features (currObj.features ()));
38
- }
39
-
40
- void list_sources (const extractor &input, infusor &output)
41
- {
42
- nix::MultiTag currObj = input.entity <nix::MultiTag>(1 );
43
- output.set (0 , nixgen::list_sources (currObj.sources ()));
44
- }
45
-
46
28
void retrieve_data (const extractor &input, infusor &output) {
47
29
nix::MultiTag currObj = input.entity <nix::MultiTag>(1 );
48
30
double p_index = input.num <double >(2 );
Original file line number Diff line number Diff line change @@ -7,12 +7,6 @@ namespace nixmultitag {
7
7
8
8
void describe (const extractor &input, infusor &output);
9
9
10
- void list_references_array (const extractor &input, infusor &output);
11
-
12
- void list_features (const extractor &input, infusor &output);
13
-
14
- void list_sources (const extractor &input, infusor &output);
15
-
16
10
void retrieve_data (const extractor &input, infusor &output);
17
11
18
12
void retrieve_feature_data (const extractor &input, infusor &output);
Original file line number Diff line number Diff line change 23
23
getBlock = test_file .openBlock(test_file.blocks{1 ,1 }.name);
24
24
getMultiTag = getBlock .open_multi_tag(getBlock.multiTags{1 ,1 }.id);
25
25
26
- assert(size(getMultiTag .list_references(), 1 ) == 1 );
27
26
assert(size(getMultiTag .references(), 1 ) == 1 );
28
27
end
29
28
33
32
getBlock = test_file .openBlock(test_file.blocks{1 ,1 }.name);
34
33
getMultiTag = getBlock .open_multi_tag(getBlock.multiTags{1 ,1 }.id);
35
34
36
- assert(size(getMultiTag .list_sources(),1 ) == 1 );
37
35
assert(size(getMultiTag .sources(),1 ) == 1 );
38
36
end
39
37
44
42
getMultiTag = getBlock .open_multi_tag(getBlock.multiTags{1 ,1 }.id);
45
43
46
44
% -- ToDo get testfile with tag referencing a source
47
- assert(size(getMultiTag .list_features(),1 ) == 0 );
48
- disp(' Test MultiTag: list features ... TODO (proper testfile)' );
49
-
50
45
assert(size(getMultiTag .features(),1 ) == 0 );
51
46
disp(' Test MultiTag: fetch features ... TODO (proper testfile)' );
52
47
end
You can’t perform that action at this time.
0 commit comments