A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
system-path.h File Reference

ns3::SystemPath declarations. More...

#include <list>
#include <string>
+ Include dependency graph for system-path.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 
namespace  ns3::SystemPath
 Namespace for various file and directory path functions.
 

Functions

std::string ns3::SystemPath::Append (std::string left, std::string right)
 Join two file system path elements.
 
std::string ns3::SystemPath::CreateValidSystemPath (const std::string path)
 Replace incompatible characters in a path, to get a path compatible with different file systems.
 
bool ns3::SystemPath::Exists (const std::string path)
 Check if a path exists.
 
std::string ns3::SystemPath::FindSelfDirectory ()
 Get the file system path to the current executable.
 
std::string ns3::SystemPath::Join (std::list< std::string >::const_iterator begin, std::list< std::string >::const_iterator end)
 Join a list of file system path directories into a single file system path.
 
void ns3::SystemPath::MakeDirectories (std::string path)
 Create all the directories leading to path.
 
std::string ns3::SystemPath::MakeTemporaryDirectoryName ()
 Get the name of a temporary directory.
 
std::list< std::string > ns3::SystemPath::ReadFiles (std::string path)
 Get the list of files located in a file system directory.
 
std::list< std::string > ns3::SystemPath::Split (std::string path)
 Split a file system path into directories according to the local path separator.
 

Detailed Description

ns3::SystemPath declarations.

Definition in file system-path.h.