| Overview | Group | Tree | Graph | Index | Concepts |

You can use an instance of IloXmlWriter to serialize an
IloModel or an IloSolution in xml.
| Constructor Summary | |
|---|---|
public | IloXmlWriter(IloEnv, const char *, const char *) |
public | IloXmlWriter(IloXmlWriterI *) |
| Method Summary | |
|---|---|
public void | addAttribute(IloXmlElement *, const char *, const char *) |
public void | addCData(IloXmlElement *, const char *) |
public void | addComment(IloXmlElement *, const char *) |
public void | addElement(IloXmlElement *) |
public void | addSerialized(IloInt) |
public void | addSolutionSerialized(IloInt) |
public void | addSubElement(IloXmlElement *, IloXmlElement *) |
public void | addText(IloXmlElement *, const char *) |
public IloXmlElement * | createElement(const char *) |
public void | deleteAllocatedMemory(const char *) |
public void | deleteAllocatedMemory(char *) |
public IloEnv | getEnv() |
public IloEnvI * | getEnvImpl() |
public const char * | getfileName() |
public IloXmlElement * | getRoot() |
public IloIntArray * | getSerialized() |
public IloIntArray * | getSolutionSerialized() |
public const char * | Int2String(const IloInt) |
public const char * | IntArray2String(const IloIntArray) |
public const char * | IntSet2String(const IloIntSet) |
public IloBool | isSerialized(IloInt) |
public IloBool | isSolutionSerialized(IloInt) |
public const char * | Num2String(const IloNum) |
public const char * | NumArray2String(const IloNumArray) |
public const char * | NumSet2String(const IloNumSet) |
public void | setfileName(const char *) |
public IloInt | string2Int(const char *) |
public void | writeDocument() |
| Constructor Detail |
|---|
This constructor creates an IloXmlWriter object and makes
it part of the environment env.
The fileName is set to 0
by default.
This constructor creates a XML writer object from its implementation object.
| Method Detail |
|---|
This member function converts the IloInt object
number into a string, const char*.
This member function converts the IloIntArray object
intArray into a string, const char*.
This member function converts the IloIntSet object
intSet into a string, const char*.
This member function converts the IloNum object
number into a string, const char*.
This member function converts the IloNumArray object
numArray into a string, const char*.
This member function converts the IloNumSet object
numSet into a string, const char*.
This member function adds an attribute of the specified value to the XML element.
This member function adds a CDATA section to the XML element
element.
This member function adds comment to the XML element
element.
This member function adds the XML element element to the
end of the XML.
This member function informs the XML writer object that the model object has been serialized.
This member function informs the XML writer object that the solution object has been serialized.
This member function adds a child element, subElement, to
the XML element element.
This member function adds text to the specified element.
This member function creates an empty element with the given tag,
element.
This member function frees the memory that has been allocated by the XML reader using, for example, the IloXmlWriter::Int2String member function.
This member function frees the memory that has been allocated by the XML reader using, for example, the IloXmlWriter::Int2String member function.
This member function gets the IloEnv of the object.
This member function gets the implemention of the IloEnv of
the object.
This member function gets the root XML element of the XML document.
This member function gets the IDs of the serialized objects of an
IloModel.
This member function gets the IDs of the serialized objects of an
IloSolution.
This member function returns the name of the XML file
This member function checks whether an object has been serialized.
This member function checks whether a solution object has already been serialized.
This member function specifies fileName as the name of
the XML file.
This member function converts string into an
IloInt.
This member function outputs the XML to the file specified in the constructor or
using the setFileName method. If null, this member function
outputs on the cout io.