|
XJ music engine
1.9.6
In-game runtime engine for XJ music.
|
#include <ConfigParser.h>
Public Member Functions | |
| unsigned long | size () const |
| std::vector< std::string > | asListOfStrings () const |
| std::set< std::string > | asSetOfStrings () const |
| std::vector< std::map< std::string, std::variant< std::string, std::vector< std::string > > > > | asListOfMapsOfStrings () |
| ConfigSingleValue | atSingle (const unsigned long &index) |
| ConfigObjectValue | atObject (const unsigned long &index) |
| void | add (const std::variant< ConfigSingleValue, ConfigObjectValue > &value) |
| bool | operator== (const ConfigListValue &other) const |
| bool | operator!= (const ConfigListValue &other) const |
Public Member Functions inherited from XJ::ConfigValue | |
| virtual | ~ConfigValue ()=default |
A list value in a HOCON configuration
| void ConfigListValue::add | ( | const std::variant< ConfigSingleValue, ConfigObjectValue > & | value | ) |
Add a value to the list
| value | The value to add |
| std::vector< std::map< std::string, std::variant< std::string, std::vector< std::string > > > > ConfigListValue::asListOfMapsOfStrings | ( | ) |
| std::vector< std::string > ConfigListValue::asListOfStrings | ( | ) | const |
Get the list as a vector of strings
| std::set< std::string > ConfigListValue::asSetOfStrings | ( | ) | const |
Get the list as a vector of strings
| ConfigObjectValue ConfigListValue::atObject | ( | const unsigned long & | index | ) |
Get an object value from the list
| index | at which to get the value |
| ConfigSingleValue ConfigListValue::atSingle | ( | const unsigned long & | index | ) |
Get a single value from the list
| index | at which to get the value |
| bool ConfigListValue::operator!= | ( | const ConfigListValue & | other | ) | const |
Compare two ConfigListValue for inequality
| other | The ConfigListValue to compare |
| bool ConfigListValue::operator== | ( | const ConfigListValue & | other | ) | const |
Compare two ConfigListValue for equality
| other | The ConfigListValue to compare |
| unsigned long ConfigListValue::size | ( | ) | const |
Get the size of the list