diff --git a/M6502/HarteTest_6502/HarteTest_6502.vcxproj b/M6502/HarteTest_6502/HarteTest_6502.vcxproj index eb8742a..7826f70 100644 --- a/M6502/HarteTest_6502/HarteTest_6502.vcxproj +++ b/M6502/HarteTest_6502/HarteTest_6502.vcxproj @@ -160,11 +160,7 @@ - - - - @@ -174,7 +170,6 @@ NotUsing NotUsing - Create Create @@ -183,7 +178,6 @@ - diff --git a/M6502/HarteTest_6502/HarteTest_6502.vcxproj.filters b/M6502/HarteTest_6502/HarteTest_6502.vcxproj.filters index df774bc..dec6081 100644 --- a/M6502/HarteTest_6502/HarteTest_6502.vcxproj.filters +++ b/M6502/HarteTest_6502/HarteTest_6502.vcxproj.filters @@ -20,12 +20,6 @@ Source Files - - Source Files - - - Source Files - Source Files @@ -35,18 +29,6 @@ Header Files\simdjson - - Source Files - - - Source Files - - - Source Files - - - Source Files - Source Files diff --git a/M6502/HarteTest_6502/array_t.cpp b/M6502/HarteTest_6502/array_t.cpp deleted file mode 100644 index 2a5f72c..0000000 --- a/M6502/HarteTest_6502/array_t.cpp +++ /dev/null @@ -1,5 +0,0 @@ -#include "stdafx.h" -#include "array_t.h" - -array_t::array_t(const simdjson::dom::array input) noexcept -: m_raw(input) {} diff --git a/M6502/HarteTest_6502/array_t.h b/M6502/HarteTest_6502/array_t.h index 180e439..72a4a4d 100644 --- a/M6502/HarteTest_6502/array_t.h +++ b/M6502/HarteTest_6502/array_t.h @@ -10,7 +10,8 @@ protected: [[nodiscard]] auto raw() const noexcept { return m_raw; } public: - array_t(simdjson::dom::array input) noexcept; + array_t(const simdjson::dom::array input) noexcept + : m_raw(input) {} [[nodiscard]] auto begin() const noexcept { return raw().begin(); } [[nodiscard]] auto end() const noexcept { return raw().end(); } diff --git a/M6502/HarteTest_6502/byte_t.cpp b/M6502/HarteTest_6502/byte_t.cpp deleted file mode 100644 index 49f1263..0000000 --- a/M6502/HarteTest_6502/byte_t.cpp +++ /dev/null @@ -1,5 +0,0 @@ -#include "stdafx.h" -#include "byte_t.h" - -byte_t::byte_t(const simdjson::dom::array input) noexcept -: array_t(input) {} diff --git a/M6502/HarteTest_6502/byte_t.h b/M6502/HarteTest_6502/byte_t.h index 81dacfd..86fad99 100644 --- a/M6502/HarteTest_6502/byte_t.h +++ b/M6502/HarteTest_6502/byte_t.h @@ -8,7 +8,8 @@ class byte_t : public array_t { public: - byte_t(simdjson::dom::array input) noexcept; + byte_t(const simdjson::dom::array input) noexcept + : array_t(input) {} [[nodiscard]] auto address_at(size_t idx) const noexcept { return uint16_t(integer_at(idx)); } [[nodiscard]] auto byte_at(size_t idx) const noexcept { return uint8_t(integer_at(idx)); } diff --git a/M6502/HarteTest_6502/cycle_t.cpp b/M6502/HarteTest_6502/cycle_t.cpp deleted file mode 100644 index 5bdf91b..0000000 --- a/M6502/HarteTest_6502/cycle_t.cpp +++ /dev/null @@ -1,5 +0,0 @@ -#include "stdafx.h" -#include "cycle_t.h" - -cycle_t::cycle_t(const simdjson::dom::array input) noexcept -: byte_t(input) {} diff --git a/M6502/HarteTest_6502/cycle_t.h b/M6502/HarteTest_6502/cycle_t.h index 2e31a95..9449b71 100644 --- a/M6502/HarteTest_6502/cycle_t.h +++ b/M6502/HarteTest_6502/cycle_t.h @@ -8,7 +8,8 @@ class cycle_t final : public byte_t { public: - cycle_t(simdjson::dom::array input) noexcept; + cycle_t(const simdjson::dom::array input) noexcept + : byte_t(input) {} [[nodiscard]] auto action() const noexcept { return std::string(std::string_view(at(2))); } }; diff --git a/M6502/HarteTest_6502/element_t.cpp b/M6502/HarteTest_6502/element_t.cpp deleted file mode 100644 index 395a460..0000000 --- a/M6502/HarteTest_6502/element_t.cpp +++ /dev/null @@ -1,7 +0,0 @@ -#include "stdafx.h" -#include "element_t.h" - -element_t::element_t() noexcept {} - -element_t::element_t(const simdjson::dom::element input) noexcept -: m_raw(input) {} diff --git a/M6502/HarteTest_6502/element_t.h b/M6502/HarteTest_6502/element_t.h index b4d8987..85fe5d4 100644 --- a/M6502/HarteTest_6502/element_t.h +++ b/M6502/HarteTest_6502/element_t.h @@ -12,8 +12,10 @@ protected: [[nodiscard]] auto raw() const noexcept { return m_raw; } public: - element_t() noexcept; - element_t(simdjson::dom::element input) noexcept; + element_t() noexcept {} + + element_t(const simdjson::dom::element input) noexcept + : m_raw(input) {} [[nodiscard]] auto at(std::string_view key) const noexcept { return raw()[key]; } [[nodiscard]] auto operator[](std::string_view key) const noexcept { return at(key); } diff --git a/M6502/HarteTest_6502/state_t.cpp b/M6502/HarteTest_6502/state_t.cpp deleted file mode 100644 index 8837354..0000000 --- a/M6502/HarteTest_6502/state_t.cpp +++ /dev/null @@ -1,5 +0,0 @@ -#include "stdafx.h" -#include "state_t.h" - -state_t::state_t(const simdjson::dom::element input) noexcept -: element_t(input) {} diff --git a/M6502/HarteTest_6502/state_t.h b/M6502/HarteTest_6502/state_t.h index 880115d..c3ad4d2 100644 --- a/M6502/HarteTest_6502/state_t.h +++ b/M6502/HarteTest_6502/state_t.h @@ -10,7 +10,8 @@ class state_t final : public element_t { public: - state_t(simdjson::dom::element input) noexcept; + state_t(const simdjson::dom::element input) noexcept + : element_t(input) {} [[nodiscard]] auto address_at(std::string_view key) const noexcept { return uint16_t(integer_at(key)); } [[nodiscard]] auto byte_at(std::string_view key) const noexcept { return uint8_t(integer_at(key)); } diff --git a/M6502/HarteTest_6502/test_t.cpp b/M6502/HarteTest_6502/test_t.cpp deleted file mode 100644 index 3f196dd..0000000 --- a/M6502/HarteTest_6502/test_t.cpp +++ /dev/null @@ -1,7 +0,0 @@ -#include "stdafx.h" -#include "test_t.h" - -test_t::test_t() noexcept {} - -test_t::test_t(const simdjson::dom::element input) noexcept -: element_t(input) {} diff --git a/M6502/HarteTest_6502/test_t.h b/M6502/HarteTest_6502/test_t.h index 32e271b..0956ac0 100644 --- a/M6502/HarteTest_6502/test_t.h +++ b/M6502/HarteTest_6502/test_t.h @@ -8,8 +8,10 @@ class test_t final : public element_t { public: - test_t() noexcept; - test_t(simdjson::dom::element input) noexcept; + test_t() noexcept {} + + test_t(const simdjson::dom::element input) noexcept + : element_t(input) {} [[nodiscard]] auto name() const noexcept { return at("name"); } [[nodiscard]] auto initial() const noexcept { return state_t(at("initial")); }