Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3492)

Unified Diff: src/core/model/enum.h

Issue 342120043: New patch for core module changes (Closed)
Patch Set: Updated core patch Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 = "",

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b