DotNet Reference
DotNet Reference
Detailed Description
This class acts as a intermediate step between a c++ decision builder and a .Net one.
Its main purpose is to catch the .Net application exception launched when a failure occurs during the Next() call, and to return silently a System.ApplicationException that will propagate the failure back to the C++ code.
Definition at line 27 of file NetDecisionBuilder.cs.
Public Member Functions | |
| override Decision | NextWrapper (Solver solver) |
| This methods wraps the calls to next() and catches fail exceptions. More... | |
| virtual Decision | Next (Solver solver) |
| This is the new method to subclass when defining a .Net decision builder. More... | |
| void | Dispose () |
| override string | ToString () |
| delegate string | SwigDelegateDecisionBuilder_0 () |
| delegate global::System.IntPtr | SwigDelegateDecisionBuilder_1 (global::System.IntPtr s) |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
Protected Attributes | |
| bool | swigCMemOwn |
Member Function Documentation
◆ Dispose() [1/2]
|
inlineinherited |
Definition at line 35 of file BaseObject.cs.
◆ Dispose() [2/2]
|
inlineprotectedvirtualinherited |
Reimplemented from BaseObject.
Definition at line 29 of file DecisionBuilder.cs.
◆ Next()
This is the new method to subclass when defining a .Net decision builder.
Definition at line 48 of file NetDecisionBuilder.cs.
◆ NextWrapper()
This methods wraps the calls to next() and catches fail exceptions.
It currently catches all application exceptions.
Reimplemented from DecisionBuilder.
Definition at line 33 of file NetDecisionBuilder.cs.
◆ SwigDelegateDecisionBuilder_0()
|
inherited |
◆ SwigDelegateDecisionBuilder_1()
|
inherited |
◆ ToString()
|
inlinevirtualinherited |
Reimplemented from BaseObject.
Definition at line 52 of file DecisionBuilder.cs.
Member Data Documentation
◆ swigCMemOwn
|
protectedinherited |
Definition at line 20 of file BaseObject.cs.
The documentation for this class was generated from the following file: