@@ -171,11 +171,15 @@ void mexFunction(int nlhs,
171
171
.reg (" openSource" , GETBYSTR (nix::Source, nix::MultiTag, getSource))
172
172
.reg (" openMetadataSection" , GETCONTENT (nix::Section, nix::MultiTag, metadata))
173
173
.reg (" removeReference" , REMOVER (nix::DataArray, nix::MultiTag, removeReference))
174
- .reg (" removeSource" , REMOVER (nix::Source, nix::MultiTag, removeSource));
174
+ .reg (" removeSource" , REMOVER (nix::Source, nix::MultiTag, removeSource))
175
+ .reg (" deleteFeature" , REMOVER (nix::Feature, nix::MultiTag, deleteFeature));
175
176
methods->add (" MultiTag::retrieveData" , nixmultitag::retrieve_data);
176
177
methods->add (" MultiTag::featureRetrieveData" , nixmultitag::retrieve_feature_data);
177
178
methods->add (" MultiTag::addReference" , nixmultitag::add_reference);
178
179
methods->add (" MultiTag::addSource" , nixmultitag::add_source);
180
+ methods->add (" MultiTag::createFeature" , nixmultitag::create_feature);
181
+ methods->add (" MultiTag::addPositions" , nixmultitag::add_positions);
182
+ methods->add (" MultiTag::addExtents" , nixmultitag::add_extents);
179
183
180
184
classdef<nix::Section>(" Section" , methods)
181
185
.desc (&nixsection::describe)
@@ -184,14 +188,15 @@ void mexFunction(int nlhs,
184
188
.reg (" hasProperty" , GETBYSTR (bool , nix::Section, hasProperty))
185
189
.reg (" hasSection" , GETBYSTR (bool , nix::Section, hasSection))
186
190
.reg (" link" , GETCONTENT (nix::Section, nix::Section, link))
187
- .reg (" parent" , GETCONTENT (nix::Section, nix::Section, parent));
191
+ .reg (" parent" , GETCONTENT (nix::Section, nix::Section, parent))
192
+ .reg (" createSection" , &nix::Section::createSection)
193
+ .reg (" deleteSection" , REMOVER (nix::Section, nix::Section, deleteSection));
188
194
// .reg("set_repository", SETTER(const std::string&, nix::Section, repository));
189
195
methods->add (" Section::properties" , nixsection::properties);
190
196
191
197
classdef<nix::Feature>(" Feature" , methods)
192
198
.desc (&nixfeature::describe)
193
199
.reg (" openData" , GETCONTENT (nix::DataArray, nix::Feature, data));
194
- methods->add (" Feature::linkType" , nixfeature::link_type);
195
200
196
201
mexAtExit (on_exit);
197
202
});
0 commit comments