Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide6.QtCore »

Classe « QCborValue »

Informations générales

Héritage

builtins.object
    Object
        QCborValue

Définition

class QCborValue(Object):

Description [extrait de QCborValue.__doc__]

QCborValue(self) -> None
QCborValue(self, a: PySide6.QtCore.QCborArray) -> None
QCborValue(self, b_: bool) -> None
QCborValue(self, ba: Union[PySide6.QtCore.QByteArray, bytes]) -> None
QCborValue(self, dt: PySide6.QtCore.QDateTime) -> None
QCborValue(self, i: int) -> None
QCborValue(self, i: int) -> None
QCborValue(self, m: PySide6.QtCore.QCborMap) -> None
QCborValue(self, other: Union[PySide6.QtCore.QCborValue, PySide6.QtCore.QCborKnownTags, PySide6.QtCore.QCborSimpleType, PySide6.QtCore.QCborValue.Type, str, bool, PySide6.QtCore.QByteArray, PySide6.QtCore.QCborArray, PySide6.QtCore.QCborMap, bytes, float, int]) -> None
QCborValue(self, rx: Union[PySide6.QtCore.QRegularExpression, str]) -> None
QCborValue(self, s: str) -> None
QCborValue(self, s: bytes) -> None
QCborValue(self, st: PySide6.QtCore.QCborSimpleType) -> None
QCborValue(self, t_: PySide6.QtCore.QCborKnownTags, tv: Union[PySide6.QtCore.QCborValue, PySide6.QtCore.QCborKnownTags, PySide6.QtCore.QCborSimpleType, PySide6.QtCore.QCborValue.Type, str, bool, PySide6.QtCore.QByteArray, PySide6.QtCore.QCborArray, PySide6.QtCore.QCborMap, bytes, float, int] = Default(QCborValue)) -> None
QCborValue(self, t_: PySide6.QtCore.QCborValue.Type) -> None
QCborValue(self, u: int) -> None
QCborValue(self, url: Union[PySide6.QtCore.QUrl, str]) -> None
QCborValue(self, uuid: PySide6.QtCore.QUuid) -> None
QCborValue(self, v: float) -> None

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
ArrayPySide6.QtCore.QCborValue.Type.Array
ByteArrayPySide6.QtCore.QCborValue.Type.ByteArray
CompactPySide6.QtCore.QCborValue.DiagnosticNotationOption.Compact
DateTimePySide6.QtCore.QCborValue.Type.DateTime
DoublePySide6.QtCore.QCborValue.Type.Double
ExtendedFormatPySide6.QtCore.QCborValue.DiagnosticNotationOption.ExtendedFormat
False_PySide6.QtCore.QCborValue.Type.False_
IntegerPySide6.QtCore.QCborValue.Type.Integer
InvalidPySide6.QtCore.QCborValue.Type.Invalid
LineWrappedPySide6.QtCore.QCborValue.DiagnosticNotationOption.LineWrapped
MapPySide6.QtCore.QCborValue.Type.Map
NoTransformationPySide6.QtCore.QCborValue.EncodingOption.NoTransformation
NullPySide6.QtCore.QCborValue.Type.Null
RegularExpressionPySide6.QtCore.QCborValue.Type.RegularExpression
SimpleTypePySide6.QtCore.QCborValue.Type.SimpleType
SortKeysInMapsPySide6.QtCore.QCborValue.EncodingOption.SortKeysInMaps
StringPySide6.QtCore.QCborValue.Type.String
TagPySide6.QtCore.QCborValue.Type.Tag
True_PySide6.QtCore.QCborValue.Type.True_
UndefinedPySide6.QtCore.QCborValue.Type.Undefined
UrlPySide6.QtCore.QCborValue.Type.Url
UseFloatPySide6.QtCore.QCborValue.EncodingOption.UseFloat
UseFloat16PySide6.QtCore.QCborValue.EncodingOption.UseFloat16
UseIntegersPySide6.QtCore.QCborValue.EncodingOption.UseIntegers
UuidPySide6.QtCore.QCborValue.Type.Uuid

Liste des opérateurs

