Get MetalClaw read/write test passing

This commit is contained in:
2017-04-28 12:42:28 -05:00
parent 50ecefdb38
commit 7378ce4c32
12 changed files with 506 additions and 104 deletions
+30
View File
@@ -0,0 +1,30 @@
/*
* Copyright 2015 - 2017 gtalent2@gmail.com
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#pragma once
#include <ox/std/types.hpp>
namespace ox {
class FieldPresenseMask {
private:
uint8_t *m_mask;
int m_maxLen = 0;
public:
FieldPresenseMask(uint8_t *mask, size_t maxLen);
bool get(int i);
int set(int i, bool on);
void setMaxLen(int);
};
}