RMVL  2.5.0-dev
Robotic Manipulation and Vision Library
载入中...
搜索中...
未找到
rm::yaml::Result结构体 参考

YAML 解析或加载结果 更多...

#include <rmvl/core/yaml.hpp>

rm::yaml::Result 的协作图:

Public 成员函数

 operator bool () const noexcept
const Nodeoperator-> () const noexcept
Nodeoperator-> () noexcept
const Nodeoperator* () const noexcept
Nodeoperator* () noexcept

Public 属性

Node root {}
 成功时的根节点
Error error {}
 失败时的错误

详细描述

YAML 解析或加载结果

成员函数说明

◆ operator bool()

rm::yaml::Result::operator bool ( ) const
inlineexplicitnoexcept
返回
操作是否成功

◆ operator*() [1/2]

const Node & rm::yaml::Result::operator* ( ) const
inlinenoexcept
返回
根节点的常引用

◆ operator*() [2/2]

Node & rm::yaml::Result::operator* ( )
inlinenoexcept
返回
根节点引用

◆ operator->() [1/2]

const Node * rm::yaml::Result::operator-> ( ) const
inlinenoexcept
返回
根节点的常指针

◆ operator->() [2/2]

Node * rm::yaml::Result::operator-> ( )
inlinenoexcept
返回
根节点指针

类成员变量说明

◆ error

Error rm::yaml::Result::error {}

失败时的错误

◆ root

Node rm::yaml::Result::root {}

成功时的根节点