Class AggregateValue

java.lang.Object
org.yamcs.parameter.Value
org.yamcs.parameter.AggregateValue

public class AggregateValue extends Value
  • Constructor Details

  • Method Details

    • setMemberValue

      public void setMemberValue(String name, Value value)
    • getMemberValue

      public Value getMemberValue(String name)
      Returns the value of the member with the given name
      Parameters:
      name - the name of the aggregate member whos value has to be returned
      Returns:
      the value of the member with the given name
      Throws:
      IllegalArgumentException - if there is no member with that name
    • setMemberValue

      public void setMemberValue(int idx, Value value)
    • getMemberIndex

      public int getMemberIndex(String name)
      Get the index of the member with the given name or -1 if there is no such member
      Parameters:
      name -
      Returns:
    • getType

      public Yamcs.Value.Type getType()
      Specified by:
      getType in class Value
    • numMembers

      public int numMembers()
    • getMemberName

      public String getMemberName(int idx)
    • getMemberValue

      public Value getMemberValue(int i)
    • getMemberNames

      public AggregateMemberNames getMemberNames()
    • toString

      public String toString()
      Overrides:
      toString in class Object