Package vstruct :: Class VUnion
[hide private]
[frames] | no frames]

Class VUnion

source code


Instance Methods [hide private]
 
vsEmit(self)
Get back the byte sequence associated with this structure.
source code
 
vsParse(self, sbytes, offset=0)
For all the primitives contained within, allow them an opportunity to parse the given data and return the total offset...
source code
 
__len__(self) source code
 
vsGetPrintInfo(self, offset=0, indent=0, top=True) source code

Inherited from VStruct: __getattr__, __init__, __iter__, __ixor__, __repr__, __setattr__, tree, vsAddField, vsAddParseCallback, vsCalculate, vsClearFields, vsGetClassPath, vsGetFastParseFields, vsGetField, vsGetFields, vsGetFirstPrim, vsGetOffset, vsGetPrims, vsGetTypeName, vsHasField, vsInsertField, vsIsPrim, vsParseFd, vsSetField

Inherited from primitives.v_base: vsGetMeta, vsSetMeta

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

vsEmit(self)

source code 

Get back the byte sequence associated with this structure.

Overrides: VStruct.vsEmit
(inherited documentation)

vsParse(self, sbytes, offset=0)

source code 

For all the primitives contained within, allow them an opportunity to parse the given data and return the total offset...

Any method named pcb_<FieldName> will be called back when the specified field is set by the parser.

Overrides: primitives.v_base.vsParse

__len__(self)
(Length operator)

source code 
Overrides: VStruct.__len__

vsGetPrintInfo(self, offset=0, indent=0, top=True)

source code 
Overrides: VStruct.vsGetPrintInfo