InSilicoSpectro::Spectra::PeakDescriptor - Description of peak properties
List peak properties in order. By peak properties we mean physical properties read from fields in the peak list such as mass, intensity, FWHM, etc.
Constructor. It is possible to give a list of properties in a vector, a reference to which is passed as parameter $itemOrder. The positions in the vector define the order.
Initializes with an array of names, or a text line (heading '#\s*' and trailing '#.*' are removed).
Return the i^th field. If $i is not present, return the array of fields
Return the index of the field corresponding the $name
Adds field $n at the end of the list of fields already in the PeakDescriptor.
Compares two PeakDescriptor objects and returns true if all the fields are the same and in the same order.
Returns a string with order:field_name pairs separated by comas.
Returns the result of toString.
Alexandre Masselot, www.genebio.com