Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Grindstone::Editor::ImporterSettings Struct Reference

Classes

struct  Value
 

Public Types

enum class  Type : uint8_t {
  Unknown = 0 , String , Uint64 , Double ,
  Bool
}
 
using ValueMap = std::unordered_map<std::string, Value>
 
using Iterator = ValueMap::iterator
 
using ConstIterator = ValueMap::const_iterator
 

Public Member Functions

void SetUnknown (const std::string &key, const std::string &value)
 
const std::string & Get (const std::string &key, const std::string &defaultValue)
 
void Set (const std::string &key, const std::string &value)
 
uint64_t Get (const std::string &key, uint64_t defaultValue)
 
void Set (const std::string &key, uint64_t value)
 
double Get (const std::string &key, double defaultValue)
 
void Set (const std::string &key, double value)
 
bool Get (const std::string &key, bool defaultValue)
 
void Set (const std::string &key, bool value)
 
Iterator begin () noexcept
 
ConstIterator begin () const noexcept
 
Iterator end () noexcept
 
ConstIterator end () const noexcept
 

Public Attributes

ValueMap values
 
bool isDirty = false
 

The documentation for this struct was generated from the following files: