@@ -231,15 +231,24 @@ void mexFunction(int nlhs,
231
231
.reg (" set_none_mapping" , SETTER (const boost::none_t , nix::Section, mapping))
232
232
.reg (" createSection" , &nix::Section::createSection)
233
233
.reg (" deleteSection" , REMOVER (nix::Section, nix::Section, deleteSection))
234
- .reg (" openProperty" , GETBYSTR (nix::Property, nix::Section, getProperty));
234
+ .reg (" openProperty" , GETBYSTR (nix::Property, nix::Section, getProperty))
235
+ .reg (" deleteProperty" , REMOVER (nix::Property, nix::Section, deleteProperty));
235
236
methods->add (" Section::properties" , nixsection::properties);
237
+ methods->add (" Section::createProperty" , nixsection::create_property);
236
238
237
239
classdef<nix::Feature>(" Feature" , methods)
238
240
.desc (&nixfeature::describe)
239
241
.reg (" openData" , GETCONTENT (nix::DataArray, nix::Feature, data));
240
242
241
243
classdef<nix::Property>(" Property" , methods)
242
- .desc (&nixproperty::describe);
244
+ .desc (&nixproperty::describe)
245
+ .reg (" set_definition" , SETTER (const std::string&, nix::Property, definition))
246
+ .reg (" set_none_definition" , SETTER (const boost::none_t , nix::Property, definition))
247
+ .reg (" set_unit" , SETTER (const std::string&, nix::Property, unit))
248
+ .reg (" set_none_unit" , SETTER (const boost::none_t , nix::Property, unit))
249
+ .reg (" set_mapping" , SETTER (const std::string&, nix::Property, mapping))
250
+ .reg (" set_none_mapping" , SETTER (const boost::none_t , nix::Property, mapping));
251
+ methods->add (" Property::values" , nixproperty::values);
243
252
244
253
mexAtExit (on_exit);
245
254
});
0 commit comments