A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
file-config.cc
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2009 INRIA
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation;
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program; if not, write to the Free Software
15
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
*
17
* Author: Mathieu Lacage <mathieu.lacage@cutebugs.net>
18
*/
19
20
#include "
file-config.h
"
21
22
namespace
ns3
23
{
24
25
FileConfig::~FileConfig
()
26
{
27
}
28
29
void
30
FileConfig::SetSaveDeprecated
(
bool
saveDeprecated)
31
{
32
m_saveDeprecated
= saveDeprecated;
33
}
34
35
NoneFileConfig::NoneFileConfig
()
36
{
37
}
38
39
NoneFileConfig::~NoneFileConfig
()
40
{
41
}
42
43
void
44
NoneFileConfig::SetFilename
(std::string filename)
45
{
46
}
47
48
void
49
NoneFileConfig::Default
()
50
{
51
}
52
53
void
54
NoneFileConfig::Global
()
55
{
56
}
57
58
void
59
NoneFileConfig::Attributes
()
60
{
61
}
62
63
}
// namespace ns3
ns3::FileConfig::SetSaveDeprecated
void SetSaveDeprecated(bool saveDeprecated)
Set if to save deprecated attributes.
Definition:
file-config.cc:30
ns3::FileConfig::~FileConfig
virtual ~FileConfig()
Definition:
file-config.cc:25
ns3::FileConfig::m_saveDeprecated
bool m_saveDeprecated
save deprecated attributes
Definition:
file-config.h:61
ns3::NoneFileConfig::Default
void Default() override
Load or save the default values.
Definition:
file-config.cc:49
ns3::NoneFileConfig::Global
void Global() override
Load or save the global values.
Definition:
file-config.cc:54
ns3::NoneFileConfig::SetFilename
void SetFilename(std::string filename) override
Set the file name.
Definition:
file-config.cc:44
ns3::NoneFileConfig::Attributes
void Attributes() override
Load or save the attributes values.
Definition:
file-config.cc:59
ns3::NoneFileConfig::~NoneFileConfig
~NoneFileConfig() override
Definition:
file-config.cc:39
ns3::NoneFileConfig::NoneFileConfig
NoneFileConfig()
Definition:
file-config.cc:35
file-config.h
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
config-store
model
file-config.cc
Generated on Sun Mar 3 2024 17:10:55 for ns-3 by
1.9.1