rawtypes.interpreted_types.primitive_types module

Inheritance diagram of rawtypes.interpreted_types.primitive_types
class rawtypes.interpreted_types.primitive_types.VoidType(is_const=False)

ベースクラス: rawtypes.interpreted_types.basetype.BaseType

property ctypes_type: str

python type for ctypes.Structure fields

cpp_result(indent: str, call: str) str

c/c++ の関数を呼び出す。 結果から PyObject* を作って返す。

class rawtypes.interpreted_types.primitive_types.PrimitiveType(name: str, is_const: bool = False)

ベースクラス: rawtypes.interpreted_types.basetype.BaseType

class rawtypes.interpreted_types.primitive_types.BoolType(is_const=False)

ベースクラス: rawtypes.interpreted_types.primitive_types.PrimitiveType

property ctypes_type: str

python type for ctypes.Structure fields

property pyi_types: Tuple[str]

rename python type for avoid language-server error

ex: ctypes.c_int32 => int

cpp_from_py(indent: str, i: int, default_value: str) str

PyObject* から c/c++ の値を取り出す

cpp_to_py(value: str)

c/c++ の値から PyObject* を作る

class rawtypes.interpreted_types.primitive_types.IntegerType(name: str, is_const: bool = False)

ベースクラス: rawtypes.interpreted_types.primitive_types.PrimitiveType

property pyi_types: Tuple[str]

rename python type for avoid language-server error

ex: ctypes.c_int32 => int

class rawtypes.interpreted_types.primitive_types.UInt8Type(is_const=False)

ベースクラス: rawtypes.interpreted_types.primitive_types.IntegerType

property ctypes_type: str

python type for ctypes.Structure fields

cpp_from_py(indent: str, i: int, default_value: str) str

PyObject* から c/c++ の値を取り出す

cpp_to_py(value: str)

c/c++ の値から PyObject* を作る

class rawtypes.interpreted_types.primitive_types.UInt16Type(is_const=False)

ベースクラス: rawtypes.interpreted_types.primitive_types.IntegerType

property ctypes_type: str

python type for ctypes.Structure fields

cpp_from_py(indent: str, i: int, default_value: str) str

PyObject* から c/c++ の値を取り出す

class rawtypes.interpreted_types.primitive_types.UInt32Type(is_const=False)

ベースクラス: rawtypes.interpreted_types.primitive_types.IntegerType

property ctypes_type: str

python type for ctypes.Structure fields

cpp_from_py(indent: str, i: int, default_value: str) str

PyObject* から c/c++ の値を取り出す

cpp_to_py(value: str)

c/c++ の値から PyObject* を作る

class rawtypes.interpreted_types.primitive_types.UInt64Type(is_const=False)

ベースクラス: rawtypes.interpreted_types.primitive_types.IntegerType

property ctypes_type: str

python type for ctypes.Structure fields

class rawtypes.interpreted_types.primitive_types.SizeType(is_const=False)

ベースクラス: rawtypes.interpreted_types.primitive_types.IntegerType

property ctypes_type: str

python type for ctypes.Structure fields

cpp_from_py(indent: str, i: int, default_value: str) str

PyObject* から c/c++ の値を取り出す

class rawtypes.interpreted_types.primitive_types.Int8Type(is_const=False)

ベースクラス: rawtypes.interpreted_types.primitive_types.IntegerType

property ctypes_type: str

python type for ctypes.Structure fields

cpp_from_py(indent: str, i: int, default_value: str) str

PyObject* から c/c++ の値を取り出す

cpp_to_py(value: str)

c/c++ の値から PyObject* を作る

class rawtypes.interpreted_types.primitive_types.Int16Type(is_const=False)

ベースクラス: rawtypes.interpreted_types.primitive_types.IntegerType

property ctypes_type: str

python type for ctypes.Structure fields

cpp_from_py(indent: str, i: int, default_value: str) str

PyObject* から c/c++ の値を取り出す

class rawtypes.interpreted_types.primitive_types.Int32Type(is_const=False)

ベースクラス: rawtypes.interpreted_types.primitive_types.IntegerType

property ctypes_type: str

python type for ctypes.Structure fields

cpp_from_py(indent: str, i: int, default_value: str) str

PyObject* から c/c++ の値を取り出す

cpp_to_py(value: str) str

c/c++ の値から PyObject* を作る

class rawtypes.interpreted_types.primitive_types.Int64Type(is_const=False)

ベースクラス: rawtypes.interpreted_types.primitive_types.IntegerType

property ctypes_type: str

python type for ctypes.Structure fields

class rawtypes.interpreted_types.primitive_types.FloatingType(name: str, is_const: bool = False)

ベースクラス: rawtypes.interpreted_types.primitive_types.PrimitiveType

property pyi_types: Tuple[str]

rename python type for avoid language-server error

ex: ctypes.c_int32 => int

class rawtypes.interpreted_types.primitive_types.FloatType(is_const=False)

ベースクラス: rawtypes.interpreted_types.primitive_types.FloatingType

property ctypes_type: str

python type for ctypes.Structure fields

cpp_from_py(indent: str, i: int, default_value: str) str

PyObject* から c/c++ の値を取り出す

cpp_to_py(value: str) str

c/c++ の値から PyObject* を作る

class rawtypes.interpreted_types.primitive_types.DoubleType(is_const=False)

ベースクラス: rawtypes.interpreted_types.primitive_types.FloatingType

property ctypes_type: str

python type for ctypes.Structure fields

cpp_from_py(indent: str, i: int, default_value: str) str

PyObject* から c/c++ の値を取り出す

cpp_to_py(value: str) str

c/c++ の値から PyObject* を作る

rawtypes.interpreted_types.primitive_types.get(src: str, is_const: bool) rawtypes.interpreted_types.primitive_types.PrimitiveType
rawtypes.interpreted_types.primitive_types.is_primitive(base: rawtypes.interpreted_types.basetype.BaseType) bool