NCBI C++ ToolKit
|
Search Toolkit Book for CExtraEncoder
Public Member Functions | |
CExtraEncoder (bool allow_bad_names=false) | |
virtual string | Encode (const CTempString src, EStringType stype) const |
Encode the string. More... | |
Public Member Functions inherited from IStringEncoder | |
virtual | ~IStringEncoder (void) |
Private Attributes | |
bool | m_AllowBadNames |
Additional Inherited Members | |
Public Types inherited from IStringEncoder | |
enum | EStringType { eName , eValue } |
Type of string to be decoded. More... | |
Definition at line 5413 of file ncbidiag.cpp.
Definition at line 5416 of file ncbidiag.cpp.
|
virtual |
Encode the string.
Implements IStringEncoder.
Definition at line 5425 of file ncbidiag.cpp.
References CTempString::assign(), buf, CTempString::data(), IStringEncoder::eName, i, CTempString::length(), m_AllowBadNames, s_ExtraEncodeChars, and CTempString::size().
|
private |
Definition at line 5421 of file ncbidiag.cpp.
Referenced by Encode().