28 #ifndef NPL_INC_Configuration_h_
29 #define NPL_INC_Configuration_h_
32 #include YFM_NPL_NPLA1
33 #include YFM_YSLib_Service_TextFile
58 : root(static_cast<const
ValueNode&>(node))
66 : root(std::move(node))
72 template<
typename... _tParams>
92 DefGetter(const ynothrow, const ValueNode&, Node, root)
97 DefGetter(ynothrow, ValueNode&&, NodeRRef, std::move(root))
106 operator<<(
File&, const Configuration&);
Configuration(const ValueNode &node)
Configuration(_tParams &&...args)
yconstfn const string _tParams && args
#define DefDeCopyCtor(_t)
#define yforward(_expr)
根据参数类型使用 std::forward 传递对应参数。
#define DefGetter(_q, _t, _n,...)
Configuration(ValueNode &&node)
#define DefDeMoveCtor(_t)
#define ynothrow
YSLib 无异常抛出保证:若支持 noexcept 关键字, 指定特定的 noexcept 异常规范。
#define DefDeMoveAssignment(_t)
DefDeCtor(Configuration) Configuration(ValueNode &node)
Configuration(Configuration &conf)
#define DefDeCopyAssignment(_t)