opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
landmark_helpers.h File Reference
#include <libopynsim/documents/landmarks/landmark.h>
#include <libopynsim/documents/landmarks/landmark_csv_flags.h>
#include <libopynsim/documents/landmarks/named_landmark.h>
#include <cstddef>
#include <filesystem>
#include <functional>
#include <iosfwd>
#include <optional>
#include <span>
#include <string>
#include <string_view>
#include <vector>
Include dependency graph for landmark_helpers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  opyn::CSVParseWarning
 

Namespaces

namespace  opyn
 

Functions

std::string opyn::to_string (const CSVParseWarning &)
 
void opyn::ReadLandmarksFromCSV (std::istream &, const std::function< void(Landmark &&)> &landmarkConsumer, const std::function< void(CSVParseWarning)> &warningConsumer=[](auto){})
 
std::vector< Landmarkopyn::ReadLandmarksFromCSVIntoVectorOrThrow (const std::filesystem::path &)
 
void opyn::WriteLandmarksToCSV (std::ostream &, const std::function< std::optional< Landmark >()> &landmarkProducer, LandmarkCSVFlags=LandmarkCSVFlags::None)
 
std::vector< NamedLandmarkopyn::GenerateNames (std::span< const Landmark >, std::string_view prefix="unnamed_")
 
void opyn::TryPairingLandmarks (std::vector< Landmark >, std::vector< Landmark >, const std::function< void(const MaybeNamedLandmarkPair &)> &consumer)