|
XJ music engine
1.9.6
In-game runtime engine for XJ music.
|
#include <cmath>#include <map>#include <sstream>#include <string>#include <variant>#include <vector>#include "xjmusic/util/ConfigParser.h"#include "xjmusic/util/StringUtils.h"#include "xjmusic/util/CsvUtils.h"Functions | |
| std::string | parseString (const std::string &s) |
| ConfigSingleValue | parseSingleValue (const std::string &value) |
| std::vector< ConfigSingleValue > | parseSimpleListValue (const std::string &s) |
| ConfigObjectValue | parseObjectValue (const std::string &input) |
| ConfigListValue | parseListValue (const std::string &s) |
| std::variant< ConfigSingleValue, ConfigObjectValue, ConfigListValue > | parseValue (const std::basic_string< char > &value) |
| ConfigListValue parseListValue | ( | const std::string & | s | ) |
Parse an array value
| s | The string to parse |
| ConfigObjectValue parseObjectValue | ( | const std::string & | input | ) |
Parse a map value
| input | The string to parse |
| std::vector<ConfigSingleValue> parseSimpleListValue | ( | const std::string & | s | ) |
Parse an array value
| s | The string to parse |
| ConfigSingleValue parseSingleValue | ( | const std::string & | value | ) |
Parse a single value, either an int, float, bool, or string
| value | The value string to parse |
| std::string parseString | ( | const std::string & | s | ) |
Parse a string value (removing quotes)
| s | The string to parse |
| std::variant<ConfigSingleValue, ConfigObjectValue, ConfigListValue> parseValue | ( | const std::basic_string< char > & | value | ) |
Parse a member of the config map from the value string
| value | The value string to parse |