- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Comparable<QCborValue>
Encapsulates a value in CBOR
Java wrapper for Qt class QCborValue
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QCborValue::DiagnosticNotationOptionstatic final class
QFlags type for enumQCborValue.DiagnosticNotationOption
static enum
Java wrapper for Qt enum QCborValue::EncodingOptionstatic final class
QFlags type for enumQCborValue.EncodingOption
static final class
Result class forfromCbor(io.qt.core.QByteArray)
static enum
Java wrapper for Qt enum QCborValue::TypeNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ModifierConstructorDescriptionQCborValue
(boolean b_) QCborValue
(double v) QCborValue
(int i) QCborValue
(long i) QCborValue
(QByteArray ba) Overloaded constructor forQCborValue(io.qt.core.QCborKnownTags, io.qt.core.QCborValue)
withtv = new io.qt.core.QCborValue()
.QCborValue
(QCborKnownTags t_, QCborValue tv) QCborValue
(QCborTag tag) Overloaded constructor forQCborValue(io.qt.core.QCborTag, io.qt.core.QCborValue)
withtaggedValue = new io.qt.core.QCborValue()
.QCborValue
(QCborTag tag, QCborValue taggedValue) QCborValue
(QCborValue other) QCborValue
(QDateTime dt) QCborValue
(QUrl url) QCborValue
(QUuid uuid) protected
Constructor for internal use only.QCborValue
(String s) -
Method Summary
Modifier and TypeMethodDescriptionclone()
final int
compare
(QCborValue other) int
compareTo
(QCborValue other) boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.static QCborValue.FromCborResult
fromCbor
(QByteArray ba) static QCborValue
fromCbor
(QCborStreamReader reader) static QCborValue
static QCborValue
fromVariant
(Object variant) int
hashCode()
final boolean
isArray()
final boolean
isBool()
final boolean
final boolean
final boolean
final boolean
isDouble()
final boolean
isFalse()
final boolean
final boolean
final boolean
isMap()
final boolean
isNull()
final boolean
final boolean
final boolean
final boolean
isString()
final boolean
isTag()
final boolean
isTrue()
final boolean
final boolean
isUrl()
final boolean
isUuid()
void
readFrom
(QDataStream arg__1) final void
set
(QCborValue other) final void
setValue
(long key, QCborValue value) final void
setValue
(String key, QCborValue value) final void
swap
(QCborValue other) final QCborTag
tag()
Overloaded function fortag(io.qt.core.QCborTag)
withdefaultValue = QCborTag.resolve(-1)
.final QCborTag
final QCborValue
Overloaded function fortaggedValue(io.qt.core.QCborValue)
withdefaultValue = new io.qt.core.QCborValue()
.final QCborValue
taggedValue
(QCborValue defaultValue) final QCborArray
toArray()
final QCborArray
toArray
(QCborArray defaultValue) final boolean
toBool()
Overloaded function fortoBool(boolean)
withdefaultValue = false
.final boolean
toBool
(boolean defaultValue) final QByteArray
Overloaded function fortoByteArray(io.qt.core.QByteArray)
withdefaultValue = new io.qt.core.QByteArray()
.final QByteArray
toByteArray
(QByteArray defaultValue) final QByteArray
toCbor()
Overloaded function fortoCbor(io.qt.core.QCborValue.EncodingOptions)
withopt = new io.qt.core.QCborValue.EncodingOptions(0)
.final void
toCbor
(QCborStreamWriter writer) Overloaded function fortoCbor(io.qt.core.QCborStreamWriter, io.qt.core.QCborValue.EncodingOptions)
withopt = new io.qt.core.QCborValue.EncodingOptions(0)
.final void
toCbor
(QCborStreamWriter writer, QCborValue.EncodingOption... opt) Overloaded function fortoCbor(io.qt.core.QCborStreamWriter, io.qt.core.QCborValue.EncodingOptions)
.final void
toCbor
(QCborStreamWriter writer, QCborValue.EncodingOptions opt) final QByteArray
toCbor
(QCborValue.EncodingOption... opt) Overloaded function fortoCbor(io.qt.core.QCborValue.EncodingOptions)
.final QByteArray
final QDateTime
Overloaded function fortoDateTime(io.qt.core.QDateTime)
withdefaultValue = new io.qt.core.QDateTime()
.final QDateTime
toDateTime
(QDateTime defaultValue) final String
Overloaded function fortoDiagnosticNotation(io.qt.core.QCborValue.DiagnosticNotationOptions)
withopts = new io.qt.core.QCborValue.DiagnosticNotationOptions(0)
.final String
Overloaded function fortoDiagnosticNotation(io.qt.core.QCborValue.DiagnosticNotationOptions)
.final String
final double
toDouble()
Overloaded function fortoDouble(double)
withdefaultValue = 0
.final double
toDouble
(double defaultValue) final long
Overloaded function fortoInteger(long)
withdefaultValue = 0
.final long
toInteger
(long defaultValue) final QJsonValue
final QCborMap
toMap()
final QCborMap
final QRegularExpression
Overloaded function fortoRegularExpression(io.qt.core.QRegularExpression)
withdefaultValue = new io.qt.core.QRegularExpression()
.final QRegularExpression
toRegularExpression
(QRegularExpression defaultValue) final QCborSimpleType
Overloaded function fortoSimpleType(io.qt.core.QCborSimpleType)
withdefaultValue = io.qt.core.QCborSimpleType.Undefined
.final QCborSimpleType
toSimpleType
(QCborSimpleType defaultValue) final String
toString()
Overloaded function fortoString(java.lang.String)
withdefaultValue = ""
.final String
final QUrl
toUrl()
Overloaded function fortoUrl(io.qt.core.QUrl)
withdefaultValue = new io.qt.core.QUrl()
.final QUrl
final QUuid
toUuid()
Overloaded function fortoUuid(io.qt.core.QUuid)
withdefaultValue = new io.qt.core.QUuid()
.final QUuid
final Object
final QCborValue.Type
type()
final QCborValue
value
(long key) final QCborValue
void
writeTo
(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QCborValue
public QCborValue() -
QCborValue
Overloaded constructor for
QCborValue(io.qt.core.QCborKnownTags, io.qt.core.QCborValue)
withtv = new io.qt.core.QCborValue()
. -
QCborValue
-
QCborValue
-
QCborValue
Overloaded constructor for
QCborValue(io.qt.core.QCborTag, io.qt.core.QCborValue)
withtaggedValue = new io.qt.core.QCborValue()
. -
QCborValue
-
QCborValue
-
QCborValue
public QCborValue(boolean b_) -
QCborValue
-
QCborValue
-
QCborValue
-
QCborValue
-
QCborValue
-
QCborValue
-
QCborValue
-
QCborValue
-
QCborValue
-
QCborValue
public QCborValue(double v) -
QCborValue
public QCborValue(int i) -
QCborValue
public QCborValue(long i) -
QCborValue
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
compare
-
isArray
-
isBool
-
isByteArray
-
isContainer
-
isDateTime
-
isDouble
-
isFalse
-
isInteger
-
isInvalid
-
isMap
-
isNull
-
isRegularExpression
-
isSimpleType
-
isSimpleType
-
isString
-
isTag
-
isTrue
-
isUndefined
-
isUrl
-
isUuid
-
writeTo
-
set
-
readFrom
-
value
-
value
-
swap
-
tag
Overloaded function for
tag(io.qt.core.QCborTag)
withdefaultValue = QCborTag.resolve(-1)
. -
tag
-
taggedValue
Overloaded function for
taggedValue(io.qt.core.QCborValue)
withdefaultValue = new io.qt.core.QCborValue()
. -
taggedValue
-
toArray
-
toArray
-
toBool
Overloaded function for
toBool(boolean)
withdefaultValue = false
. -
toBool
-
toByteArray
Overloaded function for
toByteArray(io.qt.core.QByteArray)
withdefaultValue = new io.qt.core.QByteArray()
. -
toByteArray
-
toCbor
Overloaded function for
toCbor(io.qt.core.QCborStreamWriter, io.qt.core.QCborValue.EncodingOptions)
. -
toCbor
Overloaded function for
toCbor(io.qt.core.QCborStreamWriter, io.qt.core.QCborValue.EncodingOptions)
withopt = new io.qt.core.QCborValue.EncodingOptions(0)
. -
toCbor
-
toCbor
Overloaded function for
toCbor(io.qt.core.QCborValue.EncodingOptions)
. -
toCbor
Overloaded function for
toCbor(io.qt.core.QCborValue.EncodingOptions)
withopt = new io.qt.core.QCborValue.EncodingOptions(0)
. -
toCbor
-
toDateTime
Overloaded function for
toDateTime(io.qt.core.QDateTime)
withdefaultValue = new io.qt.core.QDateTime()
. -
toDateTime
-
toDiagnosticNotation
@QtUninvokable public final String toDiagnosticNotation(QCborValue.DiagnosticNotationOption... opts) Overloaded function for
toDiagnosticNotation(io.qt.core.QCborValue.DiagnosticNotationOptions)
. -
toDiagnosticNotation
Overloaded function for
toDiagnosticNotation(io.qt.core.QCborValue.DiagnosticNotationOptions)
withopts = new io.qt.core.QCborValue.DiagnosticNotationOptions(0)
. -
toDiagnosticNotation
-
toDouble
Overloaded function for
toDouble(double)
withdefaultValue = 0
. -
toDouble
-
toInteger
Overloaded function for
toInteger(long)
withdefaultValue = 0
. -
toInteger
-
toJsonValue
-
toMap
-
toMap
-
toRegularExpression
Overloaded function for
toRegularExpression(io.qt.core.QRegularExpression)
withdefaultValue = new io.qt.core.QRegularExpression()
. -
toRegularExpression
-
toSimpleType
Overloaded function for
toSimpleType(io.qt.core.QCborSimpleType)
withdefaultValue = io.qt.core.QCborSimpleType.Undefined
. -
toSimpleType
-
toString
Overloaded function for
toString(java.lang.String)
withdefaultValue = ""
. -
toString
-
toUrl
Overloaded function for
toUrl(io.qt.core.QUrl)
withdefaultValue = new io.qt.core.QUrl()
. -
toUrl
-
toUuid
Overloaded function for
toUuid(io.qt.core.QUuid)
withdefaultValue = new io.qt.core.QUuid()
. -
toUuid
-
toVariant
-
type
-
fromCbor
-
fromCbor
-
fromJsonValue
-
fromVariant
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
compareTo
- Specified by:
compareTo
in interfaceComparable<QCborValue>
-
hashCode
-
setValue
-
setValue
-
clone
-