MythTV  master
Public Member Functions | Private Attributes | List of all members
hardwareprofile.distros.mythtv_data.orddict.OrdDict Class Reference
Inheritance diagram for hardwareprofile.distros.mythtv_data.orddict.OrdDict:
Inheritance graph
Collaboration diagram for hardwareprofile.distros.mythtv_data.orddict.OrdDict:
Collaboration graph

Public Member Functions

def __new__ (cls, *args, **kwargs)
def __getattr__ (self, name)
def __setattr__ (self, name, value)
def __delattr__ (self, name)
def __setitem__ (self, name, value)
def __delitem__ (self, name)
def update (self, *data, **kwdata)
def __iter__ (self)
def iterkeys (self)
def keys (self)
def itervalues (self)
def values (self)
def iteritems (self)
def items (self)
def copy (self)
def clear (self)

Private Attributes


Detailed Description

OrdData.__init__(raw) -> OrdData object

A modified dictionary, that maintains the order of items.
    Data can be accessed as attributes or items.

Definition at line 28 of file

Member Function Documentation

◆ __new__()

def hardwareprofile.distros.mythtv_data.orddict.OrdDict.__new__ (   cls,
**  kwargs 

Definition at line 36 of file

Referenced by hardwareprofile.os_detect.OSInfoType.__call__().

◆ __getattr__()

def hardwareprofile.distros.mythtv_data.orddict.OrdDict.__getattr__ (   self,

Definition at line 41 of file

◆ __setattr__()

def hardwareprofile.distros.mythtv_data.orddict.OrdDict.__setattr__ (   self,

Definition at line 50 of file

◆ __delattr__()

def hardwareprofile.distros.mythtv_data.orddict.OrdDict.__delattr__ (   self,

Definition at line 56 of file

◆ __setitem__()

def hardwareprofile.distros.mythtv_data.orddict.OrdDict.__setitem__ (   self,

Definition at line 62 of file

◆ __delitem__()

def hardwareprofile.distros.mythtv_data.orddict.OrdDict.__delitem__ (   self,

Definition at line 67 of file

◆ update()

def hardwareprofile.distros.mythtv_data.orddict.OrdDict.update (   self,
**  kwdata 

Definition at line 71 of file

◆ __iter__()

def hardwareprofile.distros.mythtv_data.orddict.OrdDict.__iter__ (   self)

Definition at line 83 of file

◆ iterkeys()

def hardwareprofile.distros.mythtv_data.orddict.OrdDict.iterkeys (   self)

Definition at line 86 of file

Referenced by hardwareprofile.distros.mythtv_data.orddict.OrdDict.keys().

◆ keys()

def hardwareprofile.distros.mythtv_data.orddict.OrdDict.keys (   self)

◆ itervalues()

def hardwareprofile.distros.mythtv_data.orddict.OrdDict.itervalues (   self)

◆ values()

def hardwareprofile.distros.mythtv_data.orddict.OrdDict.values (   self)

◆ iteritems()

def hardwareprofile.distros.mythtv_data.orddict.OrdDict.iteritems (   self)

◆ items()

def hardwareprofile.distros.mythtv_data.orddict.OrdDict.items (   self)

◆ copy()

def hardwareprofile.distros.mythtv_data.orddict.OrdDict.copy (   self)

Definition at line 104 of file

◆ clear()

def hardwareprofile.distros.mythtv_data.orddict.OrdDict.clear (   self)

Definition at line 118 of file

Member Data Documentation

◆ _field_order


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