A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/htmlhelper_8hpp_source.html below:

NCBI C++ ToolKit: include/html/htmlhelper.hpp Source File

1 #ifndef HTML___HTMLHELPER__HPP 2 #define HTML___HTMLHELPER__HPP 66

fSkipLiteralEntities = 1 << 1,

67

fSkipNumericEntities = 1 << 2,

68

fSkipEntities = fSkipLiteralEntities | fSkipNumericEntities,

69

fCheckPreencoded = 1 << 3

75  static string

HTMLEncode(

const string

&

str

,

80

fCharRef_Numeric = 1 << 1,

97  static string

HTMLJavaScriptEncode(

const string

&

str

,

101  static string

HTMLAttributeEncode(

const string

&

str

,

105  static string

StripHTML(

const string

&

str

);

108  static string

StripTags(

const string

&

str

);

111  static string

StripSpecialChars(

const string

&

str

);

116  static void

SetNL(

const string

& nl);

119

{

return

sm_newline; }

142  void AddID

(

int id

) { push_back(

id

); }

151  string Encode

(

void

)

const

;

181

iterator

i

= find(begin(), end(),

id

);

199  if

(

str

.empty() ) {

207  if

(

cmd

>=

'0'

&&

cmd

<=

'9'

) {

216  while

( (end_pos =

str

.find_first_of(

" +_,"

, pos)) !=

NPOS

) {

249  for

( const_iterator

i

= begin();

i

!= end(); ++

i

) {

251  if

( !

out

.empty() )

CIDs class to hold sorted list of IDs.

Include a standard set of the NCBI C++ Toolkit most basic headers.

std::ofstream out("events_result.xml")

main entry point for tests

static const char * str(char *buf, int n)

static string GetNL(void)

static string HTMLJavaScriptEncode(const string &str, THTMLEncodeFlags flags=fEncodeAll)

Encode a string for JavaScript.

EHTMLEncodeFlags

Flags for HTMLEncode.

static const char * sm_newline

size_t CountIDs(void) const

static string HTMLEncode(const string &str, THTMLEncodeFlags flags=fEncodeAll)

HTML encodes a string. E.g. <.

string Encode(void) const

void Decode(const string &str)

int GetNumber(const string &str)

static string StripHTML(const string &str)

Strip all HTML code from a string.

static string StripSpecialChars(const string &str)

Strip all named and numeric character entities from a string.

static string StripTags(const string &str)

Strip all HTML tags from a string.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

NCBI_NS_STD::string::size_type SIZE_TYPE

static int StringToInt(const CTempString str, TStringToNumFlags flags=0, int base=10)

Convert string to int.

static string IntToString(int value, TNumToStringFlags flags=0, int base=10)

Convert int to string.

static string JavaScriptEncode(const CTempString str)

Encode a string for JavaScript.

#define NCBI_XHTML_EXPORT

const struct ncbi::grid::netcache::search::fields::SIZE size


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4