mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-04 03:11:43 +00:00
ITable: Add Persist function to make a key persistent.
This commit is contained in:
@@ -95,6 +95,13 @@ class NetworkTable : public ITable {
|
||||
|
||||
bool ContainsSubTable(llvm::StringRef key) const;
|
||||
|
||||
/**
|
||||
* Makes a key's value persistent through program restarts.
|
||||
*
|
||||
* @param key the key to make persistent
|
||||
*/
|
||||
void Persist(llvm::StringRef key);
|
||||
|
||||
/**
|
||||
* Maps the specified key to the specified value in this table. The key can
|
||||
* not be null. The value can be retrieved by calling the get method with a
|
||||
|
||||
Reference in New Issue
Block a user