Signature de l'opérateur Description
__eq__(self, value) Return self==value. [extrait de __eq__.__doc__]
__ge__(self, value) Return self>=value. [extrait de __ge__.__doc__]
__gt__(self, value) Return self>value. [extrait de __gt__.__doc__]
__le__(self, value) Return self<=value. [extrait de __le__.__doc__]
__lt__(self, value) Return self<value. [extrait de __lt__.__doc__]
__ne__(self, value) Return self!=value. [extrait de __ne__.__doc__]

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__bool__(self) self != 0 [extrait de __bool__.__doc__]
__copy__() -> None __copy__() -> None [extrait de __copy__.__doc__]
__repr__(self) Return repr(self). [extrait de __repr__.__doc__]
compare(self, other: Union[PySide6.QtCore.QCborValue, PySide6.QtCore.QCborKnownTags, PySide6.QtCore.QCborSimpleType, PySide6.QtCore.QCborValue.Type, str, bool, PySide6.QtCore.QByteArray, PySide6.QtCore.QCborArray, PySide6.QtCore.QCborMap, bytes, float, int]) -> int compare(self, other: Union[PySide6.QtCore.QCborValue, PySide6.QtCore.QCborKnownTags, PySide6.QtCore.QCborSimpleType, PySide6.QtCore.QCborValue.Type, str, bool, PySide6.QtCore.QByteArray, PySide6.QtCore.QCborArray, PySide6.QtCore.QCborMap, bytes, float, int]) -> int [extrait de compare.__doc__]
DiagnosticNotationOption
DiagnosticNotationOptions
EncodingOption
EncodingOptions
fromCbor fromCbor(ba: Union[PySide6.QtCore.QByteArray, bytes], error: Optional[PySide6.QtCore.QCborParserError] = None) -> PySide6.QtCore.QCborValue [extrait de fromCbor.__doc__]
fromJsonValue(v: Union[PySide6.QtCore.QJsonValue, PySide6.QtCore.QJsonValue.Type, bool, PySide6.QtCore.QJsonArray, Dict[str, PySide6.QtCore.QJsonValue], str, bytes, float, int]) -> PySide6.QtCore.QCborValue fromJsonValue(v: Union[PySide6.QtCore.QJsonValue, PySide6.QtCore.QJsonValue.Type, bool, PySide6.QtCore.QJsonArray, Dict[str, PySide6.QtCore.QJsonValue], str, bytes, float, int]) -> PySide6.QtCore.QCborValue [extrait de fromJsonValue.__doc__]
fromVariant(variant: Any) -> PySide6.QtCore.QCborValue fromVariant(variant: Any) -> PySide6.QtCore.QCborValue [extrait de fromVariant.__doc__]
isArray(self) -> bool isArray(self) -> bool [extrait de isArray.__doc__]
isBool(self) -> bool isBool(self) -> bool [extrait de isBool.__doc__]
isByteArray(self) -> bool isByteArray(self) -> bool [extrait de isByteArray.__doc__]
isContainer(self) -> bool isContainer(self) -> bool [extrait de isContainer.__doc__]
isDateTime(self) -> bool isDateTime(self) -> bool [extrait de isDateTime.__doc__]
isDouble(self) -> bool isDouble(self) -> bool [extrait de isDouble.__doc__]
isFalse(self) -> bool isFalse(self) -> bool [extrait de isFalse.__doc__]
isInteger(self) -> bool isInteger(self) -> bool [extrait de isInteger.__doc__]
isInvalid(self) -> bool isInvalid(self) -> bool [extrait de isInvalid.__doc__]
isMap(self) -> bool isMap(self) -> bool [extrait de isMap.__doc__]
isNull(self) -> bool isNull(self) -> bool [extrait de isNull.__doc__]
isRegularExpression(self) -> bool isRegularExpression(self) -> bool [extrait de isRegularExpression.__doc__]
isSimpleType isSimpleType(self) -> bool [extrait de isSimpleType.__doc__]
isString(self) -> bool isString(self) -> bool [extrait de isString.__doc__]
isTag(self) -> bool isTag(self) -> bool [extrait de isTag.__doc__]
isTrue(self) -> bool isTrue(self) -> bool [extrait de isTrue.__doc__]
isUndefined(self) -> bool isUndefined(self) -> bool [extrait de isUndefined.__doc__]
isUrl(self) -> bool isUrl(self) -> bool [extrait de isUrl.__doc__]
isUuid(self) -> bool isUuid(self) -> bool [extrait de isUuid.__doc__]
swap(self, other: Union[PySide6.QtCore.QCborValue, PySide6.QtCore.QCborKnownTags, PySide6.QtCore.QCborSimpleType, PySide6.QtCore.QCborValue.Type, str, bool, PySide6.QtCore.QByteArray, PySide6.QtCore.QCborArray, PySide6.QtCore.QCborMap, bytes, float, int]) -> None swap(self, other: Union[PySide6.QtCore.QCborValue, PySide6.QtCore.QCborKnownTags, PySide6.QtCore.QCborSimpleType, PySide6.QtCore.QCborValue.Type, str, bool, PySide6.QtCore.QByteArray, PySide6.QtCore.QCborArray, PySide6.QtCore.QCborMap, bytes, float, int]) -> None [extrait de swap.__doc__]
taggedValue(self, defaultValue: Union[PySide6.QtCore.QCborValue, PySide6.QtCore.QCborKnownTags, PySide6.QtCore.QCborSimpleType, PySide6.QtCore.QCborValue.Type, str, bool, PySide6.QtCore.QByteArray, PySide6.QtCore.QCborArray, PySide6.QtCore.QCborMap, bytes, float, int] = Default(QCborValue)) -> PySide6.QtCore.QCborValue taggedValue(self, defaultValue: Union[PySide6.QtCore.QCborValue, PySide6.QtCore.QCborKnownTags, PySide6.QtCore.QCborSimpleType, PySide6.QtCore.QCborValue.Type, str, bool, PySide6.QtCore.QByteArray, PySide6.QtCore.QCborArray, PySide6.QtCore.QCborMap, bytes, float, int] = Default(QCborValue)) -> PySide6.QtCore.QCborValue [extrait de taggedValue.__doc__]
toArray toArray(self) -> PySide6.QtCore.QCborArray [extrait de toArray.__doc__]
toBool(self, defaultValue: bool = False) -> bool toBool(self, defaultValue: bool = False) -> bool [extrait de toBool.__doc__]
toByteArray(self, defaultValue: Union[PySide6.QtCore.QByteArray, bytes] = {}) -> PySide6.QtCore.QByteArray toByteArray(self, defaultValue: Union[PySide6.QtCore.QByteArray, bytes] = {}) -> PySide6.QtCore.QByteArray [extrait de toByteArray.__doc__]
toCbor toCbor(self, opt: PySide6.QtCore.QCborValue.EncodingOptions = PySide6.QtCore.QCborValue.EncodingOption.NoTransformation) -> PySide6.QtCore.QByteArray [extrait de toCbor.__doc__]
toDateTime(self, defaultValue: PySide6.QtCore.QDateTime = {}) -> PySide6.QtCore.QDateTime toDateTime(self, defaultValue: PySide6.QtCore.QDateTime = {}) -> PySide6.QtCore.QDateTime [extrait de toDateTime.__doc__]
toDiagnosticNotation(self, opts: PySide6.QtCore.QCborValue.DiagnosticNotationOptions = PySide6.QtCore.QCborValue.DiagnosticNotationOption.Compact) -> str toDiagnosticNotation(self, opts: PySide6.QtCore.QCborValue.DiagnosticNotationOptions = PySide6.QtCore.QCborValue.DiagnosticNotationOption.Compact) -> str [extrait de toDiagnosticNotation.__doc__]
toDouble(self, defaultValue: float = 0) -> float toDouble(self, defaultValue: float = 0) -> float [extrait de toDouble.__doc__]
toInteger(self, defaultValue: int = 0) -> int toInteger(self, defaultValue: int = 0) -> int [extrait de toInteger.__doc__]
toJsonValue(self) -> PySide6.QtCore.QJsonValue toJsonValue(self) -> PySide6.QtCore.QJsonValue [extrait de toJsonValue.__doc__]
toMap toMap(self) -> PySide6.QtCore.QCborMap [extrait de toMap.__doc__]
toRegularExpression(self, defaultValue: Union[PySide6.QtCore.QRegularExpression, str] = {}) -> PySide6.QtCore.QRegularExpression toRegularExpression(self, defaultValue: Union[PySide6.QtCore.QRegularExpression, str] = {}) -> PySide6.QtCore.QRegularExpression [extrait de toRegularExpression.__doc__]
toSimpleType(self, defaultValue: PySide6.QtCore.QCborSimpleType = PySide6.QtCore.QCborSimpleType.Undefined) -> PySide6.QtCore.QCborSimpleType toSimpleType(self, defaultValue: PySide6.QtCore.QCborSimpleType = PySide6.QtCore.QCborSimpleType.Undefined) -> PySide6.QtCore.QCborSimpleType [extrait de toSimpleType.__doc__]
toString(self, defaultValue: str = {}) -> str toString(self, defaultValue: str = {}) -> str [extrait de toString.__doc__]
toUrl(self, defaultValue: Union[PySide6.QtCore.QUrl, str] = {}) -> PySide6.QtCore.QUrl toUrl(self, defaultValue: Union[PySide6.QtCore.QUrl, str] = {}) -> PySide6.QtCore.QUrl [extrait de toUrl.__doc__]
toUuid(self, defaultValue: PySide6.QtCore.QUuid = {}) -> PySide6.QtCore.QUuid toUuid(self, defaultValue: PySide6.QtCore.QUuid = {}) -> PySide6.QtCore.QUuid [extrait de toUuid.__doc__]
toVariant(self) -> Any toVariant(self) -> Any [extrait de toVariant.__doc__]
Type
type(self) -> PySide6.QtCore.QCborValue.Type type(self) -> PySide6.QtCore.QCborValue.Type [extrait de type.__doc__]

Méthodes héritées de la classe Object

__delattr__, __getattribute__, __init_subclass__, __setattr__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __hash__, __reduce__, __reduce_ex__, __sizeof__, __str__