Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
Classes | |
class | ScalarAssigner |
Implementation detail of assignScalar(). More... | |
class | ScalarAssigner< RealType, false > |
Functions | |
template<class Scalar > | |
void | assignScalar (Scalar &val, const typename Teuchos::ScalarTraits< Scalar >::magnitudeType &real, const typename Teuchos::ScalarTraits< Scalar >::magnitudeType &imag) |
std::string | trim (const std::string &in) |
Trim whitespace from both sides of the given string. More... | |
std::string | lowercase (const std::string &in) |
Return lowercase version of the given string. More... | |
std::string | trim_and_lowercase (const std::string &in) |
Trim whitespace from both sides, and make lowercase. More... | |
static bool | endToken (const std::pair< size_t, size_t > &range) |
Does range signify "no more tokens"? More... | |
static std::pair< size_t, size_t > | nextToken (const std::string &str, const std::string &delimiters, const size_t start, const size_t size) |
std::vector< std::string > | split (const std::string &str, const std::string &delimiters, const size_t start=0) |
Split the given string using the given set of delimiters. More... | |
void Teuchos::MatrixMarket::details::assignScalar | ( | Scalar & | val, |
const typename Teuchos::ScalarTraits< Scalar >::magnitudeType & | real, | ||
const typename Teuchos::ScalarTraits< Scalar >::magnitudeType & | imag | ||
) |
Definition at line 107 of file Teuchos_MatrixMarket_assignScalar.hpp.
std::string Teuchos::MatrixMarket::details::trim | ( | const std::string & | in | ) |
Trim whitespace from both sides of the given string.
Definition at line 53 of file Teuchos_MatrixMarket_split.cpp.
std::string Teuchos::MatrixMarket::details::lowercase | ( | const std::string & | in | ) |
Return lowercase version of the given string.
Definition at line 64 of file Teuchos_MatrixMarket_split.cpp.
std::string Teuchos::MatrixMarket::details::trim_and_lowercase | ( | const std::string & | in | ) |
Trim whitespace from both sides, and make lowercase.
Definition at line 72 of file Teuchos_MatrixMarket_split.cpp.
|
static |
Does range
signify "no more tokens"?
Definition at line 82 of file Teuchos_MatrixMarket_split.cpp.
|
static |
Get the next token, if there is one
Definition at line 93 of file Teuchos_MatrixMarket_split.cpp.
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.
Split the string str
, optionally starting at position start
, into zero or more tokens separated by one or more of the given delimiter characters in delimiters
.
str | [in] String to split into tokens |
delimiters | [in] Array of one or more delimiter character(s) |
start | [in] Position in str where the search should begin. Defaults to zero. |
Definition at line 123 of file Teuchos_MatrixMarket_split.cpp.