IStringDecoder Class Reference
[String Manipulations]

Search Toolkit Book for IStringDecoder

#include <ncbistr.hpp>

Inheritance diagram for IStringDecoder:

Inheritance graph
[legend]
List of all members.

Detailed Description

Decoder interface. Names and values can be decoded with different rules.

Base class for parsing a string to a set of name-value pairs.

Definition at line 2721 of file ncbistr.hpp.

Public Types

enum  EStringType { eName, eValue }
 Type of string to be decoded. More...

Public Member Functions

virtual string Decode (const string &src, EStringType stype) const =0
 Decode the string.
virtual ~IStringDecoder (void)


Member Enumeration Documentation

enum IStringDecoder::EStringType
 

Type of string to be decoded.

Enumerator:
eName 
eValue 

Definition at line 2725 of file ncbistr.hpp.


Constructor & Destructor Documentation

virtual IStringDecoder::~IStringDecoder void   )  [inline, virtual]
 

Definition at line 2732 of file ncbistr.hpp.


Member Function Documentation

virtual string IStringDecoder::Decode const string &  src,
EStringType  stype
const [pure virtual]
 

Decode the string.

Must throw CStringException if the source string is not valid.


The documentation for this class was generated from the following file:
Generated on Mon Dec 7 15:40:49 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Dec 07 16:24:27 2009 by modify_doxy.py rev. 173732