From 1f4e0c4769d566b878384dd737fdc521c030b88e Mon Sep 17 00:00:00 2001 From: Joshua Scott Date: Thu, 29 Mar 2018 16:41:22 +0100 Subject: [PATCH] dml: Skeletons for each type specialization --- src/dml/types/BytField.cpp | 25 +++++++++++++++++++++++++ src/dml/types/DblField.cpp | 25 +++++++++++++++++++++++++ src/dml/types/FltField.cpp | 25 +++++++++++++++++++++++++ src/dml/types/GidField.cpp | 25 +++++++++++++++++++++++++ src/dml/types/IntField.cpp | 25 +++++++++++++++++++++++++ src/dml/types/ShrtField.cpp | 25 +++++++++++++++++++++++++ src/dml/types/StrField.cpp | 25 +++++++++++++++++++++++++ src/dml/types/UBytField.cpp | 25 +++++++++++++++++++++++++ src/dml/types/UIntField.cpp | 25 +++++++++++++++++++++++++ src/dml/types/UShrtField.cpp | 25 +++++++++++++++++++++++++ src/dml/types/WStrField.cpp | 25 +++++++++++++++++++++++++ 11 files changed, 275 insertions(+) diff --git a/src/dml/types/BytField.cpp b/src/dml/types/BytField.cpp index e69de29..06afa33 100644 --- a/src/dml/types/BytField.cpp +++ b/src/dml/types/BytField.cpp @@ -0,0 +1,25 @@ +#include "ki/dml/Field.h" + +namespace ki +{ +namespace dml +{ + template <> + void BytField::write_to(std::ostream &ostream) const + { + + } + + template <> + void BytField::read_from(std::istream &istream) + { + + } + + template <> + size_t BytField::get_size() const + { + return 0; + } +} +} \ No newline at end of file diff --git a/src/dml/types/DblField.cpp b/src/dml/types/DblField.cpp index e69de29..7eaf895 100644 --- a/src/dml/types/DblField.cpp +++ b/src/dml/types/DblField.cpp @@ -0,0 +1,25 @@ +#include "ki/dml/Field.h" + +namespace ki +{ +namespace dml +{ + template <> + void DblField::write_to(std::ostream &ostream) const + { + + } + + template <> + void DblField::read_from(std::istream &istream) + { + + } + + template <> + size_t DblField::get_size() const + { + return 0; + } +} +} \ No newline at end of file diff --git a/src/dml/types/FltField.cpp b/src/dml/types/FltField.cpp index e69de29..13a1e46 100644 --- a/src/dml/types/FltField.cpp +++ b/src/dml/types/FltField.cpp @@ -0,0 +1,25 @@ +#include "ki/dml/Field.h" + +namespace ki +{ +namespace dml +{ + template <> + void FltField::write_to(std::ostream &ostream) const + { + + } + + template <> + void FltField::read_from(std::istream &istream) + { + + } + + template <> + size_t FltField::get_size() const + { + return 0; + } +} +} \ No newline at end of file diff --git a/src/dml/types/GidField.cpp b/src/dml/types/GidField.cpp index e69de29..1381616 100644 --- a/src/dml/types/GidField.cpp +++ b/src/dml/types/GidField.cpp @@ -0,0 +1,25 @@ +#include "ki/dml/Field.h" + +namespace ki +{ +namespace dml +{ + template <> + void GidField::write_to(std::ostream &ostream) const + { + + } + + template <> + void GidField::read_from(std::istream &istream) + { + + } + + template <> + size_t GidField::get_size() const + { + return 0; + } +} +} \ No newline at end of file diff --git a/src/dml/types/IntField.cpp b/src/dml/types/IntField.cpp index e69de29..edb2010 100644 --- a/src/dml/types/IntField.cpp +++ b/src/dml/types/IntField.cpp @@ -0,0 +1,25 @@ +#include "ki/dml/Field.h" + +namespace ki +{ +namespace dml +{ + template <> + void IntField::write_to(std::ostream &ostream) const + { + + } + + template <> + void IntField::read_from(std::istream &istream) + { + + } + + template <> + size_t IntField::get_size() const + { + return 0; + } +} +} diff --git a/src/dml/types/ShrtField.cpp b/src/dml/types/ShrtField.cpp index e69de29..4cd727b 100644 --- a/src/dml/types/ShrtField.cpp +++ b/src/dml/types/ShrtField.cpp @@ -0,0 +1,25 @@ +#include "ki/dml/Field.h" + +namespace ki +{ +namespace dml +{ + template <> + void ShrtField::write_to(std::ostream &ostream) const + { + + } + + template <> + void ShrtField::read_from(std::istream &istream) + { + + } + + template <> + size_t ShrtField::get_size() const + { + return 0; + } +} +} diff --git a/src/dml/types/StrField.cpp b/src/dml/types/StrField.cpp index e69de29..c8e547c 100644 --- a/src/dml/types/StrField.cpp +++ b/src/dml/types/StrField.cpp @@ -0,0 +1,25 @@ +#include "ki/dml/Field.h" + +namespace ki +{ +namespace dml +{ + template <> + void StrField::write_to(std::ostream &ostream) const + { + + } + + template <> + void StrField::read_from(std::istream &istream) + { + + } + + template <> + size_t StrField::get_size() const + { + return 0; + } +} +} diff --git a/src/dml/types/UBytField.cpp b/src/dml/types/UBytField.cpp index e69de29..4caab2a 100644 --- a/src/dml/types/UBytField.cpp +++ b/src/dml/types/UBytField.cpp @@ -0,0 +1,25 @@ +#include "ki/dml/Field.h" + +namespace ki +{ +namespace dml +{ + template <> + void UBytField::write_to(std::ostream &ostream) const + { + + } + + template <> + void UBytField::read_from(std::istream &istream) + { + + } + + template <> + size_t UBytField::get_size() const + { + return 0; + } +} +} diff --git a/src/dml/types/UIntField.cpp b/src/dml/types/UIntField.cpp index e69de29..ba998ef 100644 --- a/src/dml/types/UIntField.cpp +++ b/src/dml/types/UIntField.cpp @@ -0,0 +1,25 @@ +#include "ki/dml/Field.h" + +namespace ki +{ +namespace dml +{ + template <> + void UIntField::write_to(std::ostream &ostream) const + { + + } + + template <> + void UIntField::read_from(std::istream &istream) + { + + } + + template <> + size_t UIntField::get_size() const + { + return 0; + } +} +} diff --git a/src/dml/types/UShrtField.cpp b/src/dml/types/UShrtField.cpp index e69de29..f8a98d8 100644 --- a/src/dml/types/UShrtField.cpp +++ b/src/dml/types/UShrtField.cpp @@ -0,0 +1,25 @@ +#include "ki/dml/Field.h" + +namespace ki +{ +namespace dml +{ + template <> + void UShrtField::write_to(std::ostream &ostream) const + { + + } + + template <> + void UShrtField::read_from(std::istream &istream) + { + + } + + template <> + size_t UShrtField::get_size() const + { + return 0; + } +} +} diff --git a/src/dml/types/WStrField.cpp b/src/dml/types/WStrField.cpp index e69de29..ac8d1a6 100644 --- a/src/dml/types/WStrField.cpp +++ b/src/dml/types/WStrField.cpp @@ -0,0 +1,25 @@ +#include "ki/dml/Field.h" + +namespace ki +{ +namespace dml +{ + template <> + void WStrField::write_to(std::ostream &ostream) const + { + + } + + template <> + void WStrField::read_from(std::istream &istream) + { + + } + + template <> + size_t WStrField::get_size() const + { + return 0; + } +} +}