mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Add ITable/NetworkTable GetKeys and GetSubTables accessors.
This commit is contained in:
@@ -146,6 +146,17 @@ class NetworkTable : public ITable {
|
||||
|
||||
bool ContainsSubTable(llvm::StringRef key) const;
|
||||
|
||||
/**
|
||||
* @param types bitmask of types; 0 is treated as a "don't care".
|
||||
* @return keys currently in the table
|
||||
*/
|
||||
std::vector<std::string> GetKeys(int types = 0) const;
|
||||
|
||||
/**
|
||||
* @return subtables currently in the table
|
||||
*/
|
||||
std::vector<std::string> GetSubTables() const;
|
||||
|
||||
/**
|
||||
* Makes a key's value persistent through program restarts.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user