Package pyfdt :: Module pyfdt :: Class FdtProperty
[hide private]
[frames] | no frames]

Class FdtProperty

source code

object --+
         |
        FdtProperty
Known Subclasses:

Represents an empty property

Instance Methods [hide private]
 
__init__(self, name)
Init with name
source code
 
get_name(self)
Get property name
source code
 
__str__(self)
String representation
source code
 
dts_represent(self, depth=0)
Get dts string representation
source code
 
dtb_represent(self, string_store, pos=0, version=17)
Get blob representation
source code
 
json_represent(self, depth=0)
Ouput JSON
source code
 
to_raw(self)
Return RAW value representation
source code
 
__getitem__(self, value)
Returns No Items
source code
 
__ne__(self, node)
Check property inequality
source code
 
__eq__(self, node)
Check node equality check properties are the same (same values)
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Static Methods [hide private]
 
__validate_dt_name(name)
Checks the name validity
source code
 
__check_prop_strings(value)
Check property string validity Python version of util_is_printable_string from dtc
source code
 
new_raw_property(name, raw_value)
Instantiate property with raw value type
source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name)
(Constructor)

source code 

Init with name

Overrides: object.__init__

__str__(self)
(Informal representation operator)

source code 

String representation

Overrides: object.__str__