SubscanIntent

class SubscanIntent(subscanIntent)[source]

Bases: object

A class for the SubscanIntent enumeration.

Attributes Summary

AMBIENT

HOT

IMAGE

MIXED

OFF_SOURCE

ON_SOURCE

REFERENCE

SCANNING

SIGNAL

TEST

UNSPECIFIED

Methods Summary

from_int(i)

Return a SubscanIntent from an integration matching an enumeration.

getName()

Return the name of this enumeration.

getValue()

Return the integer value of this enumeration.

literal(name)

Return the SubscanIntent enumerator value given a string

name(subscanIntent)

Returns the string form of subscanIntent

names()

Return the list of all known SubscanIntent enumeration names

newSubscanIntent(name)

Equivalent to the literal method

revision()

revision as a string.

size()

the number of known enumerators in SubscanIntent

version()

the major version number as an int.

Attributes Documentation

AMBIENT = <pyasdm.enumerations.SubscanIntent.SubscanIntent object>
HOT = <pyasdm.enumerations.SubscanIntent.SubscanIntent object>
IMAGE = <pyasdm.enumerations.SubscanIntent.SubscanIntent object>
MIXED = <pyasdm.enumerations.SubscanIntent.SubscanIntent object>
OFF_SOURCE = <pyasdm.enumerations.SubscanIntent.SubscanIntent object>
ON_SOURCE = <pyasdm.enumerations.SubscanIntent.SubscanIntent object>
REFERENCE = <pyasdm.enumerations.SubscanIntent.SubscanIntent object>
SCANNING = <pyasdm.enumerations.SubscanIntent.SubscanIntent object>
SIGNAL = <pyasdm.enumerations.SubscanIntent.SubscanIntent object>
TEST = <pyasdm.enumerations.SubscanIntent.SubscanIntent object>
UNSPECIFIED = <pyasdm.enumerations.SubscanIntent.SubscanIntent object>

Methods Documentation

static from_int(i)[source]

Return a SubscanIntent from an integration matching an enumeration.

getName()[source]

Return the name of this enumeration.

getValue()[source]

Return the integer value of this enumeration.

static literal(name)[source]

Return the SubscanIntent enumerator value given a string

static name(subscanIntent)[source]

Returns the string form of subscanIntent

static names()[source]

Return the list of all known SubscanIntent enumeration names

static newSubscanIntent(name)[source]

Equivalent to the literal method

static revision()[source]

revision as a string.

static size()[source]

the number of known enumerators in SubscanIntent

static version()[source]

the major version number as an int.