delpi  0.0.1
DElta-complete LP solver
Loading...
Searching...
No Matches
filesystem.h
1
8#pragma once
9
10#include <string>
11#include <vector>
12
13namespace delpi {
14
23std::string GetExtension(const std::string &name);
24
33std::vector<std::string> SplitStringByWhitespace(const char *in);
34
41std::vector<std::string> GetFiles(const std::string &path, const std::string& extension = "");
42
43} // namespace delpi
Global namespace for the delpi library.
std::vector< std::string > GetFiles(const std::string &path, const std::string &extension)
Get the files in a directory.
std::string GetExtension(const std::string &name)
Get the extension of the file.
std::vector< std::string > SplitStringByWhitespace(const char *in)
Split a C-string by whitespace.