Add namespace around all files

This commit is contained in:
Patrick Niklaus
2016-01-05 16:51:13 +01:00
parent efc9007cbf
commit 6b18e4f7e9
194 changed files with 2648 additions and 1245 deletions
+7
View File
@@ -1,6 +1,10 @@
#ifndef COMPRESSION_TYPE_HPP
#define COMPRESSION_TYPE_HPP
namespace osrm
{
namespace server
{
namespace http
{
@@ -10,6 +14,9 @@ enum compression_type
gzip_rfc1952,
deflate_rfc1951
};
}
}
}
#endif // COMPRESSION_TYPE_HPP
+8
View File
@@ -4,8 +4,13 @@
#include <string>
#include <algorithm>
namespace osrm
{
namespace server
{
namespace http
{
struct header
{
// explicitly use default copy c'tor as adding move c'tor
@@ -22,6 +27,9 @@ struct header
std::string name;
std::string value;
};
}
}
}
#endif // HEADER_HPP
+8
View File
@@ -7,8 +7,13 @@
#include <vector>
namespace osrm
{
namespace server
{
namespace http
{
class reply
{
public:
@@ -33,6 +38,9 @@ class reply
std::string status_to_string(reply::status_type status);
boost::asio::const_buffer status_to_buffer(reply::status_type status);
};
}
}
}
#endif // REPLY_HPP
+7 -1
View File
@@ -5,6 +5,10 @@
#include <string>
namespace osrm
{
namespace server
{
namespace http
{
@@ -16,6 +20,8 @@ struct request
boost::asio::ip::address endpoint;
};
} // namespace http
}
}
}
#endif // REQUEST_HPP