mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-02 02:51:42 +00:00
Replace MessageReader and MessageWriter with Message.
Change-Id: I4b23d5a1e0e39dc2487f252a0947f11328e33090
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
|
||||
namespace ntimpl {
|
||||
|
||||
class Message;
|
||||
class StringValueTest;
|
||||
class Storage;
|
||||
class Value;
|
||||
@@ -28,6 +29,7 @@ class WireDecoder;
|
||||
* C++ wrapper class around NT_String.
|
||||
*/
|
||||
class StringValue : private NT_String {
|
||||
friend class Message;
|
||||
friend class StringValueTest;
|
||||
friend class Value;
|
||||
friend class WireDecoder;
|
||||
@@ -83,8 +85,9 @@ inline bool operator!=(const StringValue& lhs, llvm::StringRef rhs) {
|
||||
* C++ wrapper class around NT_Value.
|
||||
*/
|
||||
class Value : private NT_Value {
|
||||
friend class ValueTest;
|
||||
friend class Message;
|
||||
friend class Storage;
|
||||
friend class ValueTest;
|
||||
friend class WireDecoder;
|
||||
public:
|
||||
Value() { NT_InitValue(this); }
|
||||
|
||||
Reference in New Issue
Block a user