CIRCT  19.0.0git
Public Member Functions | Public Attributes | List of all members
esiaccel.types.ArrayType Class Reference
Inheritance diagram for esiaccel.types.ArrayType:
Inheritance graph
[legend]
Collaboration diagram for esiaccel.types.ArrayType:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, cpp.ArrayType cpp_type)
 
int bit_width (self)
 
Tuple[bool, Optional[str]] is_valid (self, obj)
 
bytearray serialize (self, list lst)
 
Tuple[List[Any], bytearray] deserialize (self, bytearray data)
 
- Public Member Functions inherited from esiaccel.types.ESIType
def __init__ (self, cpp.Type cpp_type)
 
Tuple[bool, Optional[str]] supports_host (self)
 
int max_size (self)
 
bytearray serialize (self, obj)
 
str __str__ (self)
 

Public Attributes

 cpp_type
 
 element_type
 
 size
 
- Public Attributes inherited from esiaccel.types.ESIType
 cpp_type
 

Detailed Description

Definition at line 251 of file types.py.

Constructor & Destructor Documentation

◆ __init__()

def esiaccel.types.ArrayType.__init__ (   self,
cpp.ArrayType  cpp_type 
)

Definition at line 253 of file types.py.

Member Function Documentation

◆ bit_width()

int esiaccel.types.ArrayType.bit_width (   self)

◆ deserialize()

Tuple[List[Any], bytearray] esiaccel.types.ArrayType.deserialize (   self,
bytearray  data 
)

◆ is_valid()

Tuple[bool, Optional[str]] esiaccel.types.ArrayType.is_valid (   self,
  obj 
)

◆ serialize()

bytearray esiaccel.types.ArrayType.serialize (   self,
list  lst 
)

Definition at line 273 of file types.py.

References esiaccel.types.ArrayType.element_type.

Member Data Documentation

◆ cpp_type

esiaccel.types.ArrayType.cpp_type

◆ element_type

esiaccel.types.ArrayType.element_type

◆ size

esiaccel.types.ArrayType.size

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