00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef CEYLAN_UNIFORM_RESOURCE_IDENTIFIER_H_
00028 #define CEYLAN_UNIFORM_RESOURCE_IDENTIFIER_H_
00029
00030
00031
00032 #include <string>
00033
00034
00035
00036 namespace Ceylan
00037 {
00038
00039
00040
00049 namespace URI
00050 {
00051
00052
00053
00062 extern const std::string ProtocolSeparator ;
00063
00064
00065
00076 CEYLAN_DLL const std::string getProtocolName(
00077 const std::string & fullURI ) ;
00078
00079
00080
00091 CEYLAN_DLL const std::string getProtocolName(
00092 const std::string & fullURI,
00093 const std::string & protocolSeparator ) ;
00094
00095
00096
00107 CEYLAN_DLL const std::string getEmbeddedURI(
00108 const std::string & fullURI ) ;
00109
00110
00111
00122 CEYLAN_DLL const std::string getEmbeddedURI(
00123 const std::string & fullURI,
00124 const std::string & protocolSeparator ) ;
00125
00126
00127 }
00128
00129
00130 }
00131
00132
00133
00134 #endif // CEYLAN_UNIFORM_RESOURCE_IDENTIFIER_H_
00135