|
NIST Biometric Evaluation Framework
Software components for biometric technology evaluations
|
#include <locale>#include <string>#include <vector>#include <be_error_exception.h>#include <be_memory_autoarray.h>Go to the source code of this file.
Namespaces | |
| namespace | BiometricEvaluation |
| This software was developed at the National Institute of Standards and Technology (NIST) by employees of the Federal Government in the course of their official duties. | |
| namespace | BiometricEvaluation::Text |
| Text processing for string objects. | |
Functions | |
| std::string | BiometricEvaluation::Text::trimWhitespace (const std::string &s, const std::locale &locale=std::locale()) |
| Remove leading and trailing whitespace from a string. More... | |
| std::string | BiometricEvaluation::Text::ltrimWhitespace (const std::string &s, const std::locale &locale=std::locale()) |
| Remove leading whitespace from a string. More... | |
| std::string | BiometricEvaluation::Text::rtrimWhitespace (const std::string &s, const std::locale &locale=std::locale()) |
| Remove trailing whitespace from a string. More... | |
| std::string | BiometricEvaluation::Text::trim (const std::string &s, const char trimChar) |
| Remove leading and trailing characters from a string. More... | |
| std::string | BiometricEvaluation::Text::ltrim (const std::string &s, const char trimChar) |
| Remove leading characters from a string. More... | |
| std::string | BiometricEvaluation::Text::rtrim (const std::string &s, const char trimChar) |
| Remove trailing characters from a string. More... | |
| std::string | BiometricEvaluation::Text::digest (const std::string &s, const std::string &digest="md5") |
| Compute the digest of a string. More... | |
| std::string | BiometricEvaluation::Text::digest (const void *buffer, const size_t buffer_size, const std::string &digest="md5") |
| Compute the digest of a memory buffer. More... | |
| std::vector< std::string > | BiometricEvaluation::Text::split (const std::string &str, const char delimiter, bool escape=true) |
| Return tokens bound by delimiters and the beginning and end of a string. More... | |
| std::string | BiometricEvaluation::Text::basename (const std::string &path) |
| Extract the filename component of a pathname. More... | |
| std::string | BiometricEvaluation::Text::dirname (const std::string &path) |
| Extract the directory component of a pathname. More... | |
| bool | BiometricEvaluation::Text::caseInsensitiveCompare (const std::string &str1, const std::string &str2) |
| Compare two ASCII-encoded strings. More... | |
| std::string | BiometricEvaluation::Text::toUppercase (const std::string &str, const std::locale &locale=std::locale()) |
| Uppercase a string, respecting locale. More... | |
| std::string | BiometricEvaluation::Text::toLowercase (const std::string &str, const std::locale &locale=std::locale()) |
| Lowercase a string, respecting locale. More... | |
| std::string | BiometricEvaluation::Text::encodeBase64 (const BiometricEvaluation::Memory::uint8Array &data) |
| Perform Base64 encoding. More... | |
| BiometricEvaluation::Memory::uint8Array | BiometricEvaluation::Text::decodeBase64 (const std::string &data) |
| Perform Base64 decoding. More... | |