dml: Skeletons for each type specialization

This commit is contained in:
Joshua Scott 2018-03-29 16:41:22 +01:00
parent be07d23ecf
commit 1f4e0c4769
11 changed files with 275 additions and 0 deletions

View File

@ -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;
}
}
}

View File

@ -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;
}
}
}

View File

@ -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;
}
}
}

View File

@ -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;
}
}
}

View File

@ -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;
}
}
}

View File

@ -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;
}
}
}

View File

@ -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;
}
}
}

View File

@ -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;
}
}
}

View File

@ -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;
}
}
}

View File

@ -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;
}
}
}

View File

@ -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;
}
}
}