FieldCode

class FieldCode(fieldCode)[source]

Bases: object

A class for the FieldCode enumeration.

Attributes Summary

NONE

Methods Summary

from_int(i)

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

name(fieldCode)

Returns the string form of fieldCode

names()

Return the list of all known FieldCode enumeration names

newFieldCode(name)

Equivalent to the literal method

revision()

revision as a string.

size()

the number of known enumerators in FieldCode

version()

the major version number as an int.

Attributes Documentation

NONE = <pyasdm.enumerations.FieldCode.FieldCode object>

Methods Documentation

static from_int(i)[source]

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

static name(fieldCode)[source]

Returns the string form of fieldCode

static names()[source]

Return the list of all known FieldCode enumeration names

static newFieldCode(name)[source]

Equivalent to the literal method

static revision()[source]

revision as a string.

static size()[source]

the number of known enumerators in FieldCode

static version()[source]

the major version number as an int.