File tree Expand file tree Collapse file tree 5 files changed +0
-46
lines changed Expand file tree Collapse file tree 5 files changed +0
-46
lines changed Original file line number Diff line number Diff line change 85
85
% References methods
86
86
% ------------------
87
87
88
- function refList = list_references(obj )
89
- refList = nix_mx(' Tag::listReferences' , obj .nix_handle );
90
- end ;
91
-
92
88
function retObj = open_reference(obj , id_or_name )
93
89
handle = nix_mx(' Tag::openReferenceDataArray' , obj .nix_handle , id_or_name );
94
90
retObj = {};
116
112
% Features methods
117
113
% ------------------
118
114
119
- function featureList = list_features(obj )
120
- featureList = nix_mx(' Tag::listFeatures' , obj .nix_handle );
121
- end ;
122
-
123
115
function retObj = open_feature(obj , id_or_name )
124
116
handle = nix_mx(' Tag::openFeature' , obj .nix_handle , id_or_name );
125
117
retObj = {};
147
139
% Sources methods
148
140
% ------------------
149
141
150
- function sourceList = list_sources(obj )
151
- sourceList = nix_mx(' Tag::listSources' , obj .nix_handle );
152
- end ;
153
-
154
142
function retObj = open_source(obj , id_or_name )
155
143
handle = nix_mx(' Tag::openSource' , obj .nix_handle , id_or_name );
156
144
retObj = {};
Original file line number Diff line number Diff line change @@ -66,9 +66,6 @@ const std::vector<fendpoint> funcs = {
66
66
67
67
// Tag
68
68
{ " Tag::describe" , nixtag::describe },
69
- { " Tag::listReferences" , nixtag::list_references_array },
70
- { " Tag::listFeatures" , nixtag::list_features },
71
- { " Tag::listSources" , nixtag::list_sources },
72
69
{ " Tag::retrieveData" , nixtag::retrieve_data },
73
70
{ " Tag::featureRetrieveData" , nixtag::retrieve_feature_data },
74
71
Original file line number Diff line number Diff line change @@ -28,24 +28,6 @@ namespace nixtag {
28
28
output.set (0 , sb.array ());
29
29
}
30
30
31
- void list_references_array (const extractor &input, infusor &output)
32
- {
33
- nix::Tag currObj = input.entity <nix::Tag>(1 );
34
- output.set (0 , nixgen::list_data_arrays (currObj.references ()));
35
- }
36
-
37
- void list_features (const extractor &input, infusor &output)
38
- {
39
- nix::Tag currObj = input.entity <nix::Tag>(1 );
40
- output.set (0 , nixgen::list_features (currObj.features ()));
41
- }
42
-
43
- void list_sources (const extractor &input, infusor &output)
44
- {
45
- nix::Tag currObj = input.entity <nix::Tag>(1 );
46
- output.set (0 , nixgen::list_sources (currObj.sources ()));
47
- }
48
-
49
31
void retrieve_data (const extractor &input, infusor &output) {
50
32
nix::Tag currObj = input.entity <nix::Tag>(1 );
51
33
double index = input.num <double >(2 );
Original file line number Diff line number Diff line change @@ -7,12 +7,6 @@ namespace nixtag {
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 20
20
getBlock = test_file .openBlock(test_file.blocks{1 ,1 }.name);
21
21
getTag = getBlock .open_tag(getBlock.tags{1 ,1 }.id);
22
22
23
- assert(size(getTag .list_references(), 1 ) == 1 );
24
23
assert(size(getTag .references(), 1 ) == 1 );
25
24
end
26
25
31
30
getTag = getBlock .open_tag(getBlock.tags{1 ,1 }.id);
32
31
33
32
% -- ToDo get testfile with tag referencing a source
34
- assert(size(getTag .list_sources(),1 ) == 0 );
35
- disp(' Test Tag: list sources from tag ... TODO (proper testfile)' );
36
-
37
33
assert(size(getTag .sources(),1 ) == 0 );
38
34
disp(' Test Tag: fetch sources ... TODO (proper testfile)' );
39
35
end
46
42
getTag = getBlock .open_tag(getBlock.tags{1 ,1 }.id);
47
43
48
44
% -- ToDo get testfile with tag referencing a source
49
- assert(size(getTag .list_features(),1 ) == 0 );
50
- disp(' Test Tag: list features ... TODO (proper testfile)' );
51
-
52
45
assert(size(getTag .features(),1 ) == 0 );
53
46
disp(' Test Tag: fetch features ... TODO (proper testfile)' );
54
47
end
You can’t perform that action at this time.
0 commit comments