CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | Private 类型 | Private 属性 | 友元 | 所有成员列表
pugi::xml_attribute类 参考

#include <pugixml.hpp>

+ pugi::xml_attribute 的协作图:

Public 成员函数

bool as_bool (bool def=false) const
 
double as_double (double def=0) const
 
float as_float (float def=0) const
 
int as_int (int def=0) const
 
const char_tas_string (const char_t *def=PUGIXML_TEXT("")) const
 
unsigned int as_uint (unsigned int def=0) const
 
bool empty () const
 
size_t hash_value () const
 
xml_attribute_structinternal_object () const
 
const char_tname () const
 
xml_attribute next_attribute () const
 
 operator unspecified_bool_type () const
 
bool operator! () const
 
bool operator!= (const xml_attribute &r) const
 
bool operator< (const xml_attribute &r) const
 
bool operator<= (const xml_attribute &r) const
 
xml_attributeoperator= (bool rhs)
 
xml_attributeoperator= (const char_t *rhs)
 
xml_attributeoperator= (double rhs)
 
xml_attributeoperator= (float rhs)
 
xml_attributeoperator= (int rhs)
 
xml_attributeoperator= (long rhs)
 
xml_attributeoperator= (unsigned int rhs)
 
xml_attributeoperator= (unsigned long rhs)
 
bool operator== (const xml_attribute &r) const
 
bool operator> (const xml_attribute &r) const
 
bool operator>= (const xml_attribute &r) const
 
xml_attribute previous_attribute () const
 
bool set_name (const char_t *rhs)
 
bool set_value (bool rhs)
 
bool set_value (const char_t *rhs)
 
bool set_value (double rhs)
 
bool set_value (float rhs)
 
bool set_value (int rhs)
 
bool set_value (long rhs)
 
bool set_value (unsigned int rhs)
 
bool set_value (unsigned long rhs)
 
const char_tvalue () const
 
 xml_attribute ()
 
 xml_attribute (xml_attribute_struct *attr)
 

Private 类型

typedef void(* unspecified_bool_type) (xml_attribute ***)
 

Private 属性

xml_attribute_struct_attr
 

友元

class xml_attribute_iterator
 
class xml_node
 

详细描述

在文件 pugixml.hpp347 行定义.

成员类型定义说明

◆ unspecified_bool_type

typedef void(* pugi::xml_attribute::unspecified_bool_type) (xml_attribute ***)
private

在文件 pugixml.hpp355 行定义.

构造及析构函数说明

◆ xml_attribute() [1/2]

PUGI__FN pugi::xml_attribute::xml_attribute ( )

在文件 pugixml.cpp5296 行定义.

被这些函数引用 next_attribute() , 以及 previous_attribute().

+ 这是这个函数的调用关系图:

◆ xml_attribute() [2/2]

PUGI__FN pugi::xml_attribute::xml_attribute ( xml_attribute_struct * attr)
explicit

在文件 pugixml.cpp5300 行定义.

成员函数说明

◆ as_bool()

PUGI__FN bool pugi::xml_attribute::as_bool ( bool def = false) const

在文件 pugixml.cpp5383 行定义.

引用了 _attr , 以及 pugi::xml_attribute_struct::value.

◆ as_double()

PUGI__FN double pugi::xml_attribute::as_double ( double def = 0) const

在文件 pugixml.cpp5373 行定义.

引用了 _attr , 以及 pugi::xml_attribute_struct::value.

被这些函数引用 carla::opendrive::parser::GeometryParser::Parse(), carla::opendrive::parser::RoadParser::Parse(), carla::opendrive::parser::SignalParser::Parse() , 以及 carla::opendrive::parser::ParseLanes().

+ 这是这个函数的调用关系图:

◆ as_float()

PUGI__FN float pugi::xml_attribute::as_float ( float def = 0) const

在文件 pugixml.cpp5378 行定义.

引用了 _attr , 以及 pugi::xml_attribute_struct::value.

◆ as_int()

PUGI__FN int pugi::xml_attribute::as_int ( int def = 0) const

在文件 pugixml.cpp5363 行定义.

引用了 _attr , 以及 pugi::xml_attribute_struct::value.

被这些函数引用 carla::opendrive::parser::RoadParser::Parse().

