#include "system-path.h"#include "fatal-error.h"#include "assert.h"#include "log.h"#include "ns3/core-config.h"#include <cstdlib>#include <cerrno>#include <cstring>#include <sys/types.h>#include <dirent.h>#include <sys/stat.h>#include <sstream>
Include dependency graph for system-path.cc:Go to the source code of this file.
Namespaces | |
| ns3 | |
| Every class exported by the ns3 library is enclosed in the ns3 namespace. | |
| ns3::SystemPath | |
| Encapsulate OS-specific functions to manipulate file and directory paths. | |
Macros | |
| #define | HAVE_MKDIR_H |
| #define | HAVE_OPENDIR |
| #define | SYSTEM_PATH_SEP "/" |
Functions | |
| std::string | ns3::SystemPath::Append (std::string left, std::string right) |
| std::string | ns3::SystemPath::Dirname (std::string path) |
| std::string | ns3::SystemPath::FindSelfDirectory (void) |
| std::string | ns3::SystemPath::Join (std::list< std::string >::const_iterator begin, std::list< std::string >::const_iterator end) |
| void | ns3::SystemPath::MakeDirectories (std::string path) |
| std::string | ns3::SystemPath::MakeTemporaryDirectoryName (void) |
| std::list< std::string > | ns3::SystemPath::ReadFiles (std::string path) |
| std::list< std::string > | ns3::SystemPath::Split (std::string path) |
| #define HAVE_MKDIR_H |
Definition at line 34 of file system-path.cc.
| #define HAVE_OPENDIR |
Definition at line 29 of file system-path.cc.
| #define SYSTEM_PATH_SEP "/" |
Definition at line 55 of file system-path.cc.
Referenced by ns3::SystemPath::Append(), ns3::SystemPath::Join(), ns3::SystemPath::MakeTemporaryDirectoryName(), and ns3::SystemPath::Split().