A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
src
core
doc
deprecated-example.h
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2015 Lawrence Livermore National Laboratory
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: Peter D. Barnes, Jr. <pdbarnes@llnl.gov>
19
*/
20
21
/*
22
* This is an example included in the doxygen-generated documentation
23
* for NS_DEPRECATED.
24
*/
25
26
// [doxygen snippet]
27
/*
28
* Do something useful.
29
*
30
* \deprecated This method will go away in future versions of ns-3.
31
* See instead TheNewWay()
32
*/
33
NS_DEPRECATED
34
void
SomethingUseful
(
void
);
35
/*
36
* Do something more useful.
37
*/
38
void
TheNewWay
(
void
);
39
// [doxygen snippet]
TheNewWay
void TheNewWay(void)
NS_DEPRECATED
#define NS_DEPRECATED
Mark a function as deprecated.
Definition:
deprecated.h:60
SomethingUseful
NS_DEPRECATED void SomethingUseful(void)
Generated on Wed Nov 7 2018 10:01:48 for ns-3 by
1.8.14