AGXDynamics  2.31.1.0
uri.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2021. Algoryx Simulation AB.
3 
4 All AGX source code, intellectual property, documentation, sample code,
5 tutorials, scene files and technical white papers, are copyrighted, proprietary
6 and confidential material of Algoryx Simulation AB. You may not download, read,
7 store, distribute, publish, copy or otherwise disseminate, use or expose this
8 material unless having a written signed agreement with Algoryx Simulation AB, or having been
9 advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10 valid commercial license from Algoryx Simulation AB.
11 
12 Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13 from using this software, unless otherwise stated in written agreements with
14 Algoryx Simulation AB.
15 */
16 
17 #pragma once
18 
19 
20 #include <string>
21 #include <agx/Integer.h>
22 #include <agx/agxPhysics_export.h>
23 #include <agx/agx.h>
24 #include <stddef.h>
25 
26 #ifdef _MSC_VER
27 # pragma warning(push)
28 # pragma warning( disable : 4251 ) // class X needs to have dll-interface to be used by clients of class Y
29 #endif
30 
31 namespace agxUtil
32 {
34  {
35  public:
36  std::string QueryString, Path, Protocol, Host;
38 
39  static Uri Parse(const std::string &uri);
40  };
41 
42  AGXPHYSICS_EXPORT ptrdiff_t urldecode(char* dst, const char* src, int normalize);
43 }
44 
45 #ifdef _MSC_VER
46 # pragma warning(pop)
47 #endif
AGXPHYSICS_EXPORT ptrdiff_t urldecode(char *dst, const char *src, int normalize)
#define AGXPHYSICS_EXPORT
std::string QueryString
Definition: uri.h:36
agx::UInt16 Port
Definition: uri.h:37
uint16_t UInt16
Definition: Integer.h:39
The agxUtil namespace contain classes and methods for utility functionality.