Struct NetworkTableValue
Assembly: FRC.NetworkTables.dll
Syntax
public struct NetworkTableValue : IEquatable<NetworkTableValue>
Fields
|
Improve this Doc
View Source
Value
Declaration
public readonly ManagedValue Value
Field Value
Properties
|
Improve this Doc
View Source
IsValid
Declaration
public bool IsValid { get; }
Property Value
|
Improve this Doc
View Source
Type
Declaration
public NtType Type { get; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(NetworkTableValue)
Declaration
public bool Equals(NetworkTableValue other)
Parameters
Returns
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
|
Improve this Doc
View Source
GetBoolean()
Gets the boolean value from the type
Declaration
Returns
Type |
Description |
Boolean |
boolean contained in type
|
Exceptions
|
Improve this Doc
View Source
GetBooleanArray()
Gets the boolean array value from the type
Declaration
public bool[] GetBooleanArray()
Returns
Type |
Description |
Boolean[] |
boolean array contained in type
|
Exceptions
|
Improve this Doc
View Source
GetDouble()
Gets the double value from the type
Declaration
public double GetDouble()
Returns
Type |
Description |
Double |
double contained in type
|
Exceptions
|
Improve this Doc
View Source
GetDoubleArray()
Gets the double array value from the type
Declaration
public double[] GetDoubleArray()
Returns
Type |
Description |
Double[] |
double array contained in type
|
Exceptions
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Improve this Doc
View Source
GetRaw()
Gets the raw value from the type
Declaration
Returns
Type |
Description |
Byte[] |
raw byte array contained in type
|
Exceptions
|
Improve this Doc
View Source
GetRpc()
Gets the rpc value from the type
Declaration
Returns
Type |
Description |
Byte[] |
rpc byte array contained in type
|
Exceptions
|
Improve this Doc
View Source
GetString()
Gets the string value from the type
Declaration
public string GetString()
Returns
Type |
Description |
String |
string contained in type
|
Exceptions
|
Improve this Doc
View Source
GetStringArray()
Gets the string array value from the type
Declaration
public string[] GetStringArray()
Returns
Type |
Description |
String[] |
string array contained in type
|
Exceptions
|
Improve this Doc
View Source
IsBoolean()
Gets if the type is boolean
Declaration
Returns
Type |
Description |
Boolean |
True if the type is boolean
|
|
Improve this Doc
View Source
IsBooleanArray()
Gets if the type is boolean array
Declaration
public bool IsBooleanArray()
Returns
Type |
Description |
Boolean |
True if the type is a boolean array
|
|
Improve this Doc
View Source
IsDouble()
Gets if the type is double
Declaration
Returns
Type |
Description |
Boolean |
True if the type is double
|
|
Improve this Doc
View Source
IsDoubleArray()
Gets if the type is double array
Declaration
public bool IsDoubleArray()
Returns
Type |
Description |
Boolean |
True if the type is a double array
|
|
Improve this Doc
View Source
IsRaw()
Declaration
Returns
Type |
Description |
Boolean |
True if the type is raw
|
|
Improve this Doc
View Source
IsRpc()
Declaration
Returns
Type |
Description |
Boolean |
True if the type is Rpc
|
|
Improve this Doc
View Source
IsString()
Gets if the type is string
Declaration
Returns
Type |
Description |
Boolean |
True if the type is string
|
|
Improve this Doc
View Source
IsStringArray()
Gets if the type is string array
Declaration
public bool IsStringArray()
Returns
Type |
Description |
Boolean |
True if the type is a string array
|
|
Improve this Doc
View Source
MakeBoolean(Boolean)
Declaration
public static NetworkTableValue MakeBoolean(bool value)
Parameters
Type |
Name |
Description |
Boolean |
value |
|
Returns
|
Improve this Doc
View Source
MakeBooleanArray(ReadOnlySpan<Boolean>)
Declaration
public static NetworkTableValue MakeBooleanArray(ReadOnlySpan<bool> value)
Parameters
Type |
Name |
Description |
System.ReadOnlySpan<Boolean> |
value |
|
Returns
|
Improve this Doc
View Source
MakeDouble(Double)
Declaration
public static NetworkTableValue MakeDouble(double value)
Parameters
Type |
Name |
Description |
Double |
value |
|
Returns
|
Improve this Doc
View Source
MakeDoubleArray(ReadOnlySpan<Double>)
Declaration
public static NetworkTableValue MakeDoubleArray(ReadOnlySpan<double> value)
Parameters
Type |
Name |
Description |
System.ReadOnlySpan<Double> |
value |
|
Returns
|
Improve this Doc
View Source
MakeRaw(ReadOnlySpan<Byte>)
Declaration
public static NetworkTableValue MakeRaw(ReadOnlySpan<byte> value)
Parameters
Type |
Name |
Description |
System.ReadOnlySpan<Byte> |
value |
|
Returns
|
Improve this Doc
View Source
MakeRpc(ReadOnlySpan<Byte>)
Declaration
public static NetworkTableValue MakeRpc(ReadOnlySpan<byte> value)
Parameters
Type |
Name |
Description |
System.ReadOnlySpan<Byte> |
value |
|
Returns
|
Improve this Doc
View Source
MakeString(ReadOnlySpan<Char>)
Declaration
public static NetworkTableValue MakeString(ReadOnlySpan<char> value)
Parameters
Type |
Name |
Description |
System.ReadOnlySpan<Char> |
value |
|
Returns
|
Improve this Doc
View Source
MakeString(String)
Declaration
public static NetworkTableValue MakeString(string value)
Parameters
Type |
Name |
Description |
String |
value |
|
Returns
|
Improve this Doc
View Source
MakeStringArray(ReadOnlySpan<String>)
Declaration
public static NetworkTableValue MakeStringArray(ReadOnlySpan<string> value)
Parameters
Type |
Name |
Description |
System.ReadOnlySpan<String> |
value |
|
Returns
Operators
|
Improve this Doc
View Source
Equality(NetworkTableValue, NetworkTableValue)
Declaration
public static bool operator ==(NetworkTableValue lhs, NetworkTableValue rhs)
Parameters
Returns
|
Improve this Doc
View Source
Inequality(NetworkTableValue, NetworkTableValue)
Declaration
public static bool operator !=(NetworkTableValue lhs, NetworkTableValue rhs)
Parameters
Returns
Implements