|
FOSSredder 0.5.0
|
Functions | |
| std::string | makeStableId () |
| Generates a stable hex identifier for persisted entities. | |
| std::string | trim (std::string s) |
| Removes leading and trailing ASCII whitespace from a string. | |
| std::string | lowerAscii (std::string s) |
| Converts ASCII letters in a string to lowercase. | |
| std::string | collapseWhitespace (std::string s) |
| Collapses consecutive whitespace to single spaces and trims the result. | |
| std::vector< std::string > | splitWhitespace (const std::string &s) |
| Splits a string on ASCII whitespace. | |
| std::string | currentTimestampUtc () |
| Returns the current UTC timestamp in ISO-8601 format. | |
| std::string | makeTransientId () |
| Generates a transient unique identifier for import and job artifacts. | |
| std::string core::utils::collapseWhitespace | ( | std::string | s | ) |
Collapses consecutive whitespace to single spaces and trims the result.
Definition at line 34 of file StringUtils.cpp.

| std::string core::utils::currentTimestampUtc | ( | ) |
| std::string core::utils::lowerAscii | ( | std::string | s | ) |
Converts ASCII letters in a string to lowercase.
Definition at line 28 of file StringUtils.cpp.

| std::string core::utils::makeStableId | ( | ) |
Generates a stable hex identifier for persisted entities.
Definition at line 21 of file StableId.cpp.

| std::string core::utils::makeTransientId | ( | ) |
Generates a transient unique identifier for import and job artifacts.
Definition at line 14 of file TransientId.cpp.

| std::vector< std::string > core::utils::splitWhitespace | ( | const std::string & | s | ) |
Splits a string on ASCII whitespace.
Definition at line 40 of file StringUtils.cpp.

| std::string core::utils::trim | ( | std::string | s | ) |
Removes leading and trailing ASCII whitespace from a string.
Definition at line 19 of file StringUtils.cpp.
