A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
file-config.cc
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2009 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
* Author: Mathieu Lacage <mathieu.lacage@cutebugs.net>
19
*/
20
21
#include "
file-config.h
"
22
23
namespace
ns3
{
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
NoneFileConfig::~NoneFileConfig
()
39
{
40
}
41
void
42
NoneFileConfig::SetFilename
(std::string filename)
43
{}
44
void
45
NoneFileConfig::Default
(
void
)
46
{}
47
void
48
NoneFileConfig::Global
(
void
)
49
{}
50
void
51
NoneFileConfig::Attributes
(
void
)
52
{}
53
54
}
// 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::~NoneFileConfig
virtual ~NoneFileConfig()
Definition:
file-config.cc:38
ns3::NoneFileConfig::SetFilename
virtual void SetFilename(std::string filename)
Set the file name.
Definition:
file-config.cc:42
ns3::NoneFileConfig::Global
virtual void Global(void)
Load or save the global values.
Definition:
file-config.cc:48
ns3::NoneFileConfig::Default
virtual void Default(void)
Load or save the default values.
Definition:
file-config.cc:45
ns3::NoneFileConfig::NoneFileConfig
NoneFileConfig()
Definition:
file-config.cc:35
ns3::NoneFileConfig::Attributes
virtual void Attributes(void)
Load or save the attributes values.
Definition:
file-config.cc:51
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 Tue Feb 6 2024 19:21:16 for ns-3 by
1.9.1