A few code reorganizations
Change-Id: If4632fecc7085e5448226c2061e08546757eda9b
diff --git a/core/conf/checker.cpp b/core/conf/checker.cpp
index d00bb34..30d6d2b 100644
--- a/core/conf/checker.cpp
+++ b/core/conf/checker.cpp
@@ -23,7 +23,8 @@
#include <boost/algorithm/string.hpp>
-namespace nsl {
+namespace ndn {
+namespace delorean {
namespace conf {
Checker::~Checker()
@@ -173,4 +174,5 @@
}
} // namespace conf
-} // namespace nsl
+} // namespace delorean
+} // namespace ndn
diff --git a/core/conf/checker.hpp b/core/conf/checker.hpp
index 17117aa..f618f92 100644
--- a/core/conf/checker.hpp
+++ b/core/conf/checker.hpp
@@ -30,7 +30,8 @@
#include <boost/filesystem.hpp>
#include <boost/lexical_cast.hpp>
-namespace nsl {
+namespace ndn {
+namespace delorean {
namespace conf {
class Checker
@@ -93,6 +94,7 @@
};
} // namespace conf
-} // namespace nsl
+} // namespace delorean
+} // namespace ndn
#endif // NDN_DELOREAN_CONF_CHECKER_HPP
diff --git a/core/conf/config-file.cpp b/core/conf/config-file.cpp
index ffb8051..fd1902b 100644
--- a/core/conf/config-file.cpp
+++ b/core/conf/config-file.cpp
@@ -22,7 +22,8 @@
#include "config-file.hpp"
#include <boost/property_tree/info_parser.hpp>
#include <boost/filesystem.hpp>
-namespace nsl {
+namespace ndn {
+namespace delorean {
namespace conf {
ConfigFile::ConfigFile(const std::string& filename)
@@ -94,4 +95,5 @@
}
} // namespace conf
-} // namespace nsl
+} // namespace delorean
+} // namespace ndn
diff --git a/core/conf/config-file.hpp b/core/conf/config-file.hpp
index e86def2..1ed2fab 100644
--- a/core/conf/config-file.hpp
+++ b/core/conf/config-file.hpp
@@ -25,7 +25,8 @@
#include "common.hpp"
#include "config.hpp"
-namespace nsl {
+namespace ndn {
+namespace delorean {
namespace conf {
class ConfigFile
{
@@ -74,6 +75,7 @@
};
} // namespace conf
-} // namespace nsl
+} // namespace delorean
+} // namespace ndn
#endif // NDN_DELOREAN_CONF_CONFIG_FILE_HPP
diff --git a/core/conf/config.hpp b/core/conf/config.hpp
index 7bffe63..c515d70 100644
--- a/core/conf/config.hpp
+++ b/core/conf/config.hpp
@@ -24,7 +24,8 @@
#include <boost/property_tree/ptree.hpp>
-namespace nsl {
+namespace ndn {
+namespace delorean {
namespace conf {
typedef boost::property_tree::ptree ConfigSection;
@@ -40,6 +41,7 @@
};
} // namespace conf
-} // namespace nsl
+} // namespace delorean
+} // namespace ndn
#endif // NDN_DELOREAN_CONF_CONFIG_HPP
diff --git a/core/conf/filter.cpp b/core/conf/filter.cpp
index 7f4c945..bb18236 100644
--- a/core/conf/filter.cpp
+++ b/core/conf/filter.cpp
@@ -23,7 +23,8 @@
#include <boost/algorithm/string.hpp>
-namespace nsl {
+namespace ndn {
+namespace delorean {
namespace conf {
Filter::~Filter()
@@ -154,4 +155,5 @@
}
} // namespace conf
+} // namespace delorean
} // namespace ndn
diff --git a/core/conf/filter.hpp b/core/conf/filter.hpp
index 65a58ce..7c26720 100644
--- a/core/conf/filter.hpp
+++ b/core/conf/filter.hpp
@@ -26,7 +26,8 @@
#include "config.hpp"
#include <ndn-cxx/util/regex.hpp>
-namespace nsl {
+namespace ndn {
+namespace delorean {
namespace conf {
/**
@@ -105,6 +106,7 @@
};
} // namespace conf
+} // namespace delorean
} // namespace ndn
#endif // NDN_DELOREAN_CONF_FILTER_HPP
diff --git a/core/conf/key-locator-checker.cpp b/core/conf/key-locator-checker.cpp
index 8e21677..c2f808d 100644
--- a/core/conf/key-locator-checker.cpp
+++ b/core/conf/key-locator-checker.cpp
@@ -23,7 +23,8 @@
#include <boost/algorithm/string.hpp>
-namespace nsl {
+namespace ndn {
+namespace delorean {
namespace conf {
KeyLocatorChecker::~KeyLocatorChecker()
@@ -274,4 +275,5 @@
}
} // namespace conf
-} // namespace nsl
+} // namespace delorean
+} // namespace ndn
diff --git a/core/conf/key-locator-checker.hpp b/core/conf/key-locator-checker.hpp
index 97f270b..7cc2937 100644
--- a/core/conf/key-locator-checker.hpp
+++ b/core/conf/key-locator-checker.hpp
@@ -26,7 +26,8 @@
#include "config.hpp"
#include <ndn-cxx/util/regex.hpp>
-namespace nsl {
+namespace ndn {
+namespace delorean {
namespace conf {
class KeyLocatorCheckerFactory;
@@ -122,6 +123,7 @@
} // namespace conf
-} // namespace nsl
+} // namespace delorean
+} // namespace ndn
#endif // NDN_DELOREAN_CONF_KEY_LOCATOR_CHECKER_HPP
diff --git a/core/conf/rule.cpp b/core/conf/rule.cpp
index 55dc59d..efaac3e 100644
--- a/core/conf/rule.cpp
+++ b/core/conf/rule.cpp
@@ -21,7 +21,8 @@
#include "rule.hpp"
-namespace nsl {
+namespace ndn {
+namespace delorean {
namespace conf {
Rule::Rule(const std::string& id)
@@ -78,4 +79,5 @@
}
} // namespace conf
-} // namespace nsl
+} // namespace delorean
+} // namespace ndn
diff --git a/core/conf/rule.hpp b/core/conf/rule.hpp
index 47a70fd..2133efe 100644
--- a/core/conf/rule.hpp
+++ b/core/conf/rule.hpp
@@ -25,7 +25,8 @@
#include "filter.hpp"
#include "checker.hpp"
-namespace nsl {
+namespace ndn {
+namespace delorean {
namespace conf {
class Rule
@@ -68,6 +69,7 @@
};
} // namespace conf
-} // namespace nsl
+} // namespace delorean
+} // namespace ndn
#endif // NDN_DELOREAN_CONF_RULE_HPP