WPILibC++
unspecified
|
NetworkTables Entry Value. More...
#include <nt_Value.h>
Public Member Functions | |
Value (NT_Type type, const private_init &) | |
NT_Type | type () const |
const NT_Value & | value () const |
unsigned long long | last_change () const |
bool | IsBoolean () const |
bool | IsDouble () const |
bool | IsString () const |
bool | IsRaw () const |
bool | IsRpc () const |
bool | IsBooleanArray () const |
bool | IsDoubleArray () const |
bool | IsStringArray () const |
bool | GetBoolean () const |
double | GetDouble () const |
StringRef | GetString () const |
StringRef | GetRaw () const |
StringRef | GetRpc () const |
ArrayRef< int > | GetBooleanArray () const |
ArrayRef< double > | GetDoubleArray () const |
ArrayRef< std::string > | GetStringArray () const |
Value (const Value &)=delete | |
Value & | operator= (const Value &)=delete |
Static Public Member Functions | |
static std::shared_ptr< Value > | MakeBoolean (bool value) |
static std::shared_ptr< Value > | MakeDouble (double value) |
static std::shared_ptr< Value > | MakeString (StringRef value) |
template<typename T , typename std::enable_if< std::is_same< T, std::string >::value >::type > | |
static std::shared_ptr< Value > | MakeString (T &&value) |
static std::shared_ptr< Value > | MakeRaw (StringRef value) |
template<typename T , typename std::enable_if< std::is_same< T, std::string >::value >::type > | |
static std::shared_ptr< Value > | MakeRaw (T &&value) |
static std::shared_ptr< Value > | MakeRpc (StringRef value) |
template<typename T > | |
static std::shared_ptr< Value > | MakeRpc (T &&value) |
static std::shared_ptr< Value > | MakeBooleanArray (ArrayRef< int > value) |
static std::shared_ptr< Value > | MakeDoubleArray (ArrayRef< double > value) |
static std::shared_ptr< Value > | MakeStringArray (ArrayRef< std::string > value) |
static std::shared_ptr< Value > | MakeStringArray (std::vector< std::string > &&value) |
Friends | |
bool | operator== (const Value &lhs, const Value &rhs) |
NetworkTables Entry Value.