A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
src
core
model
type-name.cc
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2007 Georgia Tech Research Corporation
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
*/
19
20
#include "
type-name.h
"
21
28
namespace
ns3
{
29
30
template
<> std::string
TypeNameGet< int8_t >
(void) {
return
"int8_t"
; }
31
template
<> std::string
TypeNameGet< int16_t >
(void) {
return
"int16_t"
; }
32
template
<> std::string
TypeNameGet< int32_t >
(void) {
return
"int32_t"
; }
33
template
<> std::string
TypeNameGet< int64_t >
(void) {
return
"int64_t"
; }
34
template
<> std::string
TypeNameGet< uint8_t >
(void) {
return
"uint8_t"
; }
35
template
<> std::string
TypeNameGet< uint16_t>
(void) {
return
"uint16_t"
; }
36
template
<> std::string
TypeNameGet< uint32_t>
(void) {
return
"uint32_t"
; }
37
template
<> std::string
TypeNameGet< uint64_t>
(void) {
return
"uint64_t"
; }
38
template
<> std::string
TypeNameGet< float >
(void) {
return
"float"
; }
39
template
<> std::string
TypeNameGet< double >
(void) {
return
"double"
; }
40
41
}
// namespace ns3
ns3::TypeNameGet< int32_t >
std::string TypeNameGet< int32_t >(void)
ns3::TypeNameGet(void) specializaton.
Definition:
type-name.cc:32
ns3::TypeNameGet< int64_t >
std::string TypeNameGet< int64_t >(void)
ns3::TypeNameGet(void) specializaton.
Definition:
type-name.cc:33
type-name.h
ns3::TypeNameGet() function declarations.
ns3::TypeNameGet< uint8_t >
std::string TypeNameGet< uint8_t >(void)
ns3::TypeNameGet(void) specializaton.
Definition:
type-name.cc:34
ns3::TypeNameGet< uint16_t >
std::string TypeNameGet< uint16_t >(void)
ns3::TypeNameGet(void) specializaton.
Definition:
type-name.cc:35
ns3::TypeNameGet< double >
std::string TypeNameGet< double >(void)
ns3::TypeNameGet(void) specializaton.
Definition:
type-name.cc:39
ns3::TypeNameGet< uint32_t >
std::string TypeNameGet< uint32_t >(void)
ns3::TypeNameGet(void) specializaton.
Definition:
type-name.cc:36
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::TypeNameGet< float >
std::string TypeNameGet< float >(void)
ns3::TypeNameGet(void) specializaton.
Definition:
type-name.cc:38
ns3::TypeNameGet< int8_t >
std::string TypeNameGet< int8_t >(void)
ns3::TypeNameGet(void) specializaton.
Definition:
type-name.cc:30
ns3::TypeNameGet< int16_t >
std::string TypeNameGet< int16_t >(void)
ns3::TypeNameGet(void) specializaton.
Definition:
type-name.cc:31
ns3::TypeNameGet< uint64_t >
std::string TypeNameGet< uint64_t >(void)
ns3::TypeNameGet(void) specializaton.
Definition:
type-name.cc:37
Generated on Wed Nov 7 2018 10:01:50 for ns-3 by
1.8.14