Index: src/core/model/enum.h |
=================================================================== |
--- a/src/core/model/enum.h |
+++ b/src/core/model/enum.h |
@@ -24,6 +24,10 @@ |
#include "attribute-accessor-helper.h" |
#include <list> |
+#include "ns3/ns3-module.h" |
+#define NS3_MODULE NS3_CORE_MODULE |
+#include "ns3/ns3-export.h" |
+ |
/** |
* \file |
* \ingroup attribute_Enum |
@@ -51,7 +55,7 @@ |
* EnumValue (RipNg::NO_SPLIT_HORIZON)); |
* \endcode |
*/ |
-class EnumValue : public AttributeValue |
+class NS3_EXPORT EnumValue : public AttributeValue |
{ |
public: |
EnumValue (); |
@@ -82,7 +86,7 @@ |
return true; |
} |
-class EnumChecker : public AttributeChecker |
+class NS3_EXPORT EnumChecker : public AttributeChecker |
{ |
public: |
EnumChecker (); |
@@ -177,7 +181,7 @@ |
* \param [in] v22 A enum value |
* \param [in] n22 The corresponding name. |
*/ |
-Ptr<const AttributeChecker> MakeEnumChecker (int v1, std::string n1, |
+NS3_EXPORT Ptr<const AttributeChecker> MakeEnumChecker (int v1, std::string n1, |
int v2 = 0, std::string n2 = "", |
int v3 = 0, std::string n3 = "", |
int v4 = 0, std::string n4 = "", |