From f9538ea708bb58a1aac699c5196d987c8c9070ba Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Thu, 21 Feb 2008 19:16:00 +0100 Subject: [PATCH] enum-value -> enum --- samples/main-grid-topology.cc | 1 - src/core/attribute-test.cc | 2 +- src/core/{enum-value.cc => enum.cc} | 2 +- src/core/{enum-value.h => enum.h} | 0 src/core/wscript | 4 ++-- src/mobility/position-allocator.cc | 2 +- src/mobility/random-walk-2d-mobility-model.cc | 2 +- 7 files changed, 6 insertions(+), 7 deletions(-) rename src/core/{enum-value.cc => enum.cc} (99%) rename src/core/{enum-value.h => enum.h} (100%) diff --git a/samples/main-grid-topology.cc b/samples/main-grid-topology.cc index aeccbf2fc..8baef7569 100644 --- a/samples/main-grid-topology.cc +++ b/samples/main-grid-topology.cc @@ -7,7 +7,6 @@ #include "ns3/mobility-helper.h" #include "ns3/uinteger.h" #include "ns3/double.h" -#include "ns3/enum-value.h" using namespace ns3; diff --git a/src/core/attribute-test.cc b/src/core/attribute-test.cc index 24822d0bf..caae9b45b 100644 --- a/src/core/attribute-test.cc +++ b/src/core/attribute-test.cc @@ -4,7 +4,7 @@ #include "boolean.h" #include "integer.h" #include "uinteger.h" -#include "enum-value.h" +#include "enum.h" #include "random-variable.h" #include "double.h" #include "object-vector.h" diff --git a/src/core/enum-value.cc b/src/core/enum.cc similarity index 99% rename from src/core/enum-value.cc rename to src/core/enum.cc index e4b3de183..1d178a074 100644 --- a/src/core/enum-value.cc +++ b/src/core/enum.cc @@ -1,4 +1,4 @@ -#include "enum-value.h" +#include "enum.h" #include "fatal-error.h" #include diff --git a/src/core/enum-value.h b/src/core/enum.h similarity index 100% rename from src/core/enum-value.h rename to src/core/enum.h diff --git a/src/core/wscript b/src/core/wscript index 71839f1ae..59c505842 100644 --- a/src/core/wscript +++ b/src/core/wscript @@ -58,7 +58,7 @@ def build(bld): 'attribute-test.cc', 'integer.cc', 'uinteger.cc', - 'enum-value.cc', + 'enum.cc', 'double.cc', 'object-factory.cc', 'object-vector.cc', @@ -113,7 +113,7 @@ def build(bld): 'integer.h', 'uinteger.h', 'double.h', - 'enum-value.h', + 'enum.h', 'object-factory.h', 'attribute-helper.h', 'initial-value.h', diff --git a/src/mobility/position-allocator.cc b/src/mobility/position-allocator.cc index 86a20b7a7..de999c16a 100644 --- a/src/mobility/position-allocator.cc +++ b/src/mobility/position-allocator.cc @@ -21,7 +21,7 @@ #include "ns3/random-variable.h" #include "ns3/double.h" #include "ns3/integer.h" -#include "ns3/enum-value.h" +#include "ns3/enum.h" #include "ns3/log.h" #include diff --git a/src/mobility/random-walk-2d-mobility-model.cc b/src/mobility/random-walk-2d-mobility-model.cc index 20c25bd14..97dc88374 100644 --- a/src/mobility/random-walk-2d-mobility-model.cc +++ b/src/mobility/random-walk-2d-mobility-model.cc @@ -19,7 +19,7 @@ * Author: Mathieu Lacage */ #include "random-walk-2d-mobility-model.h" -#include "ns3/enum-value.h" +#include "ns3/enum.h" #include "ns3/simulator.h" #include "ns3/log.h" #include