NCBI C++ ToolKit
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
CUrlArgs_Parser Class Referenceabstract

Search Toolkit Book for CUrlArgs_Parser

CUrlArgs_Parser:: More...

#include <corelib/ncbi_url.hpp>

+ Inheritance diagram for CUrlArgs_Parser:

Public Types

enum  Flags { fSemicolonIsArgDelimiter = (1 << 11) , fEnableParsingAsIndex = (1 << 14) }
 
typedef int TFlags
 An inverted subset of CCgiRequest::TFlags. More...
 

Public Member Functions

 CUrlArgs_Parser (TFlags flags=0)
 
virtual ~CUrlArgs_Parser (void)
 
void SetQueryString (const string &query, NStr::EUrlEncode encode)
 Parse query string, call AddArgument() to store each value. More...
 
void SetQueryString (const string &query, const IUrlEncoder *encoder=0)
 Parse query string, call AddArgument() to store each value. More...
 
void SetSemicolonIsNotArgDelimiter (bool enable=true)
 Treat semicolon as query string argument separator. More...
 

Protected Types

enum  EArgType { eArg_Value , eArg_Index }
 Query type flag. More...
 

Protected Member Functions

virtual void AddArgument (unsigned int position, const string &name, const string &value, EArgType arg_type=eArg_Index)=0
 Process next query argument. More...
 

Protected Attributes

TFlags m_Flags
 

Private Member Functions

void x_SetIndexString (const string &query, const IUrlEncoder &encoder)
 

Detailed Description

CUrlArgs_Parser::

Base class for arguments parsers.

Definition at line 169 of file ncbi_url.hpp.


The documentation for this class was generated from the following files:
Modified on Fri Sep 20 14:57:29 2024 by modify_doxy.py rev. 669887