Add OpType for Metal Claw operators

This commit is contained in:
2017-10-15 00:55:25 -05:00
parent 6815402ba1
commit 70896b8761
3 changed files with 28 additions and 0 deletions

View File

@@ -11,6 +11,7 @@
#include <ox/std/string.hpp>
#include <ox/std/types.hpp>
#include "err.hpp"
#include "optype.hpp"
#include "presencemask.hpp"
namespace ox {
@@ -49,6 +50,10 @@ class MetalClawWriter {
void setFields(int fields);
OpType opType() {
return OpType::Write;
}
private:
template<typename I>
int appendInteger(I val);