+ 这是这个函数的调用关系图:

◆ as_string()

PUGI__FN const char_t * pugi::xml_attribute::as_string ( const char_t * def = PUGIXML_TEXT("")) const

在文件 pugixml.cpp5358 行定义.

引用了 _attr , 以及 pugi::xml_attribute_struct::value.

被这些函数引用 carla::opendrive::parser::ObjectParser::Parse().

+ 这是这个函数的调用关系图:

◆ as_uint()

PUGI__FN unsigned int pugi::xml_attribute::as_uint ( unsigned int def = 0) const

在文件 pugixml.cpp5368 行定义.

引用了 _attr , 以及 pugi::xml_attribute_struct::value.

被这些函数引用 carla::opendrive::parser::LaneParser::Parse(), carla::opendrive::parser::ObjectParser::Parse(), carla::opendrive::parser::RoadParser::Parse(), carla::opendrive::parser::SignalParser::Parse(), test_geometry() , 以及 test_road_elevation().

+ 这是这个函数的调用关系图:

◆ empty()

PUGI__FN bool pugi::xml_attribute::empty ( ) const

在文件 pugixml.cpp5400 行定义.

引用了 _attr.

◆ hash_value()

PUGI__FN size_t pugi::xml_attribute::hash_value ( ) const

在文件 pugixml.cpp5415 行定义.

引用了 _attr.

◆ internal_object()

PUGI__FN xml_attribute_struct * pugi::xml_attribute::internal_object ( ) const

在文件 pugixml.cpp5420 行定义.

引用了 _attr.

◆ name()

PUGI__FN const char_t * pugi::xml_attribute::name ( ) const

在文件 pugixml.cpp5405 行定义.

引用了 _attr, pugi::xml_attribute_struct::name , 以及 PUGIXML_TEXT.

◆ next_attribute()

PUGI__FN xml_attribute pugi::xml_attribute::next_attribute ( ) const

在文件 pugixml.cpp5348 行定义.

引用了 _attr, pugi::xml_attribute_struct::next_attribute , 以及 xml_attribute().

被这些函数引用 pugi::xml_node::find_attribute().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ operator unspecified_bool_type()

PUGI__FN pugi::xml_attribute::operator xml_attribute::unspecified_bool_type ( ) const

在文件 pugixml.cpp5308 行定义.

引用了 _attr , 以及 pugi::unspecified_bool_xml_attribute().

+ 函数调用图:

◆ operator!()

PUGI__FN bool pugi::xml_attribute::operator! ( ) const

在文件 pugixml.cpp5313 行定义.

引用了 _attr.

◆ operator!=()

在文件 pugixml.cpp5323 行定义.

引用了 _attr.

◆ operator<()

PUGI__FN bool pugi::xml_attribute::operator< ( const xml_attribute & r) const

在文件 pugixml.cpp5328 行定义.

引用了 _attr.

◆ operator<=()

PUGI__FN bool pugi::xml_attribute::operator<= ( const xml_attribute & r) const

在文件 pugixml.cpp5338 行定义.

引用了 _attr.

◆ operator=() [1/8]

PUGI__FN xml_attribute & pugi::xml_attribute::operator= ( bool rhs)

在文件 pugixml.cpp5467 行定义.

引用了 set_value().

+ 函数调用图:

◆ operator=() [2/8]

PUGI__FN xml_attribute & pugi::xml_attribute::operator= ( const char_t * rhs)

在文件 pugixml.cpp5425 行定义.

引用了 set_value().

+ 函数调用图:

◆ operator=() [3/8]

PUGI__FN xml_attribute & pugi::xml_attribute::operator= ( double rhs)

在文件 pugixml.cpp5455 行定义.

引用了 set_value().

+ 函数调用图:

◆ operator=() [4/8]

PUGI__FN xml_attribute & pugi::xml_attribute::operator= ( float rhs)

在文件 pugixml.cpp5461 行定义.

引用了 set_value().

+ 函数调用图:

◆ operator=() [5/8]

PUGI__FN xml_attribute & pugi::xml_attribute::operator= ( int rhs)

在文件 pugixml.cpp5431 行定义.

引用了 set_value().

+ 函数调用图:

◆ operator=() [6/8]

PUGI__FN xml_attribute & pugi::xml_attribute::operator= ( long rhs)

