aboutsummaryrefslogtreecommitdiff
path: root/source/CodegenRuntime/Metadata.cpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-06-03 23:26:44 -0700
committerrtk0c <[email protected]>2022-06-03 23:26:44 -0700
commit60ccc62f4934e44ad5b905fdbcf458302b8d8a09 (patch)
tree02ec83cc8387abfd08bd5ee7ea4e8115f1bfb8d0 /source/CodegenRuntime/Metadata.cpp
parentc2ef7737536bf1f8c81fcfae95c0183b21c9753f (diff)
Changeset: 63 [WIP] Rename directories
Diffstat (limited to 'source/CodegenRuntime/Metadata.cpp')
-rw-r--r--source/CodegenRuntime/Metadata.cpp45
1 files changed, 45 insertions, 0 deletions
diff --git a/source/CodegenRuntime/Metadata.cpp b/source/CodegenRuntime/Metadata.cpp
new file mode 100644
index 0000000..0d640da
--- /dev/null
+++ b/source/CodegenRuntime/Metadata.cpp
@@ -0,0 +1,45 @@
+#include "Metadata.hpp"
+
+auto Metadata::TypeInfoList::Iterator::operator*() const -> const TypeInfo& {
+ // TODO
+}
+
+auto Metadata::TypeInfoList::Iterator::operator++() -> Iterator& {
+ // TODO
+}
+
+auto Metadata::TypeInfoList::Iterator::operator++(int) -> Iterator {
+ auto copy = *this;
+ ++copy;
+ return copy;
+}
+
+bool Metadata::TypeInfoList::Iterator::operator==(const Iterator& that) const {
+ return this->data == that.data;
+}
+
+bool Metadata::TypeInfoList::Iterator::operator==(const Sentinel&) const {
+ // TODO
+}
+
+auto Metadata::TypeInfoList::begin() const -> Iterator {
+ return Iterator();
+}
+
+auto Metadata::TypeInfoList::end() const -> Sentinel {
+ return Sentinel();
+}
+
+auto Metadata::GetTypeInfoList() -> const TypeInfoList& {
+ // TODO
+}
+
+auto Metadata::QueryTypeInfo(TypeId id) -> const TypeInfo* {
+ // TODO
+ return nullptr;
+}
+
+auto Metadata::QueryTypeInfo(std::string_view id) -> const TypeInfo* {
+ // TODO
+ return nullptr;
+}