[FlopCpp-tickets] [FlopC++] #10: Alter the method for generation of
the "display()" methods
FlopC++
coin-trac at coin-or.org
Fri Jul 21 22:50:32 EDT 2006
#10: Alter the method for generation of the "display()" methods
------------------------+---------------------------------------------------
Reporter: hpwalton | Owner: hpwalton
Type: defect | Status: new
Priority: low | Milestone:
Component: component1 | Version:
Severity: normal | Keywords:
------------------------+---------------------------------------------------
Motivation: It is not always desirable to see output to the screen. The
display methods always use cout.
Proposal:
create a toString() method for all the public interface classes. These
would print whatever information is attached and valid at the time of
invocation. Note that some data may not be completely attached yet. In
those cases it should report as such.
Calling toString() on the Model should cascade.
Bonus points:
Create a toMathML() method such that if the user wishes to get a browser
render-able version of the formulation.
--
Ticket URL: <https://projects.coin-or.org/FlopC++/ticket/10>
FlopC++ <http://example.com/>
My example project
More information about the FlopCpp-tickets
mailing list