![]() |
IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
|
Base class.
The following properties within irobj define how the GUI will handle the class
Properties GUI names follow the following pattern: uip_<corresponding class name>.m, and uip_<corresponding class name>.fig. The latter is the FIG created using GUIDE.
flag_ui=1 and flag_params=1 at the constructor guide uip_fcon_pca, and save it with the appropriate name.
Inheritance diagram for irobj:Public Member Functions | |
| function | get_description (in o, in flag_short) |
| function | setbatch (in o, in params) |
| Sets several properties of an object at once. More... | |
| function | get_methodname (in o, in flag_short) |
| function | get_report (in o) |
| Object reports are plain text. HTML would be cool but c'mon, we don't need that sophistication. More... | |
| function | get_html (in o, in flag_stylesheet) |
| function | get_params (in o, in data) |
| Calls Parameters GUI. More... | |
| function | extract_log (in o) |
| function | get_ancestry (in o, in flag_title) |
Public Attributes | |
| Property | title |
| Property | color |
Protected Member Functions | |
| function | do_get_report (in o) |
| Default report. More... | |
| function | do_get_html (in o) |
| Abstract. HTML inner body. More... | |
Protected Attributes | |
| Property | classtitle |
| Class Title. Should have a descriptive name, as short as possible. More... | |
| Property | short |
| Short for the method name. More... | |
| Property | flag_params |
| Property | flag_ui |
| (GUI setting) Whether to "publish" in blockmenu and datatool. Note that a class can be "published" without a GUI (set flag_params=0 in this case, at the class constructor). More... | |
| Property | moreactions |
| (GUI setting) String cell containing names of methods that may be called from the GUIs More... | |
|
protected |
Abstract. HTML inner body.
|
protected |
Default report.
| function irobj::extract_log | ( | in | o | ) |
| o |
| function irobj::get_ancestry | ( | in | o, |
| in | flag_title | ||
| ) |
| o | |
| flag_title=1 |
| function irobj::get_description | ( | in | o, |
| in | flag_short | ||
| ) |
Returns description string
Precedence according with flag_short:
| flag_short=0 | I am sealing this to make sure that no class will try to improvise on this function. |
| function irobj::get_html | ( | in | o, |
| in | flag_stylesheet | ||
| ) |
| flag_stylesheet=1 | Whether to include the stylesheet in the HTML |
| function irobj::get_methodname | ( | in | o, |
| in | flag_short | ||
| ) |
This is used only to compose sequence string e.g. xxx->yyy->zzz
| flag_short=0 |
| function irobj::get_params | ( | in | o, |
| in | data | ||
| ) |
Calls Parameters GUI.
If flag_params, tries uip_<class>.m. If fails, tries uip_<ancestor>.m and so on
| function irobj::get_report | ( | in | o | ) |
Object reports are plain text. HTML would be cool but c'mon, we don't need that sophistication.
| function irobj::setbatch | ( | in | o, |
| in | params | ||
| ) |
Sets several properties of an object at once.
| o | |
| params | Cell followint the pattern{'property1', value1, 'property2', value2, ...} |
|
protected |
| Property irobj::color |
|
protected |
=1. (GUI setting) Whether to call a GUI when the block is selected in blockmenu.m . If true, a routine called "uip_"<class name> will be called.
|
protected |
|
protected |