MythTV  master
Public Member Functions | Public Attributes | Static Private Attributes | List of all members
hardwareprofile.os_detect.OSWithFile Class Reference
Inheritance diagram for hardwareprofile.os_detect.OSWithFile:
[legend]
Collaboration diagram for hardwareprofile.os_detect.OSWithFile:
[legend]

Public Member Functions

def __init__ (self, filename, ostype='posix', func=None, inst=None)
 
def __get__ (self, inst, owner)
 
def do_test (self, *args, **kwargs)
 
- Public Member Functions inherited from hardwareprofile.os_detect.OS
def __init__ (self, ostype=-1, func=None, inst=None)
 
def __call__ (self, func=None)
 
- Public Member Functions inherited from hardwareprofile.os_detect.OrderedType
def __new__ (mcs, name, bases, attrs)
 

Public Attributes

 filename
 
- Public Attributes inherited from hardwareprofile.os_detect.OS
 ostype
 
 func
 
 inst
 

Static Private Attributes

bool _requires_func = False
 

Additional Inherited Members

- Static Public Attributes inherited from hardwareprofile.os_detect.OrderedType
int nextorder = 0
 

Detailed Description

Definition at line 108 of file os_detect.py.

Constructor & Destructor Documentation

◆ __init__()

def hardwareprofile.os_detect.OSWithFile.__init__ (   self,
  filename,
  ostype = 'posix',
  func = None,
  inst = None 
)

Definition at line 110 of file os_detect.py.

Member Function Documentation

◆ __get__()

def hardwareprofile.os_detect.OSWithFile.__get__ (   self,
  inst,
  owner 
)

Reimplemented from hardwareprofile.os_detect.OS.

Definition at line 114 of file os_detect.py.

◆ do_test()

def hardwareprofile.os_detect.OSWithFile.do_test (   self,
args,
**  kwargs 
)

Reimplemented from hardwareprofile.os_detect.OS.

Definition at line 120 of file os_detect.py.

Member Data Documentation

◆ _requires_func

bool hardwareprofile.os_detect.OSWithFile._requires_func = False
staticprivate

Definition at line 109 of file os_detect.py.

◆ filename

hardwareprofile.os_detect.OSWithFile.filename

The documentation for this class was generated from the following file: