|
Sen API
Sen Libraries
|
#include <string>#include <string_view>Go to the source code of this file.
Namespaces | |
| namespace | sen |
Functions | |
| std::string | sen::capitalizeAndRemoveSeparators (std::string_view str) |
| Drops '-' and '_', and uppercases the first character (example: "foo_bar" -> "Foobar"). | |
| std::string | sen::snakeCaseToPascalCase (std::string_view str) |
| Splits on underscores and capitalizes (example: "foo_bar" -> "FooBar"). | |
| std::string | sen::pascalCaseToSnakeCase (std::string_view str) |
| Converts PascalCase to snake_case. | |
| bool | sen::isCapitalizedAndNoSeparators (std::string_view str) |
| True when str starts with uppercase and contains no whitespace or underscores. | |