jaulib v1.1.2-115-g39e35fd
Jau Support Library (C++, Java, ..)
Classes | Public Member Functions | Public Attributes | List of all members
org.jau.io.IOState Class Reference

Mimic std::ios_base::iostate for state functionality, see iostate_func. More...

Collaboration diagram for org.jau.io.IOState:

Classes

enum  Bit
 

Public Member Functions

 IOState (final int v)
 
 IOState ()
 
boolean isSet (final Bit bit)
 
IOState set (final Bit bit)
 Sets the given bit and returns this instance for chaining. More...
 
IOState mask (final int bits)
 
String toString ()
 
boolean equals (final Object other)
 

Public Attributes

int mask
 

Detailed Description

Mimic std::ios_base::iostate for state functionality, see iostate_func.

This enum class type fulfills C++ named requirements: BitmaskType.

See also
ByteInStream

Definition at line 33 of file IOState.java.

Constructor & Destructor Documentation

◆ IOState() [1/2]

org.jau.io.IOState.IOState ( final int  v)

Definition at line 58 of file IOState.java.

◆ IOState() [2/2]

org.jau.io.IOState.IOState ( )

Definition at line 61 of file IOState.java.

Here is the caller graph for this function:

Member Function Documentation

◆ equals()

boolean org.jau.io.IOState.equals ( final Object  other)

Definition at line 88 of file IOState.java.

Here is the call graph for this function:

◆ isSet()

boolean org.jau.io.IOState.isSet ( final Bit  bit)

Definition at line 65 of file IOState.java.

◆ mask()

IOState org.jau.io.IOState.mask ( final int  bits)

Definition at line 74 of file IOState.java.

Here is the call graph for this function:

◆ set()

IOState org.jau.io.IOState.set ( final Bit  bit)

Sets the given bit and returns this instance for chaining.

Parameters
bitthe given Bit value to set
Returns
this instance for chaining.

Definition at line 72 of file IOState.java.

◆ toString()

String org.jau.io.IOState.toString ( )

Definition at line 83 of file IOState.java.

Member Data Documentation

◆ mask

int org.jau.io.IOState.mask

Definition at line 56 of file IOState.java.


The documentation for this class was generated from the following file: