|
27 | 27 | % Sources methods
|
28 | 28 | % ------------------
|
29 | 29 |
|
30 |
| - function r = source_count(obj) |
| 30 | + function r = sourceCount(obj) |
31 | 31 | r = nix.Utils.fetchEntityCount(obj, 'sourceCount');
|
32 | 32 | end
|
33 | 33 |
|
34 |
| - function r = create_source(obj, name, type) |
| 34 | + function r = createSource(obj, name, type) |
35 | 35 | fname = strcat(obj.alias, '::createSource');
|
36 | 36 | h = nix_mx(fname, obj.nix_handle, name, type);
|
37 | 37 | r = nix.Utils.createEntity(h, @nix.Source);
|
38 | 38 | end
|
39 | 39 |
|
40 |
| - function r = has_source(obj, id_or_name) |
41 |
| - r = nix.Utils.fetchHasEntity(obj, 'hasSource', id_or_name); |
| 40 | + function r = hasSource(obj, idName) |
| 41 | + r = nix.Utils.fetchHasEntity(obj, 'hasSource', idName); |
42 | 42 | end
|
43 | 43 |
|
44 |
| - function r = delete_source(obj, del) |
| 44 | + function r = deleteSource(obj, del) |
45 | 45 | r = nix.Utils.delete_entity(obj, 'deleteSource', del, 'nix.Source');
|
46 | 46 | end
|
47 | 47 |
|
48 |
| - function r = open_source(obj, id_or_name) |
49 |
| - r = nix.Utils.open_entity(obj, 'openSource', id_or_name, @nix.Source); |
| 48 | + function r = openSource(obj, idName) |
| 49 | + r = nix.Utils.open_entity(obj, 'openSource', idName, @nix.Source); |
50 | 50 | end
|
51 | 51 |
|
52 |
| - function r = open_source_idx(obj, index) |
| 52 | + function r = openSourceIdx(obj, index) |
53 | 53 | idx = nix.Utils.handle_index(index);
|
54 | 54 | r = nix.Utils.open_entity(obj, 'openSourceIdx', idx, @nix.Source);
|
55 | 55 | end
|
56 | 56 |
|
57 |
| - function r = parent_source(obj) |
| 57 | + function r = parentSource(obj) |
58 | 58 | r = nix.Utils.fetchObj(obj, 'parentSource', @nix.Source);
|
59 | 59 | end
|
60 | 60 |
|
61 |
| - function r = referring_data_arrays(obj) |
| 61 | + function r = referringDataArrays(obj) |
62 | 62 | r = nix.Utils.fetchObjList(obj, 'referringDataArrays', @nix.DataArray);
|
63 | 63 | end
|
64 | 64 |
|
65 |
| - function r = referring_tags(obj) |
| 65 | + function r = referringTags(obj) |
66 | 66 | r = nix.Utils.fetchObjList(obj, 'referringTags', @nix.Tag);
|
67 | 67 | end
|
68 | 68 |
|
69 |
| - function r = referring_multi_tags(obj) |
| 69 | + function r = referringMultiTags(obj) |
70 | 70 | r = nix.Utils.fetchObjList(obj, 'referringMultiTags', @nix.MultiTag);
|
71 | 71 | end
|
72 | 72 |
|
73 |
| - function r = filter_sources(obj, filter, val) |
| 73 | + function r = filterSources(obj, filter, val) |
74 | 74 | r = nix.Utils.filter(obj, 'sourcesFiltered', filter, val, @nix.Source);
|
75 | 75 | end
|
76 | 76 |
|
77 | 77 | % maxdepth is an index where idx = 0 corresponds to the calling source
|
78 |
| - function r = find_sources(obj, max_depth) |
79 |
| - r = obj.find_filtered_sources(max_depth, nix.Filter.accept_all, ''); |
| 78 | + function r = findSources(obj, maxDepth) |
| 79 | + r = obj.filterFindSources(maxDepth, nix.Filter.accept_all, ''); |
80 | 80 | end
|
81 | 81 |
|
82 | 82 | % maxdepth is an index where idx = 0 corresponds to the calling source
|
83 |
| - function r = find_filtered_sources(obj, max_depth, filter, val) |
84 |
| - r = nix.Utils.find(obj, 'findSources', max_depth, filter, val, @nix.Source); |
| 83 | + function r = filterFindSources(obj, maxDepth, filter, val) |
| 84 | + r = nix.Utils.find(obj, 'findSources', maxDepth, filter, val, @nix.Source); |
85 | 85 | end
|
86 | 86 | end
|
87 | 87 |
|
|
0 commit comments