RMVL  2.5.0-dev
Robotic Manipulation and Vision Library
载入中...
搜索中...
未找到
rm::yaml 命名空间参考

struct  Error
 YAML 操作错误 更多...
class  Node
 YAML 树节点句柄 更多...
struct  Result
 YAML 解析或加载结果 更多...

枚举

enum class  NodeType : uint8_t {
  NodeType::Undefined , NodeType::Null , NodeType::Scalar , NodeType::Sequence ,
  NodeType::Map
}
 YAML 节点类型 更多...
enum class  ErrorCode : uint8_t { ErrorCode::None , ErrorCode::Parse , ErrorCode::Io }
 YAML 操作错误类型 更多...

函数

Result parse (std::string_view source)
 从内存解析 YAML
Result load (std::string_view path)
 从文件加载 YAML
std::string dump (const Node &node)
 将节点及其后代序列化为 YAML
bool save (std::string_view path, const Node &node, Error &err)
 将节点保存为 YAML 文件并返回错误信息
bool save (std::string_view path, const Node &node)
 将节点保存为 YAML 文件
std::string dumpOpenCv (const Node &node)
 序列化为 OpenCV FileStorage 兼容的 YAML 文本
bool saveOpenCv (std::string_view path, const Node &node)
 保存为 OpenCV FileStorage 兼容的 YAML 文件
template<typename T>
bool yaml_decode (const Node &node, cv::Point_< T > &value)
template<typename T>
bool yaml_encode (Node &node, const cv::Point_< T > &value)
template<typename T>
bool yaml_decode (const Node &node, cv::Point3_< T > &value)
template<typename T>
bool yaml_encode (Node &node, const cv::Point3_< T > &value)
template<typename T>
bool yaml_decode (const Node &node, cv::Size_< T > &value)
template<typename T>
bool yaml_encode (Node &node, const cv::Size_< T > &value)
template<typename T>
bool yaml_decode (const Node &node, cv::Complex< T > &value)
template<typename T>
bool yaml_encode (Node &node, const cv::Complex< T > &value)
template<typename T>
bool yaml_decode (const Node &node, cv::Rect_< T > &value)
template<typename T>
bool yaml_encode (Node &node, const cv::Rect_< T > &value)
template<typename T, int N>
bool yaml_decode (const Node &node, cv::Vec< T, N > &value)
template<typename T, int N>
bool yaml_encode (Node &node, const cv::Vec< T, N > &value)
template<typename T>
bool yaml_decode (const Node &node, cv::Scalar_< T > &value)
template<typename T>
bool yaml_encode (Node &node, const cv::Scalar_< T > &value)
bool yaml_decode (const Node &node, cv::Range &value)
bool yaml_encode (Node &node, const cv::Range &value)
bool yaml_decode (const Node &node, cv::KeyPoint &value)
bool yaml_encode (Node &node, const cv::KeyPoint &value)
bool yaml_decode (const Node &node, cv::DMatch &value)
bool yaml_encode (Node &node, const cv::DMatch &value)
bool yaml_decode (const Node &node, cv::Mat &value)
bool yaml_encode (Node &node, const cv::Mat &value)
template<typename T, int M, int N>
bool yaml_decode (const Node &node, cv::Matx< T, M, N > &value)
template<typename T, int M, int N>
bool yaml_encode (Node &node, const cv::Matx< T, M, N > &value)