libslic3r
Library for generating gcode from 3d models
src
libslic3r
utils.hpp
Go to the documentation of this file.
1
#ifndef UTILS_HPP
2
#define UTILS_HPP
3
4
#include <vector>
5
#include <string>
6
8
10
std::vector<std::string>
11
split_at_regex
(
const
std::string& input,
const
std::string& regex);
12
13
std::string
trim_zeroes
(std::string in);
14
std::string
_trim_zeroes
(std::string in);
15
16
#endif // UTILS_HPP
trim_zeroes
std::string trim_zeroes(std::string in)
Remove extra zeroes generated from std::to_string on doubles.
Definition:
utils.cpp:56
_trim_zeroes
std::string _trim_zeroes(std::string in)
Definition:
utils.cpp:54
split_at_regex
std::vector< std::string > split_at_regex(const std::string &input, const std::string ®ex)
Utility functions that aren't necessarily part of libslic3r but are used by it.
Definition:
utils.cpp:45
Generated by
1.8.14