aGrUM  0.20.3
a C++ library for (probabilistic) graphical models
utils_string.cpp File Reference

Copyright (c) 2005-2021 by Pierre-Henri WUILLEMIN() & Christophe GONZALES() info_at_agrum_dot_org. More...

#include <iterator>
#include <regex>
#include <agrum/tools/core/utils_string.h>
+ Include dependency graph for utils_string.cpp:

Go to the source code of this file.

Namespaces

 gum
 Copyright (c) 2005-2021 by Pierre-Henri WUILLEMIN() & Christophe GONZALES() info_at_agrum_dot_org.
 

Functions

std::string gum::getUniqueFileName ()
 Returns a path to a unique file name. More...
 
bool gum::endsWith (std::string const &value, std::string const &ending)
 Returns true if value ends with ending. More...
 
std::vector< std::string > gum::split (const std::string &orig, const std::string &delimiter)
 Split str using the delimiter. More...
 
std::string gum::replace (const std::string &s, const std::string &val, const std::string &new_val)
 not usable for gcc 4.8 std::vector<std::string> split( const std::string& orig, const std::string& delimiter ) { More...
 

Detailed Description

Copyright (c) 2005-2021 by Pierre-Henri WUILLEMIN() & Christophe GONZALES() info_at_agrum_dot_org.

This library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library. If not, see http://www.gnu.org/licenses/.

Utilities for manipulating strings.

Author
Pierre-Henri WUILLEMIN() & Christophe GONZALES()

Definition in file utils_string.cpp.