IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
classmap_get_list.m
Go to the documentation of this file.
1 %> @file
2 %> @ingroup introspection
3 %> @brief Returns an array of mapitem objects matching the informed criteria
4 %> @sa objtool.m, blockmenu.m, demo_classes_txt.m
5 %
6 %> @param classname String containing the name of the root class
7 %> @param inputclass =[] Optional filter: if informed, only classes whose "inputclass" property match this parameter will be included in the result
8 %> @return \em [out] list array of mapitem objects
9 function list = classmap_get_list(classname, inputclass)
10 if ~exist('inputclass', 'var')
11  inputclass = [];
12 end;
13 list = mapitem.empty;
15 global CLASSMAP;
16 item = CLASSMAP.find_item_by_name(classname);
17 if ~isempty(item)
18  list = item.to_list(inputclass);
19 end;
function classmap_get_list(in classname, in inputclass)
function classmap_assert()
function objtool(in varargin)
function blockmenu(in varargin)
Map item.
Definition: mapitem.m:3