NCBI C++ ToolKit
Modules | Classes | Enumerations | Functions
UTIL

Util members. More...

+ Collaboration diagram for UTIL:

Modules

 Generic Cache
 
 Checksum
 
 Console Debug Dump Viewer
 
 Interval Search Tree
 
 Lightweight String
 
 Linked Set
 
 Random Number Generation
 
 Range Support
 
 Regular Expressions
 
 Registry-based DNS
 
 Resizing Iterator
 
 Rotating Log Streams
 
 Stream Support
 
 String Search
 
 Threaded Pools for Request Handling
 
 UTF-8 Conversion
 
 Utility Exceptions
 
 Weak Map Template
 
 Query Parser and Query Tree
 
 Transactions and Transactional Objects
 The idea of ITransactional and ITransactionalRegistry is that both form a pair of associated objects.
 
 BLAST Formatting
 

Classes

class  IUrlEncoder
 IUrlEncoder:: More...
 
class  CEmptyUrlEncoder
 Primitive encoder - all methods return the argument value. More...
 
class  CDefaultUrlEncoder
 Default encoder, uses the selected encoding for argument names/values and eUrlEncode_Path for document path. More...
 
class  CUrlArgs_Parser
 CUrlArgs_Parser:: More...
 
class  CUrlArgs
 CUrlArgs:: More...
 
struct  CUrlArgs::SUrlArg
 Name-value pair. More...
 
class  CUrl
 CUrl:: More...
 
class  CUrlException
 CUrlException –. More...
 
class  CUrlParserException
 CUrlParserException –. More...
 
class  CApplogUrl
 CApplogUrl:: More...
 

Enumerations

enum  CUrlArgs_Parser::EArgType { CUrlArgs_Parser::eArg_Value, CUrlArgs_Parser::eArg_Index }
 Query type flag. More...
 
enum  CUrlArgs::EAmpEncoding { CUrlArgs::eAmp_Char, CUrlArgs::eAmp_Entity }
 Ampersand encoding for composed URLs. More...
 
enum  CUrlException::EErrCode { CUrlException::eName, CUrlException::eNoArgs }
 
enum  CUrlParserException::EErrCode { CUrlParserException::eFormat }
 

Functions

void CUrl::x_SetScheme (const string &scheme, const IUrlEncoder &encoder)
 
void CUrl::x_SetUser (const string &user, const IUrlEncoder &encoder)
 
void CUrl::x_SetPassword (const string &password, const IUrlEncoder &encoder)
 
void CUrl::x_SetHost (const string &host, const IUrlEncoder &encoder)
 
void CUrl::x_SetPort (const string &port, const IUrlEncoder &encoder)
 
void CUrl::x_SetPath (const string &path, const IUrlEncoder &encoder)
 
void CUrl::x_SetFragment (const string &fragment, const IUrlEncoder &encoder)
 
void CUrl::x_SetArgs (const string &args, const IUrlEncoder &encoder)
 
CUrlArgsCUrl::GetArgs (void)
 Get list of arguments. More...
 
const_iterator CUrlArgs::FindFirst (const string &name) const
 Find the first argument with the given name. More...
 
iterator CUrlArgs::FindFirst (const string &name)
 Find the first argument with the given name. More...
 
const_iterator CUrlArgs::FindNext (const const_iterator &iter) const
 Take argument name from the iterator, find next argument with the same name, return GetArgs().end() if not found. More...
 
iterator CUrlArgs::FindNext (const iterator &iter)
 Take argument name from the iterator, find next argument with the same name, return GetArgs().end() if not found. More...
 

Detailed Description

Util members.

Enumeration Type Documentation

Ampersand encoding for composed URLs.

Enumerator
eAmp_Char 

Use & to separate arguments.

eAmp_Entity 

Encode '&' as "&".

Definition at line 239 of file ncbi_url.hpp.

enum CUrlArgs_Parser::EArgType
protected

Query type flag.

Enumerator
eArg_Value 

Query contains name=value pairs.

eArg_Index 

Query contains a list of names: name1+name2+name3.

Definition at line 193 of file ncbi_url.hpp.

