Newer
Older
#pragma once
#include <string>
#include <unordered_map>
enum FileExt
{
Invalid = 0,
STEP, IGES, STL,
};
typedef std::unordered_map<std::string, FileExt> ExtensionFinder;
static const ExtensionFinder fileExtensions = {
{ ".stp", STEP },
{ ".step", STEP },
{ ".iges", IGES },
{ ".igs", IGES },
{ ".ige", IGES },