|
ns-3
|
Helper class which makes it easier to configure and use a generic TopologyReader. More...
#include <topology-reader-helper.h>
Public Member Functions | |
| void | SetFileName (const std::string fileName) |
| Sets the input file name. | |
| void | SetFileType (const std::string fileType) |
| Sets the input file type. Supported file types are "Orbis", "Inet", "Rocketfuel". | |
| Ptr< TopologyReader > | GetTopologyReader () |
| Gets a Ptr<TopologyReader> to the actual TopologyReader. | |
Helper class which makes it easier to configure and use a generic TopologyReader.
Gets a Ptr<TopologyReader> to the actual TopologyReader.
References NS_ASSERT_MSG, NS_LOG_INFO, and ns3::TopologyReader::SetFileName().
| void ns3::TopologyReaderHelper::SetFileName | ( | const std::string | fileName | ) |
Sets the input file name.
| fileName | the input file name. |
| void ns3::TopologyReaderHelper::SetFileType | ( | const std::string | fileType | ) |
Sets the input file type. Supported file types are "Orbis", "Inet", "Rocketfuel".
| fileType | the input file type. |