|
|
| 86 |
*/ |
86 |
*/ |
| 87 |
Ptr<FlowClassifier> GetClassifier6 (); |
87 |
Ptr<FlowClassifier> GetClassifier6 (); |
| 88 |
|
88 |
|
|
|
89 |
/** |
| 90 |
* Serializes the results to an std::ostream in XML format |
| 91 |
* \param os the output stream |
| 92 |
* \param indent number of spaces to use as base indentation level |
| 93 |
* \param enableHistograms if true, include also the histograms in the output |
| 94 |
* \param enableProbes if true, include also the per-probe/flow pair statistics in the output |
| 95 |
*/ |
| 96 |
void SerializeToXmlStream (std::ostream &os, int indent, bool enableHistograms, bool enableProbes); |
| 97 |
|
| 98 |
/** |
| 99 |
* Same as SerializeToXmlStream, but returns the output as a std::string |
| 100 |
* \param indent number of spaces to use as base indentation level |
| 101 |
* \param enableHistograms if true, include also the histograms in the output |
| 102 |
* \param enableProbes if true, include also the per-probe/flow pair statistics in the output |
| 103 |
* \return the XML output as string |
| 104 |
*/ |
| 105 |
std::string SerializeToXmlString (int indent, bool enableHistograms, bool enableProbes); |
| 106 |
|
| 107 |
/** |
| 108 |
* Same as SerializeToXmlStream, but writes to a file instead |
| 109 |
* \param fileName name or path of the output file that will be created |
| 110 |
* \param enableHistograms if true, include also the histograms in the output |
| 111 |
* \param enableProbes if true, include also the per-probe/flow pair statistics in the output |
| 112 |
*/ |
| 113 |
void SerializeToXmlFile (std::string fileName, bool enableHistograms, bool enableProbes); |
| 114 |
|
| 89 |
private: |
115 |
private: |
| 90 |
/** |
116 |
/** |
| 91 |
* \brief Copy constructor |
117 |
* \brief Copy constructor |