DCL 4.0
Loading...
Searching...
No Matches
URI.cpp File Reference
#include <ctype.h>
#include <string.h>
#include <dcl/Object.h>
#include <dcl/Regex.h>
#include <dcl/Numeric.h>
#include <dcl/Charset.h>
#include <dcl/URI.h>

Go to the source code of this file.

Macros

#define SCHEME_GROUP   2
#define SCHEME_SPEC_PART_GROUP   3
#define AUTHORITY_GROUP   5
#define PATH_GROUP   6
#define QUERY_GROUP   8
#define FRAGMENT_GROUP   10
#define AUTHORITY_USERINFO_GROUP   2
#define AUTHORITY_HOST_GROUP   3
#define AUTHORITY_PORT_GROUP   5
#define __MATCH_STR(m, index)

Functions

 IMPLEMENT_CLASSINFO (URI, Object) URI
 IMPLEMENT_CLASSINFO (URISyntaxException, Exception) URISyntaxException

Macro Definition Documentation

◆ __MATCH_STR

#define __MATCH_STR ( m,
index )
Value:
m[index].first, m[index].second

◆ AUTHORITY_GROUP

#define AUTHORITY_GROUP   5

Definition at line 264 of file URI.cpp.

◆ AUTHORITY_HOST_GROUP

#define AUTHORITY_HOST_GROUP   3

Definition at line 270 of file URI.cpp.

◆ AUTHORITY_PORT_GROUP

#define AUTHORITY_PORT_GROUP   5

Definition at line 271 of file URI.cpp.

◆ AUTHORITY_USERINFO_GROUP

#define AUTHORITY_USERINFO_GROUP   2

Definition at line 269 of file URI.cpp.

◆ FRAGMENT_GROUP

#define FRAGMENT_GROUP   10

Definition at line 267 of file URI.cpp.

◆ PATH_GROUP

#define PATH_GROUP   6

Definition at line 265 of file URI.cpp.

◆ QUERY_GROUP

#define QUERY_GROUP   8

Definition at line 266 of file URI.cpp.

◆ SCHEME_GROUP

#define SCHEME_GROUP   2

Definition at line 262 of file URI.cpp.

◆ SCHEME_SPEC_PART_GROUP

#define SCHEME_SPEC_PART_GROUP   3

Definition at line 263 of file URI.cpp.

Function Documentation

◆ IMPLEMENT_CLASSINFO() [1/2]

IMPLEMENT_CLASSINFO ( URI ,
Object  )

Definition at line 119 of file URI.cpp.

123{
124 __port = -1;
125 parse(_uri);
126}

◆ IMPLEMENT_CLASSINFO() [2/2]

IMPLEMENT_CLASSINFO ( URISyntaxException ,
Exception  )

Definition at line 317 of file URI.cpp.

323 : Exception(NULL)
324{
325 __message = _reason + __T(": ") + _source;
326}
#define NULL
Definition Config.h:340
#define __T(str)
Definition Object.h:44