File: js_generalities_text.txt

package info (click to toggle)
libxpertmass 1.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,148 kB
  • sloc: cpp: 52,453; xml: 2,193; python: 417; ansic: 70; sh: 54; makefile: 33
file content (27 lines) | stat: -rw-r--r-- 927 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
These are generalities about the current JavaScript environment
===============================================================

The JavaScript environment implements a function to list all the
properties of a given entity.

To list all the values of a given property, use the
Object.getOwnPropertyNames(<entity>) function call.

For example, to list all the values of the BinningType enum object
that is itself a property of the pappso object, that is itself a
property of the pappso object, run the following command:

Object.getOwnPropertyNames(this.pappso.Enums.BinningType)

This command returns the following:

NONE,DATA_BASED,ARBITRARY

These values match exactly the

pappso::Enums::MzIntegrationParams::BinningType::NONE
pappso::Enums::MzIntegrationParams::BinningType::DATA_BASED
pappso::Enums::MzIntegrationParams::BinningType::ARBITRARY

BinningType enum that is declared in the pappso::MzIntegrationParams class.