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 <boost/tokenizer.hpp>

Include dependency graph for lluri.cpp:

Go to the source code of this file.

Functions

void encode_character (std::ostream &ostr, std::string::value_type val)
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-2008, 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://secondlifegrid.net/programs/open_source/licensing/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://secondlifegrid.net/programs/open_source/licensing/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

void encode_character ( std::ostream &  ostr,
std::string::value_type  val 
)

Definition at line 46 of file lluri.cpp.

References S32.

Referenced by LLURI::escape().

Here is the caller graph for this function:

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

Definition at line 154 of file lluri.cpp.

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

Referenced by LLURI::buildHTTP().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 156 of file lluri.cpp.

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

Referenced by LLURI::buildHTTP().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 160 of file lluri.cpp.

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

Referenced by LLURI::mapToQueryString().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 158 of file lluri.cpp.

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

Referenced by LLURI::mapToQueryString().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 416 of file lluri.cpp.

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

Here is the caller graph for this function:

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

Definition at line 208 of file lluri.cpp.

References FALSE.

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

Here is the caller graph for this function:

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

Definition at line 148 of file lluri.cpp.

Referenced by escapeHostAndPort(), and escapePathComponent().

Here is the caller graph for this function:

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

Definition at line 140 of file lluri.cpp.

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

Here is the caller graph for this function:


Generated on Fri May 16 08:34:54 2008 for SecondLife by  doxygen 1.5.5