lluri.cpp File Reference

Implementation of the LLURI class. More...

#include "linden_common.h"
#include "llapp.h"
#include "lluri.h"
#include "llsd.h"
#include <iomanip>
#include "../llmath/lluuid.h"

Include dependency graph for lluri.cpp:

Go to the source code of this file.

Functions

const std::string unreserved ()
const std::string sub_delims ()
std::string escapeHostAndPort (const std::string &s)
std::string escapePathComponent (const std::string &s)
std::string escapeQueryVariable (const std::string &s)
std::string escapeQueryValue (const std::string &s)
static BOOL isDefault (const std::string &scheme, U16 port)
void findAuthorityParts (const std::string &authority, std::string &user, std::string &host, std::string &port)


Detailed Description

Implementation of the LLURI class.

Author:
Phoenix
Date:
2006-02-08
LicenseInfo
firstyear=2006&license=viewergpl

Copyright (c) 2006-2007, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file lluri.cpp.


Function Documentation

std::string @20::escapeHostAndPort ( const std::string &  s  )  [static]

Definition at line 110 of file lluri.cpp.

References LLURI::escape(), sub_delims(), and unreserved().

Referenced by LLURI::buildHTTP().

std::string @20::escapePathComponent ( const std::string &  s  )  [static]

Definition at line 112 of file lluri.cpp.

References LLURI::escape(), sub_delims(), and unreserved().

Referenced by LLURI::buildHTTP().

std::string @20::escapeQueryValue ( const std::string &  s  )  [static]

Definition at line 116 of file lluri.cpp.

References LLURI::escape(), and unreserved().

Referenced by LLURI::mapToQueryString().

std::string @20::escapeQueryVariable ( const std::string &  s  )  [static]

Definition at line 114 of file lluri.cpp.

References LLURI::escape(), and unreserved().

Referenced by LLURI::mapToQueryString().

void @21::findAuthorityParts ( const std::string &  authority,
std::string &  user,
std::string &  host,
std::string &  port 
) [static]

Definition at line 354 of file lluri.cpp.

Referenced by LLURI::hostName(), LLURI::hostPort(), LLURI::password(), and LLURI::userName().

static BOOL isDefault ( const std::string &  scheme,
U16  port 
) [static]

Definition at line 194 of file lluri.cpp.

References FALSE.

Referenced by LLURI::defaultPort(), and LLURI::LLURI().

const std::string @20::sub_delims (  )  [static]

Definition at line 104 of file lluri.cpp.

References s.

Referenced by escapeHostAndPort(), and escapePathComponent().

const std::string @20::unreserved (  )  [static]

Definition at line 96 of file lluri.cpp.

References s.

Referenced by LLURI::escape(), escapeHostAndPort(), escapePathComponent(), escapeQueryValue(), and escapeQueryVariable().


Generated on Thu Jul 1 06:10:45 2010 for Second Life Viewer by  doxygen 1.4.7