mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.reference
git-svn-id: svn://ultimatepp.org/upp/trunk@9837 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
c800854447
commit
8628a18585
4 changed files with 36 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ CONSOLE_APP_MAIN
|
|||
DUMP(i);
|
||||
DUMP(s);
|
||||
|
||||
Index< Tuple2<int, String> > ndx;
|
||||
Index< Tuple<int, String> > ndx;
|
||||
ndx.Add(x);
|
||||
ndx.Add(y);
|
||||
|
||||
|
|
|
|||
22
reference/UrlInfo/UrlInfo.cpp
Normal file
22
reference/UrlInfo/UrlInfo.cpp
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#include <Core/Core.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
CONSOLE_APP_MAIN
|
||||
{
|
||||
StdLogSetup(LOG_COUT|LOG_FILE);
|
||||
|
||||
UrlInfo f("http://username:password@hostname:9090/path?arg=value&aarg[]=item1&aarg[]=item2#anchor");
|
||||
|
||||
DUMP(f.url);
|
||||
DUMP(f.scheme);
|
||||
DUMP(f.host);
|
||||
DUMP(f.port);
|
||||
DUMP(f.user);
|
||||
DUMP(f.password);
|
||||
DUMP(f.path);
|
||||
DUMP(f.query);
|
||||
DUMP(f.fragment);
|
||||
DUMP(f.parameters);
|
||||
DUMP(f.array_parameters);
|
||||
}
|
||||
9
reference/UrlInfo/UrlInfo.upp
Normal file
9
reference/UrlInfo/UrlInfo.upp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
uses
|
||||
Core;
|
||||
|
||||
file
|
||||
UrlInfo.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "";
|
||||
|
||||
4
reference/UrlInfo/init
Normal file
4
reference/UrlInfo/init
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#ifndef _UrlInfo_icpp_init_stub
|
||||
#define _UrlInfo_icpp_init_stub
|
||||
#include "Core/init"
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue