ANNA Suite  2020b
Multipurpose development suite for Telco applications
Method.hpp
Go to the documentation of this file.
1 // ANNA - Anna is Not Nothingness Anymore //
2 // //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo //
4 // //
5 // See project site at http://redmine.teslayout.com/projects/anna-suite //
6 // See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
7 
8 
9 #ifndef anna_http_Method_hpp
10 #define anna_http_Method_hpp
11 
12 #include <string>
13 
14 #include <anna/config/defines.hpp>
16 
17 namespace anna {
18 
19 namespace http {
20 
21 class Token;
22 
26 class Method {
27 public:
32  struct Type {
33  enum _v {
35  };
37  };
38 
46  static Type::_v asType(const Token* token) ;
47 
53  static std::string asString(const Type::_v type) ;
54 
55 private:
56  Method() {;}
57 };
58 
59 
60 }
61 }
62 
63 #endif
Definition: Method.hpp:34
Definition: Method.hpp:34
static Type::_v asType(const Token *token)
Definition: Method.hpp:26
Definition: Method.hpp:34
Definition: Token.hpp:20
Definition: Method.hpp:34
Definition: Method.hpp:32
Definition: Method.hpp:34
static std::string asString(const Type::_v type)
Definition: Method.hpp:34
Definition: Method.hpp:34
Definition: app.hpp:12
_v
Definition: Method.hpp:33
Definition: Method.hpp:34
Definition: Method.hpp:34