Loading...
Searching...
No Matches
StringHelpers.cc File Reference
#include "eon/StringHelpers.hpp"
#include <cassert>
#include <iostream>
#include <type_traits>

Go to the source code of this file.

Namespaces

namespace  eonc
 RAII resource manager for the ARTn C library with global synchronization.
namespace  eonc::helpers

Functions

template<typename T>
std::vector< T > eonc::helpers::get_val_from_string (std::string_view line, std::optional< size_t > nelements=std::nullopt)
 Parse a string into values.
template std::vector< size_t > eonc::helpers::get_val_from_string (std::string_view, std::optional< size_t >)
std::vector< std::string > eonc::helpers::get_split_strings (std::string_view line)
 Split a string into constituent strings.
bool eonc::helpers::isNumber (std::string_view token)
 Figure out if a string has a number in it.