Function peafowl::fieldGet

Function Documentation

Field peafowl::fieldGet(std::vector<Field> fields, FieldId id)

fieldGet Extracts a specific field from a list of fields.

Return

The extracted field.

Parameters
  • fields: The list of fields.

  • id: The field identifier.