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/rfam__tool_8cpp_source.html below:

NCBI C++ ToolKit: src/misc/xmlreaders/rfam_tool.cpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

55  string

xpath =

"//Entry/Accession[.='"

+accession+

"']/.."

;

58  if

(attrNodes.

size

() != 1) {

59  ERR_POST

(

Error

<<

"doc xpath="

<< xpath <<

" did not return required number (1) of nodes, it returned "

<< attrNodes.

size

() <<

" nodes"

);

73  string

xpath =

"//Entry[@identification='"

+model_identification+

"']"

;

76  if

(attrNodes.

size

() != 1) {

77  ERR_POST

(

Error

<<

"doc xpath="

<< xpath <<

" did not return required number (1) of nodes, it returned "

<< attrNodes.

size

() <<

" nodes"

);

93  string

parameter_name = child->get_name();

94  string

content = child->get_content();

95  if

( content ==

""

) {

98  if

( parameter_name ==

""

) {

void AddParameter(const string &parameter_name, const string &content)

string Get(const string &parameter_name)

const_iterator end() const

const_iterator find(const key_type &key) const

The xml::document class is used to hold the XML tree and various bits of information about it.

void swap(document &other)

Swap one xml::document object for another.

const node & get_root_node(void) const

Get a reference to the root node of this document.

The xml::node_set::iterator class is used to iterate over nodes in a node set.

The xml::node_set class is used to store xpath query result set.

iterator begin()

Get an iterator that points to the beginning of the xpath query result node set.

size_t size() const

Get the number of nodes in the xpath query result node set.

The xml::node class is used to hold information about one XML node.

node_set run_xpath_query(const xpath_expression &expr)

Run the given XPath query.

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

#define NON_CONST_ITERATE(Type, Var, Cont)

Non constant version of ITERATE macro.

#define ERR_POST(message)

Error posting with file, line number information but without error codes.

void Error(CExceptionArgs_Base &args)

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

This file contains the definition of the xslt::stylesheet class.


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