|
Math2mat
|


Public Member Functions | |
| IfThenElse () | |
| void | modifyNumType (BuildingBlock.NumType type) |
| String | getXmlTagName () |
| boolean | insideFromXml (org.w3c.dom.Element el, Function newFunc) |
| void | insideToXml (org.w3c.dom.Element el, Document dom, boolean shortRef) |
| Element | copy (Function newFunc) |
| void | setBodyTrue (Vector< Element > body) |
| Vector< Element > | getBodyTrue () |
| void | setBodyFalse (Vector< Element > body) |
| Vector< Element > | getBodyFalse () |
| void | setCond (Vector< Element > cond) |
| Vector< Element > | getCond () |
| String | toString (int level) |
| String | toSchematic (int level, String prefix, String boxFormat, String color) |
| String | toOctave (int level) |
Describe a conditional structure if/then/else
Definition at line 25 of file IfThenElse.java.
| m2m.backend.structure.IfThenElse.IfThenElse | ( | ) |
Constructor empty
Definition at line 43 of file IfThenElse.java.
Copy entirely the function.
Reimplemented from m2m.backend.structure.Function.
Definition at line 146 of file IfThenElse.java.
| Vector<Element> m2m.backend.structure.IfThenElse.getBodyFalse | ( | ) |
Get the false body element list
Definition at line 187 of file IfThenElse.java.
| Vector<Element> m2m.backend.structure.IfThenElse.getBodyTrue | ( | ) |
| Vector<Element> m2m.backend.structure.IfThenElse.getCond | ( | ) |
Get the conditional test element list
Definition at line 203 of file IfThenElse.java.
| String m2m.backend.structure.IfThenElse.getXmlTagName | ( | ) | [virtual] |
Reimplemented from m2m.backend.structure.Function.
Definition at line 60 of file IfThenElse.java.
| boolean m2m.backend.structure.IfThenElse.insideFromXml | ( | org.w3c.dom.Element | el, |
| Function | newFunc | ||
| ) |
Reimplemented from m2m.backend.structure.Function.
Definition at line 64 of file IfThenElse.java.
| void m2m.backend.structure.IfThenElse.insideToXml | ( | org.w3c.dom.Element | el, |
| Document | dom, | ||
| boolean | shortRef | ||
| ) |
Reimplemented from m2m.backend.structure.Function.
Definition at line 120 of file IfThenElse.java.
| void m2m.backend.structure.IfThenElse.modifyNumType | ( | BuildingBlock.NumType | type | ) |
Reimplemented from m2m.backend.structure.Function.
Definition at line 50 of file IfThenElse.java.
| void m2m.backend.structure.IfThenElse.setBodyFalse | ( | Vector< Element > | body | ) |
Set the false body element list
| body | Element list |
Definition at line 179 of file IfThenElse.java.
| void m2m.backend.structure.IfThenElse.setBodyTrue | ( | Vector< Element > | body | ) |
Set the true body element list
| body | Element list |
Definition at line 163 of file IfThenElse.java.
| void m2m.backend.structure.IfThenElse.setCond | ( | Vector< Element > | cond | ) |
Set the conditional test element list
| cond | Element list |
Definition at line 195 of file IfThenElse.java.
| String m2m.backend.structure.IfThenElse.toOctave | ( | int | level | ) |
Generate the octave code for the element
| level | Indent level |
Reimplemented from m2m.backend.structure.Function.
Definition at line 269 of file IfThenElse.java.
| String m2m.backend.structure.IfThenElse.toSchematic | ( | int | level, |
| String | prefix, | ||
| String | boxFormat, | ||
| String | color | ||
| ) |
Create the schematic file, use with graphviz to generate schematic
| level | Level of tab |
| prefix | Prefix for the element name |
| boxFormat | Format of box (rectangle, triangle, ...) |
| color | Color of the block |
Reimplemented from m2m.backend.structure.Function.
Definition at line 231 of file IfThenElse.java.
| String m2m.backend.structure.IfThenElse.toString | ( | int | level | ) |
Convert the object to a string that contains all the parametres
| level | Indent of the string |
Reimplemented from m2m.backend.structure.Function.
Definition at line 208 of file IfThenElse.java.
1.7.3