SBType

class SBType(sBType)[source]

Bases: object

A class for the SBType enumeration.

Attributes Summary

EXPERT

OBSERVATORY

OBSERVER

Methods Summary

from_int(i)

Return a SBType 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 SBType enumerator value given a string

name(sBType)

Returns the string form of sBType

names()

Return the list of all known SBType enumeration names

newSBType(name)

Equivalent to the literal method

revision()

revision as a string.

size()

the number of known enumerators in SBType

version()

the major version number as an int.

Attributes Documentation

EXPERT = <pyasdm.enumerations.SBType.SBType object>
OBSERVATORY = <pyasdm.enumerations.SBType.SBType object>
OBSERVER = <pyasdm.enumerations.SBType.SBType object>

Methods Documentation

static from_int(i)[source]

Return a SBType 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 SBType enumerator value given a string

static name(sBType)[source]

Returns the string form of sBType

static names()[source]

Return the list of all known SBType enumeration names

static newSBType(name)[source]

Equivalent to the literal method

static revision()[source]

revision as a string.

static size()[source]

the number of known enumerators in SBType

static version()[source]

the major version number as an int.