Enumerator
eName 
eNoArgs 

Definition at line 453 of file ncbi_url.hpp.

Enumerator
eFormat 

Definition at line 479 of file ncbi_url.hpp.

Function Documentation

CUrlArgs::iterator CUrlArgs::FindFirst ( const string name)
inline

Find the first argument with the given name.

If not found, return GetArgs().end().

Definition at line 583 of file ncbi_url.hpp.

References CUrlArgs::m_Args, and CUrlArgs::x_Find().

Referenced by g_ParseNSOutput(), CUrlArgs::GetValue(), CUrlArgs::IsSetValue(), and CUrlArgs::SetValue().

CUrlArgs::const_iterator CUrlArgs::FindFirst ( const string name) const
inline

Find the first argument with the given name.

If not found, return GetArgs().end().

Definition at line 576 of file ncbi_url.hpp.

References CUrlArgs::m_Args, and CUrlArgs::x_Find().

CUrlArgs::iterator CUrlArgs::FindNext ( const iterator iter)
inline

Take argument name from the iterator, find next argument with the same name, return GetArgs().end() if not found.

Definition at line 597 of file ncbi_url.hpp.

References CUrlArgs::x_Find().

CUrlArgs::const_iterator CUrlArgs::FindNext ( const const_iterator iter) const
inline

Take argument name from the iterator, find next argument with the same name, return GetArgs().end() if not found.

Definition at line 590 of file ncbi_url.hpp.

References CUrlArgs::x_Find().

CUrlArgs & CUrl::GetArgs ( void  )
inline

Get list of arguments.

Definition at line 566 of file ncbi_url.hpp.

References auto_ptr< X >::get(), CUrl::GetDefaultEncoder(), kEmptyStr, CUrl::m_ArgsList, and CUrl::x_SetArgs().

void CUrl::x_SetArgs ( const string args,
const IUrlEncoder encoder 
)
inlineprivate

Definition at line 557 of file ncbi_url.hpp.

References CUrl::m_ArgsList, CUrl::m_OrigArgs, and auto_ptr< X >::reset().

Referenced by CUrl::GetArgs(), and CUrl::SetUrl().

void CUrl::x_SetFragment ( const string fragment,
const IUrlEncoder encoder 
)
inlineprivate

Definition at line 550 of file ncbi_url.hpp.

References IUrlEncoder::DecodeFragment(), and CUrl::m_Fragment.

Referenced by CUrl::SetUrl().

void CUrl::x_SetHost ( const string host,
const IUrlEncoder encoder 
)
inlineprivate

Definition at line 528 of file ncbi_url.hpp.

References CUrl::m_Host.

Referenced by CUrl::SetUrl().

void CUrl::x_SetPassword ( const string password,
const IUrlEncoder encoder 
)
inlineprivate

Definition at line 521 of file ncbi_url.hpp.

References IUrlEncoder::DecodePassword(), and CUrl::m_Password.

Referenced by CUrl::SetUrl().

void CUrl::x_SetPath ( const string path,
const IUrlEncoder encoder 
)
inlineprivate

Definition at line 543 of file ncbi_url.hpp.

References IUrlEncoder::DecodePath(), and CUrl::m_Path.

Referenced by CUrl::SetUrl().

void CUrl::x_SetPort ( const string port,
const IUrlEncoder encoder 
)
inlineprivate

Definition at line 535 of file ncbi_url.hpp.

References CUrl::m_Port, and NStr::StringToInt().

Referenced by CUrl::SetUrl().

void CUrl::x_SetScheme ( const string scheme,
const IUrlEncoder encoder 
)
inlineprivate

Definition at line 507 of file ncbi_url.hpp.

References CUrl::m_Scheme.

Referenced by CUrl::SetUrl().

void CUrl::x_SetUser ( const string user,
const IUrlEncoder encoder 
)
inlineprivate

Definition at line 514 of file ncbi_url.hpp.

References IUrlEncoder::DecodeUser(), and CUrl::m_User.

Referenced by CUrl::SetUrl().

Modified on Tue Jul 26 18:34:30 2016 by modify_doxy.py rev. 506947