A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
system-path.h
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2008 INRIA
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License version 2 as
7
* published by the Free Software Foundation;
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
*
18
* Authors: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
19
*/
20
#ifndef SYSTEM_PATH
21
#define SYSTEM_PATH
22
23
#include <string>
24
#include <list>
25
26
namespace
ns3 {
27
33
namespace
SystemPath {
34
38
std::string
FindSelfDirectory
(
void
);
39
45
std::string
Append
(std::string left, std::string right);
46
53
std::list<std::string>
Split
(std::string path);
54
60
std::string
Join
(std::list<std::string>::const_iterator begin,
61
std::list<std::string>::const_iterator end);
62
67
std::list<std::string>
ReadFiles
(std::string path);
68
76
std::string
MakeTemporaryDirectoryName
(
void
);
77
83
void
MakeDirectories
(std::string path);
84
85
}
// namespace SystemPath
86
87
88
}
// namespace ns3
89
90
91
#endif
/* SYSTEM_PATH */
ns3::SystemPath::MakeDirectories
void MakeDirectories(std::string path)
Definition:
system-path.cc:303
ns3::SystemPath::Join
std::string Join(std::list< std::string >::const_iterator begin, std::list< std::string >::const_iterator end)
Definition:
system-path.cc:198
ns3::SystemPath::ReadFiles
std::list< std::string > ReadFiles(std::string path)
Definition:
system-path.cc:217
ns3::SystemPath::FindSelfDirectory
std::string FindSelfDirectory(void)
Definition:
system-path.cc:73
ns3::SystemPath::Append
std::string Append(std::string left, std::string right)
Definition:
system-path.cc:163
ns3::SystemPath::MakeTemporaryDirectoryName
std::string MakeTemporaryDirectoryName(void)
Definition:
system-path.cc:256
ns3::SystemPath::Split
std::list< std::string > Split(std::string path)
Definition:
system-path.cc:180
src
core
model
system-path.h
Generated on Sat Apr 19 2014 14:06:52 for ns-3 by
1.8.6