|
28 | 28 | end
|
29 | 29 |
|
30 | 30 | % braindead...
|
31 |
| - function r = is_open(obj) |
| 31 | + function r = isOpen(obj) |
32 | 32 | fname = strcat(obj.alias, '::isOpen');
|
33 | 33 | r = nix_mx(fname, obj.nix_handle);
|
34 | 34 | end
|
35 | 35 |
|
36 |
| - function r = file_mode(obj) |
| 36 | + function r = fileMode(obj) |
37 | 37 | fname = strcat(obj.alias, '::fileMode');
|
38 | 38 | r = nix_mx(fname, obj.nix_handle);
|
39 | 39 | end
|
|
47 | 47 | % Block methods
|
48 | 48 | % ----------------
|
49 | 49 |
|
50 |
| - function r = create_block(obj, name, type) |
| 50 | + function r = createBlock(obj, name, type) |
51 | 51 | fname = strcat(obj.alias, '::createBlock');
|
52 | 52 | h = nix_mx(fname, obj.nix_handle, name, type);
|
53 | 53 | r = nix.Utils.createEntity(h, @nix.Block);
|
54 | 54 | end
|
55 | 55 |
|
56 |
| - function r = block_count(obj) |
| 56 | + function r = blockCount(obj) |
57 | 57 | r = nix.Utils.fetchEntityCount(obj, 'blockCount');
|
58 | 58 | end
|
59 | 59 |
|
60 |
| - function r = has_block(obj, id_or_name) |
| 60 | + function r = hasBlock(obj, id_or_name) |
61 | 61 | r = nix.Utils.fetchHasEntity(obj, 'hasBlock', id_or_name);
|
62 | 62 | end
|
63 | 63 |
|
64 |
| - function r = open_block(obj, id_or_name) |
| 64 | + function r = openBlock(obj, id_or_name) |
65 | 65 | r = nix.Utils.open_entity(obj, 'openBlock', id_or_name, @nix.Block);
|
66 | 66 | end
|
67 | 67 |
|
68 |
| - function r = open_block_idx(obj, index) |
| 68 | + function r = openBlockIdx(obj, index) |
69 | 69 | idx = nix.Utils.handle_index(index);
|
70 | 70 | r = nix.Utils.open_entity(obj, 'openBlockIdx', idx, @nix.Block);
|
71 | 71 | end
|
72 | 72 |
|
73 |
| - function r = delete_block(obj, del) |
| 73 | + function r = deleteBlock(obj, del) |
74 | 74 | r = nix.Utils.delete_entity(obj, 'deleteBlock', del, 'nix.Block');
|
75 | 75 | end
|
76 | 76 |
|
77 |
| - function r = filter_blocks(obj, filter, val) |
| 77 | + function r = filterBlocks(obj, filter, val) |
78 | 78 | r = nix.Utils.filter(obj, 'blocksFiltered', filter, val, @nix.Block);
|
79 | 79 | end
|
80 | 80 |
|
81 | 81 | % ----------------
|
82 | 82 | % Section methods
|
83 | 83 | % ----------------
|
84 | 84 |
|
85 |
| - function r = create_section(obj, name, type) |
| 85 | + function r = createSection(obj, name, type) |
86 | 86 | fname = strcat(obj.alias, '::createSection');
|
87 | 87 | h = nix_mx(fname, obj.nix_handle, name, type);
|
88 | 88 | r = nix.Utils.createEntity(h, @nix.Section);
|
89 | 89 | end
|
90 | 90 |
|
91 |
| - function r = section_count(obj) |
| 91 | + function r = sectionCount(obj) |
92 | 92 | r = nix.Utils.fetchEntityCount(obj, 'sectionCount');
|
93 | 93 | end
|
94 | 94 |
|
95 |
| - function r = has_section(obj, id_or_name) |
| 95 | + function r = hasSection(obj, id_or_name) |
96 | 96 | r = nix.Utils.fetchHasEntity(obj, 'hasSection', id_or_name);
|
97 | 97 | end
|
98 | 98 |
|
99 |
| - function r = open_section(obj, id_or_name) |
| 99 | + function r = openSection(obj, id_or_name) |
100 | 100 | r = nix.Utils.open_entity(obj, 'openSection', id_or_name, @nix.Section);
|
101 | 101 | end
|
102 | 102 |
|
103 |
| - function r = open_section_idx(obj, index) |
| 103 | + function r = openSectionIdx(obj, index) |
104 | 104 | idx = nix.Utils.handle_index(index);
|
105 | 105 | r = nix.Utils.open_entity(obj, 'openSectionIdx', idx, @nix.Section);
|
106 | 106 | end
|
107 | 107 |
|
108 |
| - function r = delete_section(obj, del) |
| 108 | + function r = deleteSection(obj, del) |
109 | 109 | r = nix.Utils.delete_entity(obj, 'deleteSection', del, 'nix.Section');
|
110 | 110 | end
|
111 | 111 |
|
112 |
| - function r = filter_sections(obj, filter, val) |
| 112 | + function r = filterSections(obj, filter, val) |
113 | 113 | r = nix.Utils.filter(obj, 'sectionsFiltered', filter, val, @nix.Section);
|
114 | 114 | end
|
115 | 115 |
|
116 | 116 | % maxdepth is an index
|
117 |
| - function r = find_sections(obj, max_depth) |
118 |
| - r = obj.find_filtered_sections(max_depth, nix.Filter.accept_all, ''); |
| 117 | + function r = findSections(obj, max_depth) |
| 118 | + r = obj.filterFindSections(max_depth, nix.Filter.accept_all, ''); |
119 | 119 | end
|
120 | 120 |
|
121 | 121 | % maxdepth is an index
|
122 |
| - function r = find_filtered_sections(obj, max_depth, filter, val) |
| 122 | + function r = filterFindSections(obj, max_depth, filter, val) |
123 | 123 | r = nix.Utils.find(obj, 'findSections', max_depth, filter, val, @nix.Section);
|
124 | 124 | end
|
125 | 125 | end
|
|
0 commit comments