mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 16:15:43 +00:00
23 lines
561 B
C++
23 lines
561 B
C++
#pragma once
|
|
|
|
#include <map>
|
|
#include <memory>
|
|
#include <string>
|
|
|
|
#include "Techset/TechsetDefinition.h"
|
|
|
|
namespace techset
|
|
{
|
|
class ParserState
|
|
{
|
|
public:
|
|
std::map<std::string, size_t> m_valid_technique_type_names;
|
|
std::unique_ptr<TechsetDefinition> m_definition;
|
|
std::vector<size_t> m_current_technique_types;
|
|
|
|
ParserState(const char** validTechniqueTypeNames, size_t validTechniqueTypeNameCount);
|
|
|
|
bool FindTechniqueTypeIndex(const std::string& techniqueTypeName, size_t& techniqueTypeIndex) const;
|
|
};
|
|
}
|