在文件 pugixml.cpp5443 行定义.

引用了 set_value().

+ 函数调用图:

◆ operator=() [7/8]

PUGI__FN xml_attribute & pugi::xml_attribute::operator= ( unsigned int rhs)

在文件 pugixml.cpp5437 行定义.

引用了 set_value().

+ 函数调用图:

◆ operator=() [8/8]

PUGI__FN xml_attribute & pugi::xml_attribute::operator= ( unsigned long rhs)

在文件 pugixml.cpp5449 行定义.

引用了 set_value().

+ 函数调用图:

◆ operator==()

PUGI__FN bool pugi::xml_attribute::operator== ( const xml_attribute & r) const

在文件 pugixml.cpp5318 行定义.

引用了 _attr.

◆ operator>()

PUGI__FN bool pugi::xml_attribute::operator> ( const xml_attribute & r) const

在文件 pugixml.cpp5333 行定义.

引用了 _attr.

◆ operator>=()

PUGI__FN bool pugi::xml_attribute::operator>= ( const xml_attribute & r) const

在文件 pugixml.cpp5343 行定义.

引用了 _attr.

◆ previous_attribute()

PUGI__FN xml_attribute pugi::xml_attribute::previous_attribute ( ) const

在文件 pugixml.cpp5353 行定义.

引用了 _attr, pugi::xml_attribute_struct::next_attribute, pugi::xml_attribute_struct::prev_attribute_c , 以及 xml_attribute().

被这些函数引用 pugi::xml_attribute_iterator::operator--().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ set_name()

PUGI__FN bool pugi::xml_attribute::set_name ( const char_t * rhs)

在文件 pugixml.cpp5487 行定义.

引用了 _attr, pugi::xml_attribute_struct::header , 以及 pugi::xml_attribute_struct::name.

被这些函数引用 pugi::xml_node::append_attribute(), pugi::xml_node::insert_attribute_after(), pugi::xml_node::insert_attribute_before() , 以及 pugi::xml_node::prepend_attribute().

+ 这是这个函数的调用关系图:

◆ set_value() [1/8]

PUGI__FN bool pugi::xml_attribute::set_value ( bool rhs)

◆ set_value() [2/8]

PUGI__FN bool pugi::xml_attribute::set_value ( const char_t * rhs)

在文件 pugixml.cpp5494 行定义.

引用了 _attr, pugi::xml_attribute_struct::header , 以及 pugi::xml_attribute_struct::value.

被这些函数引用 operator=(), operator=(), operator=(), operator=(), operator=(), operator=(), operator=() , 以及 operator=().

+ 这是这个函数的调用关系图:

◆ set_value() [3/8]

PUGI__FN bool pugi::xml_attribute::set_value ( double rhs)

◆ set_value() [4/8]

PUGI__FN bool pugi::xml_attribute::set_value ( float rhs)

◆ set_value() [5/8]

PUGI__FN bool pugi::xml_attribute::set_value ( int rhs)

◆ set_value() [6/8]

PUGI__FN bool pugi::xml_attribute::set_value ( long rhs)

◆ set_value() [7/8]

PUGI__FN bool pugi::xml_attribute::set_value ( unsigned int rhs)

◆ set_value() [8/8]

PUGI__FN bool pugi::xml_attribute::set_value ( unsigned long rhs)

◆ value()

PUGI__FN const char_t * pugi::xml_attribute::value ( ) const

在文件 pugixml.cpp5410 行定义.

引用了 _attr, PUGIXML_TEXT , 以及 pugi::xml_attribute_struct::value.

被这些函数引用 carla::opendrive::parser::ControllerParser::Parse(), carla::opendrive::parser::GeometryParser::Parse(), carla::opendrive::parser::RoadParser::Parse() , 以及 carla::opendrive::parser::ParseLanes().

+ 这是这个函数的调用关系图:

友元及相关函数文档

◆ xml_attribute_iterator

friend class xml_attribute_iterator
friend

在文件 pugixml.hpp349 行定义.

◆ xml_node

friend class xml_node
friend

在文件 pugixml.hpp350 行定义.

类成员变量说明

◆ _attr

xml_attribute_struct* pugi::xml_attribute::_attr
private

该类的文档由以下文件生成: