Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Namespaces | Functions
Teuchos_MatrixMarket_split.cpp File Reference
#include "Teuchos_MatrixMarket_split.hpp"
#include <algorithm>
#include <cctype>
#include <utility>
Include dependency graph for Teuchos_MatrixMarket_split.cpp:

Go to the source code of this file.

Namespaces

namespace  Teuchos
namespace  Teuchos::MatrixMarket
namespace  Teuchos::MatrixMarket::details

Functions

std::string Teuchos::MatrixMarket::details::trim (const std::string &in)
 Trim whitespace from both sides of the given string.
std::string Teuchos::MatrixMarket::details::lowercase (const std::string &in)
 Return lowercase version of the given string.
std::string Teuchos::MatrixMarket::details::trim_and_lowercase (const std::string &in)
 Trim whitespace from both sides, and make lowercase.
static bool Teuchos::MatrixMarket::details::endToken (const std::pair< size_t, size_t > &range)
 Does range signify "no more tokens"?
static std::pair< size_t, size_t > Teuchos::MatrixMarket::details::nextToken (const std::string &str, const std::string &delimiters, const size_t start, const size_t size)
std::vector< std::string > Teuchos::MatrixMarket::details::split (const std::string &str, const std::string &delimiters, const size_t start=0)
 Split the given string using the given set of delimiters.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines