104 class UBPFListElement :
public ICastable {
109 UBPFListElement(EBPFType *type,
const cstring name) : type(type), name(name) {}
110 virtual ~UBPFListElement() {}
112 DECLARE_TYPEINFO(UBPFListElement);
115 class Padding :
public UBPFListElement {
117 unsigned widthInBytes;
119 Padding(
const cstring name,
unsigned widthInBytes)
120 : UBPFListElement(
nullptr, name), widthInBytes(widthInBytes) {}
122 DECLARE_TYPEINFO(Padding, UBPFListElement);
128 std::vector<UBPFListElement *> elements;