![]() |
Atlas Game Manager
A game manager for f95 and dlsite written in c++
|
Enumerations | |
| enum | TokenOperators { NOT , OR , AND , BEGIN_GROUP , END_GROUP , OPERATOR_END , INVALID_OPERATOR } |
| enum | Namespaces { SYSTEM , CREATOR , ENGINE , TITLE , TAG , NAMESPACE_END , INVALID_NAMESPACE } |
| enum | SystemTokens { FILESIZE , SYSTEM_END , INVALID_SYSTEM } |
Functions | |
| std::string_view | trimSpaces (std::string_view str) |
| std::string | parseBytesize (std::string_view str) |
| bool | isNamespace (const std::string_view str) |
| bool | isOperator (const std::string_view str) |
| std::string | parseOperator (const std::string_view str) |
| std::string | parseSystem (const std::string_view str) |
| std::pair< std::string_view, std::string_view > | seperateNamespace (const std::string_view str) |
| std::string | parseNamespace (const std::string_view str) |
| Parses a given NamespaceParsing from a string. | |
| std::string | parse (const std::string_view str) |
Parses the string via parseNamespace(const std::string_view) or parseOperator(const std::string_view). | |
| std::string_view | extractUntilNext (std::string_view &str) |
| Extracts characters until reaching a grouping operator or namespace or system tag. | |
| std::string | processString (std::string_view str_view) |
| std::string | escape (std::string_view view) |
| std::string | orderToStr (const SortOrder order) |
| std::string | generateQuery (const std::string str, const SortOrder order, const bool asc) |
Variables | |
| static constexpr std::array< std::pair< std::string_view, TokenOperators >, OPERATOR_END > | operators |
| static constexpr std::array< std::pair< std::string_view, Namespaces >, NAMESPACE_END > | namespaces |
| static constexpr std::array< std::pair< std::string_view, SystemTokens >, SYSTEM_END > | systems |
| enum Namespaces |
| enum SystemTokens |
| enum TokenOperators |
| std::string escape | ( | std::string_view | view | ) |
| std::string_view extractUntilNext | ( | std::string_view & | str | ) |
Extracts characters until reaching a grouping operator or namespace or system tag.
| std::string generateQuery | ( | const std::string | str, |
| const SortOrder | order, | ||
| const bool | asc ) |
| bool isNamespace | ( | const std::string_view | str | ) |
| bool isOperator | ( | const std::string_view | str | ) |
| std::string orderToStr | ( | const SortOrder | order | ) |
| std::string parse | ( | const std::string_view | str | ) |
Parses the string via parseNamespace(const std::string_view) or parseOperator(const std::string_view).
| ParseError | if isNamespace(const std::string_view) and isOperator(const std::string_view) are both false |
| str |
| std::string parseBytesize | ( | std::string_view | str | ) |
| std::string parseNamespace | ( | const std::string_view | str | ) |
Parses a given NamespaceParsing from a string.
| str |
| std::string parseOperator | ( | const std::string_view | str | ) |
| std::string parseSystem | ( | const std::string_view | str | ) |
| std::string processString | ( | std::string_view | str_view | ) |
| std::pair< std::string_view, std::string_view > seperateNamespace | ( | const std::string_view | str | ) |
| std::string_view trimSpaces | ( | std::string_view | str | ) |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |