A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
data-output-interface.cc
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2 /*
3  * Copyright (c) 2008 Drexel University
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: Joe Kopena (tjkopena@cs.drexel.edu)
19  */
20 
21 #include "ns3/log.h"
22 
23 #include "data-output-interface.h"
24 
25 using namespace ns3;
26 
27 NS_LOG_COMPONENT_DEFINE ("DataOutputInterface");
28 
29 
30 //--------------------------------------------------------------
31 //----------------------------------------------
32 DataOutputInterface::DataOutputInterface()
33 {
35 }
36 DataOutputInterface::~DataOutputInterface()
37 {
39 }
40 void
42 {
44 
46  // end DataOutputInterface::DoDispose
47 }
48 
49 void
50 DataOutputInterface::SetFilePrefix (const std::string prefix)
51 {
52  m_filePrefix = prefix;
53 }
54 
55 std::string
56 DataOutputInterface::GetFilePrefix () const
57 {
58  return m_filePrefix;
59 }
#define NS_LOG_COMPONENT_DEFINE(name)
Definition: log.h:122
virtual void DoDispose(void)
Definition: object.cc:335
#define NS_LOG_FUNCTION_NOARGS()
Definition: log.h:275