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

NCBI C++ ToolKit: xml::attributes::attr Class Reference

Search Toolkit Book for xml::attributes::attr

The xml::attributes::attr class is used to hold information about one attribute. More...

#include <misc/xmlwrapp/attributes.hpp>

The xml::attributes::attr class is used to hold information about one attribute.

Definition at line 151 of file attributes.hpp.

◆ attr() [1/2] xml::attributes::attr::attr ( void  ) private

Definition at line 273 of file ait_impl.cpp.

◆ attr() [2/2] ◆ convert() void xml::attributes::attr::convert ( void  ) private ◆ erase_namespace() void xml::attributes::attr::erase_namespace ( void  ) ◆ get_name() const char * xml::attributes::attr::get_name ( void  ) const ◆ get_namespace() ◆ get_node() void * xml::attributes::attr::get_node ( void  ) const private ◆ get_value() const char * xml::attributes::attr::get_value ( void  ) const ◆ is_default() bool xml::attributes::attr::is_default ( void  ) const ◆ normalize() void * xml::attributes::attr::normalize ( void  ) const private ◆ operator=() ◆ operator==() ◆ resolve_default_attr_ns() void * xml::attributes::attr::resolve_default_attr_ns ( void  ) const private ◆ set_data() void xml::attributes::attr::set_data ( void *  node, void *  prop, bool  def_prop  ) private ◆ set_namespace() [1/2] xml::ns xml::attributes::attr::set_namespace ( const char *  prefix )

Set the attribute's namespace.

The namespace definition is searched up in the hierarchy of nodes. If a namespace with the given prefix is not found then throw an exception.

Parameters
prefix Namespace prefix. You can use empty string or NULL to remove the namespace – it works exactly the same as erase_namespace() call.
Returns
Unsafe namespace
Author
Sergey Satskiy, NCBI

Definition at line 459 of file ait_impl.cpp.

References convert(), xml::attributes::createUnsafeNamespace(), and NULL.

◆ set_namespace() [2/2] xml::ns xml::attributes::attr::set_namespace ( const nsname_space ) ◆ set_value() void xml::attributes::attr::set_value ( const char *  value )

Set the value of this attribute.

Parameters
value The value for this attribute.
Note
If the value is set for the default attribute then it will be implicilty converted to a regular one and then the value will be changed.
Author
Sergey Satskiy, NCBI

Definition at line 443 of file ait_impl.cpp.

References convert(), and rapidjson::value.

◆ swap() void xml::attributes::attr::swap ( attrother ) private ◆ attributes ◆ const_iterator ◆ impl::ait_impl ◆ impl::operator== ◆ iterator ◆ xml::impl::attr_instance ◆ xml::impl::get_ptr_to_attr_instance ◆ phantom_prop_ void* xml::attributes::attr::phantom_prop_ private ◆ prop_ void* xml::attributes::attr::prop_ private ◆ value_ ◆ xmlnode_ void* xml::attributes::attr::xmlnode_ private

The documentation for this class was generated from the following files:


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