#include "jar_file.h"
#include <algorithm>
#include <cctype>
#include <sstream>
Go to the source code of this file.
|
static bool | is_space (const char ch) |
| Wrapper for std::isspace from cctype More...
|
|
static std::string | trim (const std::string::const_iterator begin, const std::string::const_iterator end) |
| Remove leading and trailing whitespace characters from string. More...
|
|
◆ is_space()
static bool is_space |
( |
const char |
ch | ) |
|
|
static |
Wrapper for std::isspace
from cctype
- Parameters
-
- Returns
- true if the parameter is considered to be a space in the current locale, else false
Definition at line 77 of file jar_file.cpp.
◆ trim()
static std::string trim |
( |
const std::string::const_iterator |
begin, |
|
|
const std::string::const_iterator |
end |
|
) |
| |
|
static |
Remove leading and trailing whitespace characters from string.
- Parameters
-
begin | iterator to start search in string |
end | iterator to end search in string |
- Returns
- string truncated from begin to end and all whitespace removed at the begin and end
Definition at line 87 of file jar_file.cpp.