WPILibC++  unspecified
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
nt::Value Class Reference

NetworkTables Entry Value. More...

#include <nt_Value.h>

Public Member Functions

 Value (NT_Type type, const private_init &)
 
NT_Type type () const
 
const NT_Valuevalue () 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
 
Valueoperator= (const Value &)=delete
 

Static Public Member Functions

static std::shared_ptr< ValueMakeBoolean (bool value)
 
static std::shared_ptr< ValueMakeDouble (double value)
 
static std::shared_ptr< ValueMakeString (StringRef value)
 
template<typename T , typename std::enable_if< std::is_same< T, std::string >::value >::type >
static std::shared_ptr< ValueMakeString (T &&value)
 
static std::shared_ptr< ValueMakeRaw (StringRef value)
 
template<typename T , typename std::enable_if< std::is_same< T, std::string >::value >::type >
static std::shared_ptr< ValueMakeRaw (T &&value)
 
static std::shared_ptr< ValueMakeRpc (StringRef value)
 
template<typename T >
static std::shared_ptr< ValueMakeRpc (T &&value)
 
static std::shared_ptr< ValueMakeBooleanArray (ArrayRef< int > value)
 
static std::shared_ptr< ValueMakeDoubleArray (ArrayRef< double > value)
 
static std::shared_ptr< ValueMakeStringArray (ArrayRef< std::string > value)
 
static std::shared_ptr< ValueMakeStringArray (std::vector< std::string > &&value)
 

Friends

bool operator== (const Value &lhs, const Value &rhs)
 

Detailed Description

NetworkTables Entry Value.


The documentation for this class was generated from the following files: