WeightType

class WeightType(weightType)[source]

Bases: object

A class for the WeightType enumeration.

Attributes Summary

COUNT_WEIGHT

JY

K

Methods Summary

from_int(i)

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

name(weightType)

Returns the string form of weightType

names()

Return the list of all known WeightType enumeration names

newWeightType(name)

Equivalent to the literal method

revision()

revision as a string.

size()

the number of known enumerators in WeightType

version()

the major version number as an int.

Attributes Documentation

COUNT_WEIGHT = <pyasdm.enumerations.WeightType.WeightType object>
JY = <pyasdm.enumerations.WeightType.WeightType object>
K = <pyasdm.enumerations.WeightType.WeightType object>

Methods Documentation

static from_int(i)[source]

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

static name(weightType)[source]

Returns the string form of weightType

static names()[source]

Return the list of all known WeightType enumeration names

static newWeightType(name)[source]

Equivalent to the literal method

static revision()[source]

revision as a string.

static size()[source]

the number of known enumerators in WeightType

static version()[source]

the major version number as an int.