Overview | Group | Tree | Graph | Index | Concepts |
An instance of this class is part of the Solver trace mechanism. An instance of this class prints trace events.
Example
Here is an example of how to use a print trace.
IlcPrintTrace trace(solver, IlcTraceVars | IlcTraceFail);
See Also:
Constructor and Destructor Summary | |
---|---|
public | IlcPrintTrace(IloSolver s, IlcUInt flags=4, const char * name=0) |
public | IlcPrintTrace(IlcPrintTraceI * impl) |
Method Summary | |
---|---|
public IlcPrintTraceI * | getImpl() const |
public void | operator=(const IlcPrintTrace & trace) |
public const IlcPrintTrace & | trace(IlcAnySetVar) const |
public const IlcPrintTrace & | trace(IlcIntSetVar) const |
public const IlcPrintTrace & | trace(IlcFloatVar) const |
public const IlcPrintTrace & | trace(IlcAnyVar) const |
public const IlcPrintTrace & | trace(IlcIntVar) const |
Constructor and Destructor Detail |
---|
This constructor creates a print trace. The parameter flags
indicates which events it traces. See the topic Trace Events in the class IlcTraceI
for a list of the possible flags.
This constructor creates a handle (an instance of the class IlcPrintTrace
) from a pointer to an implementation object (an instance of the implementation class IlcPrintTraceI
).
Method Detail |
---|
This member function returns a pointer to the implementation object of the invoking print trace.
This operator assigns trace
to the invoking print trace.
After calling this operator, both handles point to the same implementation object.
These member functions hook a variable; that is, they offer a link between a print trace and a variable. (For users of previous versions of Solver, this member function resembles the trace hook mechanism.)
These member functions hook a variable; that is, they offer a link between a print trace and a variable. (For users of previous versions of Solver, this member function resembles the trace hook mechanism.)
These member functions hook a variable; that is, they offer a link between a print trace and a variable. (For users of previous versions of Solver, this member function resembles the trace hook mechanism.)
These member functions hook a variable; that is, they offer a link between a print trace and a variable. (For users of previous versions of Solver, this member function resembles the trace hook mechanism.)
These member functions hook a variable; that is, they offer a link between a print trace and a variable. (For users of previous versions of Solver, this member function resembles the trace hook mechanism.)