FileAction

This is a Python binding to the C++ class Mantid::API::FileProperty.

class mantid.api.FileAction
Directory = _api.FileAction.Directory
Load = _api.FileAction.Load
OptionalDirectory = _api.FileAction.OptionalDirectory
OptionalLoad = _api.FileAction.OptionalLoad
OptionalSave = _api.FileAction.OptionalSave
Save = _api.FileAction.Save
__init__

x.__init__(...) initializes x; see help(type(x)) for signature

bit_length() → int

Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6

conjugate()

Returns self, the complex conjugate of any int.

denominator

the denominator of a rational number in lowest terms

imag

the imaginary part of a complex number

name
names = {'Load': _api.FileAction.Load, 'OptionalDirectory': _api.FileAction.OptionalDirectory, 'Directory': _api.FileAction.Directory, 'Save': _api.FileAction.Save, 'OptionalLoad': _api.FileAction.OptionalLoad, 'OptionalSave': _api.FileAction.OptionalSave}
numerator

the numerator of a rational number in lowest terms

real

the real part of a complex number

values = {0: _api.FileAction.Save, 1: _api.FileAction.OptionalSave, 2: _api.FileAction.Load, 3: _api.FileAction.OptionalLoad, 4: _api.FileAction.Directory, 5: _api.FileAction.OptionalDirectory}