@@ -100,6 +100,7 @@ void mexFunction(int nlhs,
100
100
methods->add (" File::createSection" , nixfile::create_section);
101
101
102
102
classdef<nix::Block>(" Block" , methods)
103
+ .desc (&nixblock::describe)
103
104
.reg (" dataArrays" , &nix::Block::dataArrays)
104
105
.reg (" createSource" , &nix::Block::createSource)
105
106
// .reg("createDataArray", static_cast<nix::DataArray(nix::Block::*)(const std::string &, const std::string &, nix::DataType, const nix::NDSize &)>(&nix::Block::createDataArray))
@@ -115,35 +116,35 @@ void mexFunction(int nlhs,
115
116
.reg (" openTag" , GETBYSTR (nix::Tag, nix::Block, getTag))
116
117
.reg (" openMultiTag" , GETBYSTR (nix::MultiTag, nix::Block, getMultiTag))
117
118
.reg (" openMetadataSection" , GETCONTENT (nix::Section, nix::Block, metadata));
118
- methods->add (" Block::describe" , nixblock::describe);
119
119
methods->add (" Block::createDataArray" , nixblock::create_data_array);
120
120
121
121
classdef<nix::DataArray>(" DataArray" , methods)
122
+ .desc (&nixdataarray::describe)
122
123
.reg (" sources" , GETSOURCES (IDataArray))
123
124
.reg (" openMetadataSection" , GETMETADATA (IDataArray));
124
- methods->add (" DataArray::describe" , nixdataarray::describe);
125
125
methods->add (" DataArray::readAll" , nixdataarray::read_all);
126
126
methods->add (" DataArray::writeAll" , nixdataarray::write_all);
127
127
128
128
classdef<nix::Source>(" Source" , methods)
129
+ .desc (&nixsource::describe)
129
130
.reg (" sources" , &nix::Source::sources)
130
131
.reg (" openSource" , GETBYSTR (nix::Source, nix::Source, getSource))
131
132
.reg (" openMetadataSection" , GETCONTENT (nix::Section, nix::Source, metadata));
132
- methods->add (" Source::describe" , nixsource::describe);
133
133
134
134
classdef<nix::Tag>(" Tag" , methods)
135
+ .desc (&nixtag::describe)
135
136
.reg (" references" , GETTER (std::vector<nix::DataArray>, nix::Tag, references))
136
137
.reg (" features" , &nix::Tag::features)
137
138
.reg (" sources" , GETSOURCES (ITag))
138
139
.reg (" openReferenceDataArray" , GETBYSTR (nix::DataArray, nix::Tag, getReference))
139
140
.reg (" openFeature" , GETBYSTR (nix::Feature, nix::Tag, getFeature))
140
141
.reg (" openSource" , GETBYSTR (nix::Source, nix::Tag, getSource))
141
142
.reg (" openMetadataSection" , GETCONTENT (nix::Section, nix::Tag, metadata));
142
- methods->add (" Tag::describe" , nixtag::describe);
143
143
methods->add (" Tag::retrieveData" , nixtag::retrieve_data);
144
144
methods->add (" Tag::featureRetrieveData" , nixtag::retrieve_feature_data);
145
145
146
146
classdef<nix::MultiTag>(" MultiTag" , methods)
147
+ .desc (&nixmultitag::describe)
147
148
.reg (" references" , GETTER (std::vector<nix::DataArray>, nix::MultiTag, references))
148
149
.reg (" features" , &nix::MultiTag::features)
149
150
.reg (" sources" , GETSOURCES (IMultiTag))
@@ -154,23 +155,22 @@ void mexFunction(int nlhs,
154
155
.reg (" openFeature" , GETBYSTR (nix::Feature, nix::MultiTag, getFeature))
155
156
.reg (" openSource" , GETBYSTR (nix::Source, nix::MultiTag, getSource))
156
157
.reg (" openMetadataSection" , GETCONTENT (nix::Section, nix::MultiTag, metadata));
157
- methods->add (" MultiTag::describe" , nixmultitag::describe);
158
158
methods->add (" MultiTag::retrieveData" , nixmultitag::retrieve_data);
159
159
methods->add (" MultiTag::featureRetrieveData" , nixmultitag::retrieve_feature_data);
160
160
161
161
classdef<nix::Section>(" Section" , methods)
162
+ .desc (&nixsection::describe)
162
163
.reg (" sections" , &nix::Section::sections)
163
164
.reg (" openSection" , GETBYSTR (nix::Section, nix::Section, getSection))
164
165
.reg (" hasProperty" , GETBYSTR (bool , nix::Section, hasProperty))
165
166
.reg (" hasSection" , GETBYSTR (bool , nix::Section, hasSection))
166
167
.reg (" link" , GETCONTENT (nix::Section, nix::Section, link))
167
168
.reg (" parent" , GETCONTENT (nix::Section, nix::Section, parent));
168
- methods->add (" Section::describe" , nixsection::describe);
169
169
methods->add (" Section::properties" , nixsection::properties);
170
170
171
171
classdef<nix::Feature>(" Feature" , methods)
172
+ .desc (&nixfeature::describe)
172
173
.reg (" openData" , GETCONTENT (nix::DataArray, nix::Feature, data));
173
- methods->add (" Feature::describe" , nixfeature::describe);
174
174
methods->add (" Feature::linkType" , nixfeature::link_type);
175
175
176
176
mexAtExit (on_exit);
0 commit comments