formats

A module containing the base class for all Format enumerations.

Summary

Classes:

BaseEnumFormat

An enumeration super class of the various supported trajectory formats.

Reference

class BaseEnumFormat(
value,
names=<not given>,
*values,
module=None,
qualname=None,
type=None,
start=1,
boundary=None,
)[source]

Bases: Enum

An enumeration super class of the various supported trajectory formats.

__eq__(other: object) bool[source]

Checks if the given EnumFormat is equal to this Format or not.

classmethod member_repr() str[source]

This method returns a string representation of the members of the enumeration.

Returns:

A string representation of the members of the enumeration.

Return type:

str

classmethod value_repr() str[source]

This method returns a string representation of the values of the members of the enumeration.

Returns:

A string representation of the values of the members of the enumeration.

Return type:

str

classmethod values() list[str][source]

This method returns a list of all values of the enumeration.

Returns:

A list of all values of the enumeration.

Return type:

List[str]