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

类

struct  Date
 本地日期,对应 TOML 的 local date 更多...
struct  Time
 本地时间,对应 TOML 的 local time 更多...
struct  DateTime
 本地日期时间或带 UTC 偏移的日期时间 更多...
struct  Error
 TOML 加载错误信息 更多...
class  Node
 共享底层节点树所有权的只读节点句柄 更多...

枚举

enum class  NodeType : uint8_t {
  NodeType::Undefined , NodeType::Table , NodeType::Array , NodeType::String ,
  NodeType::Integer , NodeType::Floating , NodeType::Boolean , NodeType::Date ,
  NodeType::Time , NodeType::DateTime
}
 TOML 节点类型 更多...
enum class  ErrorCode : uint8_t { ErrorCode::None , ErrorCode::Parse , ErrorCode::Io }
 TOML 加载错误类型 更多...

函数

RMVL_EXPORTS Node load (std::string_view path, Error *error=nullptr)
 从文件加载并解析 TOML 1.0 配置
RMVL_EXPORTS Node loads (std::string_view source, Error *error=nullptr)
 从内存中的 UTF-8 文本解析 TOML 1.0 配置