|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QDataStream.Status>
com.trolltech.qt.core.QDataStream.Status
public static enum QDataStream.Status
This enum describes the current status of the data stream.
Enum Constant Summary | |
---|---|
Ok
The data stream is operating normally. |
|
ReadCorruptData
The data stream has read corrupt data. |
|
ReadPastEnd
The data stream has read past the end of the data in the underlying device. |
Method Summary | |
---|---|
static QDataStream.Status |
resolve(int value)
|
int |
value()
|
static QDataStream.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QDataStream.Status[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QDataStream.Status Ok
The data stream is operating normally.
public static final QDataStream.Status ReadPastEnd
The data stream has read past the end of the data in the underlying device.
public static final QDataStream.Status ReadCorruptData
The data stream has read corrupt data.
Method Detail |
---|
public static final QDataStream.Status[] values()
for(QDataStream.Status c : QDataStream.Status.values()) System.out.println(c);
public static QDataStream.Status valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic int value()
value
in interface QtEnumerator
public static QDataStream.Status resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |