Home
last modified time | relevance | path

Searched refs:TypeCodec (Results 1 – 9 of 9) sorted by relevance

/dports/audio/supercollider/SuperCollider-3.11.0-Source/QtCollider/
H A Dtype_codec.hpp75 TypeCodec<T>::write(slot, val); in set()
99 template <> struct TypeCodec<bool> { struct
112 template <> struct TypeCodec<int> { struct
125 template <> struct TypeCodec<float> { struct
138 template <> struct TypeCodec<double> { struct
158 template <> struct TypeCodec<QChar> { struct
182 template <> struct TypeCodec<QUrl> { struct
198 template <> struct TypeCodec<QPoint> { struct
214 template <> struct TypeCodec<QRect> { struct
230 template <> struct TypeCodec<QSize> { struct
[all …]
H A Dtype_codec.cpp40 QString TypeCodec<QString>::read(PyrSlot* slot) { in read()
57 QUrl TypeCodec<QUrl>::read(PyrSlot* slot) { in read()
74 QPointF TypeCodec<QPointF>::read(PyrSlot* slot) { in read()
106 QRectF TypeCodec<QRectF>::read(PyrSlot* slot) { in read()
119 QRectF TypeCodec<QRectF>::safeRead(PyrSlot* slot) { in safeRead()
139 QSizeF TypeCodec<QSizeF>::read(PyrSlot* slot) { in read()
179 QColor TypeCodec<QColor>::read(PyrSlot* slot) { in read()
217 QFont TypeCodec<QFont>::read(PyrSlot* slot) { in read()
248 QFont TypeCodec<QFont>::safeRead(PyrSlot* slot) { in safeRead()
250 return TypeCodec<QFont>::read(slot); in safeRead()
[all …]
H A Dmetatype.hpp44 return new (ptr) T(TypeCodec<T>::read(slot)); in read()
50 return QVariant::fromValue<T>(TypeCodec<T>::read(slot)); in read()
54 TypeCodec<T>::write(slot, *reinterpret_cast<T*>(ptr)); in write()
58 TypeCodec<T>::write(slot, var.value<T>()); in write()
153 template <> struct TypeCodec<QVariant> { struct
H A Dmetatype.cpp144 QString className = TypeCodec<QString>::read(&slotRawObject(slot)->classptr->name); in find()
/dports/audio/supercollider/SuperCollider-3.11.0-Source/QtCollider/primitives/
H A Dprim_misc.cpp332 QObjectProxy* widgetObj = TypeCodec<QObjectProxy*>::safeRead(a);
333 QObjectProxy* actionObj = TypeCodec<QObjectProxy*>::safeRead(a + 1);
334 QObjectProxy* beforeObj = TypeCodec<QObjectProxy*>::safeRead(a + 2);
376 QObjectProxy* widgetObj = TypeCodec<QObjectProxy*>::safeRead(a);
377 QObjectProxy* actionObj = TypeCodec<QObjectProxy*>::safeRead(a + 1);
396 QObjectProxy* widgetObj = TypeCodec<QObjectProxy*>::safeRead(a);
/dports/databases/pymongo/pymongo-3.12.0/test/
H A Dtest_custom_types.py37 from bson.codec_options import (CodecOptions, TypeCodec, TypeDecoder,
280 run_test(TypeCodec, {'bson_type': Decimal128,
282 run_test(TypeCodec, {'transform_bson': lambda s, x: x,
284 run_test(TypeCodec, {'python_type': MyType,
290 self.assertTrue(issubclass(TypeCodec, TypeEncoder))
291 self.assertTrue(issubclass(TypeCodec, TypeDecoder))
394 class MyIntCodec(TypeCodec):
409 class MyStrCodec(TypeCodec):
539 run_test(TypeCodec, {'bson_type': Decimal128,
/dports/databases/pymongo/pymongo-3.12.0/bson/
H A Dcodec_options.py79 class TypeCodec(TypeEncoder, TypeDecoder): class
144 TypeCodec.__name__, codec))
/dports/databases/pymongo/pymongo-3.12.0/doc/examples/
H A Dcustom_type.rst5 how to subclass :class:`~bson.codec_options.TypeCodec` to write a type
47 The :class:`~bson.codec_options.TypeCodec` Class
64 * :class:`~bson.codec_options.TypeCodec`: subclass this to define a codec that
74 ``TypeCodec`` base class to define our codec:
79 >>> from bson.codec_options import TypeCodec
80 >>> class DecimalCodec(TypeCodec):
/dports/databases/pymongo/pymongo-3.12.0/doc/
H A Dchangelog.rst442 the :class:`~bson.codec_options.TypeCodec` and