MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.ZlibCompressStats Class Reference
Inheritance diagram for meshlib.ZlibCompressStats:

Public Member Functions

 ZlibCompressStats (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ZlibCompressStats ()
 ZlibCompressStats (int crc32, long uncompressedSize, long compressedSize)
 ZlibCompressStats (meshlib.ZlibCompressStats _other)
meshlib.ZlibCompressStats assignFromAnother (meshlib.ZlibCompressStats _other)
int crc32 ()
void setCrc32 (int value)
long uncompressedSize ()
void setUncompressedSize (long value)
long compressedSize ()
void setCompressedSize (long value)
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

statistics gathered during compression: CRC-32 of the uncompressed input and the total numbers of bytes read from / written to the streams Generated from class MR::ZlibCompressStats.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ ZlibCompressStats() [1/4]

meshlib.ZlibCompressStats.ZlibCompressStats ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ ZlibCompressStats() [2/4]

meshlib.ZlibCompressStats.ZlibCompressStats ( )

Constructs an empty (default-constructed) instance.

Calls MR_ZlibCompressStats_DefaultConstruct().

◆ ZlibCompressStats() [3/4]

meshlib.ZlibCompressStats.ZlibCompressStats ( int crc32,
long uncompressedSize,
long compressedSize )

Constructs MR::ZlibCompressStats elementwise. The reference to the parameter crc32 might be preserved in the constructed object. The reference to the parameter uncompressedSize might be preserved in the constructed object. The reference to the parameter compressedSize might be preserved in the constructed object.

Calls MR_ZlibCompressStats_ConstructFrom().

◆ ZlibCompressStats() [4/4]

meshlib.ZlibCompressStats.ZlibCompressStats ( meshlib.ZlibCompressStats _other)

Generated from constructor MR::ZlibCompressStats::ZlibCompressStats. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_ZlibCompressStats_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.ZlibCompressStats meshlib.ZlibCompressStats.assignFromAnother ( meshlib.ZlibCompressStats _other)

Generated from method MR::ZlibCompressStats::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_ZlibCompressStats_AssignFromAnother().

◆ compressedSize()

long meshlib.ZlibCompressStats.compressedSize ( )

< total bytes written to the output stream Returns a pointer to a member variable of class MR::ZlibCompressStats named compressedSize. The reference to this object might be preserved as the return value.

Calls MR_ZlibCompressStats_Get_compressedSize().

◆ crc32()

int meshlib.ZlibCompressStats.crc32 ( )

< CRC-32 of the uncompressed input Returns a pointer to a member variable of class MR::ZlibCompressStats named crc32. The reference to this object might be preserved as the return value.

Calls MR_ZlibCompressStats_Get_crc32().

◆ setCompressedSize()

void meshlib.ZlibCompressStats.setCompressedSize ( long value)

< total bytes written to the output stream Modifies a member variable of class MR::ZlibCompressStats named compressedSize. The reference to the parameter value might be preserved in this object in element compressedSize.

Calls MR_ZlibCompressStats_Set_compressedSize().

◆ setCrc32()

void meshlib.ZlibCompressStats.setCrc32 ( int value)

< CRC-32 of the uncompressed input Modifies a member variable of class MR::ZlibCompressStats named crc32. The reference to the parameter value might be preserved in this object in element crc32.

Calls MR_ZlibCompressStats_Set_crc32().

◆ setUncompressedSize()

void meshlib.ZlibCompressStats.setUncompressedSize ( long value)

< total bytes read from the input stream Modifies a member variable of class MR::ZlibCompressStats named uncompressedSize. The reference to the parameter value might be preserved in this object in element uncompressedSize.

Calls MR_ZlibCompressStats_Set_uncompressedSize().

◆ uncompressedSize()

long meshlib.ZlibCompressStats.uncompressedSize ( )

< total bytes read from the input stream Returns a pointer to a member variable of class MR::ZlibCompressStats named uncompressedSize. The reference to this object might be preserved as the return value.

Calls MR_ZlibCompressStats_Get_uncompressedSize().


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