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
file-config.h
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
#ifndef FILE_CONFIG_H
22
#define FILE_CONFIG_H
23
24
#include <string>
25
26
namespace
ns3
{
27
32
class
FileConfig
33
{
34
public
:
35
virtual
~FileConfig
();
36
virtual
void
SetFilename
(std::string filename) = 0;
37
virtual
void
Default
(
void
) = 0;
38
virtual
void
Global
(
void
) = 0;
39
virtual
void
Attributes
(
void
) = 0;
40
};
41
46
class
NoneFileConfig
:
public
FileConfig
47
{
48
public
:
49
NoneFileConfig
();
50
virtual
~NoneFileConfig
();
51
virtual
void
SetFilename
(std::string filename);
52
virtual
void
Default
(
void
);
53
virtual
void
Global
(
void
);
54
virtual
void
Attributes
(
void
);
55
};
56
57
}
// namespace ns3
58
59
#endif
/* FILE_CONFIG_H */
ns3::FileConfig::Attributes
virtual void Attributes(void)=0
ns3::NoneFileConfig::Attributes
virtual void Attributes(void)
Definition:
file-config.cc:45
ns3::FileConfig::Default
virtual void Default(void)=0
ns3::NoneFileConfig
Definition:
file-config.h:46
ns3::FileConfig::~FileConfig
virtual ~FileConfig()
Definition:
file-config.cc:25
ns3::NoneFileConfig::~NoneFileConfig
virtual ~NoneFileConfig()
Definition:
file-config.cc:32
ns3::FileConfig
Definition:
file-config.h:32
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::NoneFileConfig::Global
virtual void Global(void)
Definition:
file-config.cc:42
ns3::FileConfig::SetFilename
virtual void SetFilename(std::string filename)=0
ns3::FileConfig::Global
virtual void Global(void)=0
ns3::NoneFileConfig::SetFilename
virtual void SetFilename(std::string filename)
Definition:
file-config.cc:36
ns3::NoneFileConfig::NoneFileConfig
NoneFileConfig()
Definition:
file-config.cc:29
ns3::NoneFileConfig::Default
virtual void Default(void)
Definition:
file-config.cc:39
src
config-store
model
file-config.h
Generated on Thu Mar 24 2016 00:46:31 for ns-3 by
1.8.9.1