YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
值类型节点。 更多...
#include <ValueNode.h>
Public 类型 | |
typedef set< ValueNode > | Container |
Public 成员函数 | |
ValueNode ()=default | |
template<typename _tString , typename... _tParams> | |
ValueNode (int, _tString &&str, _tParams &&...args) | |
构造:使用字符串引用和值类型对象构造参数。 | |
template<typename _tIn > | |
ValueNode (const pair< _tIn, _tIn > &pr) | |
构造:使用输入迭代器对。 | |
template<typename _tIn , typename _tString > | |
ValueNode (const pair< _tIn, _tIn > &pr, _tString &&str) | |
构造:使用输入迭代器对、字符串引用和值参数。 | |
ValueNode (const ValueNode &)=default | |
ValueNode (ValueNode &&)=default | |
ValueNode & | operator= (const ValueNode &)=default |
ValueNode & | operator= (ValueNode &&)=default |
bool | operator+= (ValueNode &&) |
bool | operator-= (const ValueNode &) |
bool | operator-= (const string &str) |
bool | operator== (const ValueNode &node) const |
bool | operator< (const ValueNode &node) const |
const ValueNode & | operator[] (const string &) const |
operator bool () const ynothrow | |
operator const string & () const ynothrow | |
Container::iterator | GetBegin () |
Container::const_iterator | GetBegin () const |
Container & | GetContainer () const |
Container * | GetContainerPtr () const ynothrow |
Container::iterator | GetEnd () |
Container::const_iterator | GetEnd () const |
const string & | GetName () const ynothrow |
const ValueNode & | GetNode (const string &) const |
size_t | GetSize () const ynothrow |
void | Clear () |
bool | operator! () const ynothrow |
bool | operator+= (const ValueNode &) |
const ValueNode & | operator/= (const ValueNode &node) const |
替换同名子节点。 | |
const ValueNode & | operator/= (ValueNode &&node) const |
const ValueNode & | operator%= (const ValueNode &node) const |
替换同名子节点。 | |
const ValueNode & | operator%= (const ValueNode &&node) const |
Public 属性 | |
ValueObject | Value |
Private 成员函数 | |
Container & | CheckNodes () const |
Private 属性 | |
string | name |
typedef set<ValueNode> YSLib::ValueNode::Container |
在文件 ValueNode.h 第 45 行定义.
|
default |
|
inline |
|
inline |
|
inline |
|
default |
|
default |
|
private |
在文件 ValueNode.cpp 第 78 行定义.
|
inline |
在文件 ValueNode.h 第 173 行定义.
|
inline |
|
inline |
在文件 ValueNode.h 第 152 行定义.
|
inline |
在文件 ValueNode.h 第 154 行定义.
|
inline |
在文件 ValueNode.h 第 157 行定义.
|
inline |
|
inline |
在文件 ValueNode.h 第 159 行定义.
|
inline |
在文件 ValueNode.h 第 160 行定义.
在文件 ValueNode.cpp 第 65 行定义.
参考 AccessNode().
参考自 YSLib::AccessChild() , 以及 ShlReader::SaveBookmarks().
size_t ValueNode::GetSize | ( | ) | const |
|
inlineexplicit |
在文件 ValueNode.h 第 148 行定义.
|
inline |
在文件 ValueNode.h 第 149 行定义.
|
inline |
在文件 ValueNode.h 第 91 行定义.
在文件 ValueNode.h 第 129 行定义.
bool YSLib::ValueNode::operator+= | ( | const ValueNode & | ) |
bool YSLib::ValueNode::operator+= | ( | ValueNode && | ) |
bool YSLib::ValueNode::operator-= | ( | const ValueNode & | ) |
|
inline |
在文件 ValueNode.h 第 102 行定义.
在文件 ValueNode.h 第 112 行定义.
|
inline |
在文件 ValueNode.h 第 140 行定义.
|
inline |
在文件 ValueNode.h 第 137 行定义.
在文件 ValueNode.cpp 第 53 行定义.
|
private |
在文件 ValueNode.h 第 48 行定义.
参考自 operator%=().
|
mutable |
在文件 ValueNode.h 第 52 行定义.
参考自 YSLib::Access(),YSLib::AccessPtr(),operator%=(),ShlReader::SaveBookmarks() , 以及 WriteConfiguration().