// Initialize field public CppField(string name, CppType type, int bitfieldSize = 0, bool isConst = false) { Name = name; Type = type; BitfieldSize = bitfieldSize; IsConst = isConst; }
public CppPointerType(int WordSize, CppType elementType) : base(null, WordSize) => ElementType = elementType;
public static CppEnumType NewEnum(CppType underlyingType, string name = "") => new CppEnumType(underlyingType) { Name = name };
public CppArrayType(CppType elementType, int length) : base(null) { ElementType = elementType; Length = length; }