My Project  v0.0.16
Public Member Functions | Private Attributes | List of all members
PatternBuilder Class Reference

Public Member Functions

Private Attributes

Detailed Description

PatternBuilder

Provides an easy way to collect to assemble a data to upload to a buffer as a collection of valid/invalid blocks

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)

Member Function Documentation

◆ __len__()

def __len__ (   self)

◆ append()

def append (   self,
  block,
  gap = 0,
  valid = True 
)

◆ appendat()

def appendat (   self,
  block,
  offset,
  valid = True 
)
Append the block at offset

Args:
    block: the block of words
    offset: location where to attach

◆ aslist()

def aslist (   self,
  minsize = 0 
)

◆ insert()

def insert (   self,
  block,
  offset = None,
  valid = True 
)

Member Data Documentation

◆ _blocks

_blocks
private

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