Show / Hide Table of Contents

Class ArrayFieldValue

Represents an arrayfield

Inheritance
System.Object
FieldValue
ArrayFieldValue
Inherited Members
FieldValue.Name
FieldValue.DataType
FieldValue.Value
FieldValue.PrettyValue()
Namespace: RosNet.Field
Assembly: RosNet.dll
Syntax
public class ArrayFieldValue : FieldValue

Constructors

| Improve this Doc View Source

ArrayFieldValue(String, List<FieldValue>, PrimitiveType)

Creates an arrayfieldvalue with name and list of fields in array. Sets datatype to ARRAY.

Declaration
public ArrayFieldValue(string name, List<FieldValue> arrayFields, PrimitiveType primitiveType)
Parameters
Type Name Description
System.String name
List<FieldValue> arrayFields
PrimitiveType primitiveType
| Improve this Doc View Source

ArrayFieldValue(String, List<FieldValue>, PrimitiveType, UInt32)

Creates an arrayfieldvalue with name, list of fields in array and fixed length of array. Sets datatype to ARRAY.

Declaration
public ArrayFieldValue(string name, List<FieldValue> arrayFields, PrimitiveType primitiveType, uint fixedArrayLength)
Parameters
Type Name Description
System.String name
List<FieldValue> arrayFields
PrimitiveType primitiveType
System.UInt32 fixedArrayLength

Properties

| Improve this Doc View Source

ArrayFields

Declaration
public List<FieldValue> ArrayFields { get; set; }
Property Value
Type Description
List<FieldValue>
| Improve this Doc View Source

FixedArrayLength

Declaration
public uint FixedArrayLength { get; }
Property Value
Type Description
System.UInt32

Methods

| Improve this Doc View Source

GetByteLength()

Finds the byte length of the array using fields in array

Declaration
public override int GetByteLength()
Returns
Type Description
System.Int32

byte length of array

Overrides
FieldValue.GetByteLength()
| Improve this Doc View Source

ToString()

Creates string with values

Declaration
public override string ToString()
Returns
Type Description
System.String

string with values

Overrides
FieldValue.ToString()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX