2019-06-03 18:50:36 +00:00
|
|
|
//
|
|
|
|
// Target.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 03/06/2019.
|
|
|
|
// Copyright © 2019 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef Analyser_Static_Macintosh_Target_h
|
|
|
|
#define Analyser_Static_Macintosh_Target_h
|
|
|
|
|
2020-02-17 23:08:46 +00:00
|
|
|
#include "../../../Reflection/Enum.h"
|
|
|
|
|
|
|
|
|
2019-06-03 18:50:36 +00:00
|
|
|
namespace Analyser {
|
|
|
|
namespace Static {
|
|
|
|
namespace Macintosh {
|
|
|
|
|
2020-02-17 23:08:46 +00:00
|
|
|
|
2019-06-03 18:50:36 +00:00
|
|
|
struct Target: public ::Analyser::Static::Target {
|
2020-02-20 03:26:31 +00:00
|
|
|
ReflectiveEnum(Model, int, Mac128k, Mac512k, Mac512ke, MacPlus);
|
|
|
|
|
|
|
|
Target() {
|
|
|
|
// Model m;
|
|
|
|
// printf("%s\n", __declaration(m));
|
|
|
|
printf("%zu\n", Reflection::Enum<Model>::size());
|
|
|
|
// for(size_t c = 0; c < Reflection::Enum<Model>::size(); ++c) {
|
|
|
|
// const auto name = Reflection::Enum<Model>::toString(Model(c));
|
|
|
|
// printf("%.*s\n", int(name.size()), name.data());
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
|
|
|
|
Model model = Model::MacPlus;
|
2019-06-03 18:50:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-20 03:26:31 +00:00
|
|
|
|
2019-06-03 18:50:36 +00:00
|
|
|
#endif /* Analyser_Static_Macintosh_Target_h */
|