SignatureParser.h
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2 
3  * GTSAM Copyright 2010, Georgia Tech Research Corporation,
4  * Atlanta, Georgia 30332-0415
5  * All Rights Reserved
6  * Authors: Frank Dellaert, et al. (see THANKS for the full author list)
7 
8  * See LICENSE for the license information
9 
10  * -------------------------------------------------------------------------- */
11 
19 #pragma once
20 
21 #include <optional>
22 #include <string>
23 #include <vector>
24 
25 #include <gtsam/dllexport.h>
26 
27 namespace gtsam {
52 struct GTSAM_EXPORT SignatureParser {
53  using Row = std::vector<double>;
54  using Table = std::vector<Row>;
55 
56  static std::optional<Table> Parse(const std::string& str);
57 };
58 } // namespace gtsam
gtsam::SignatureParser
A simple parser that replaces the boost spirit parser.
Definition: SignatureParser.h:52
gtsam::SignatureParser::Row
std::vector< double > Row
Definition: SignatureParser.h:53
str
Definition: pytypes.h:1524
gtsam
traits
Definition: chartTesting.h:28
gtsam::SignatureParser::Table
std::vector< Row > Table
Definition: SignatureParser.h:54


gtsam
Author(s):
autogenerated on Tue Jun 25 2024 03:02:43