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

Public Member Functions

 CompressZipSettings (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 CompressZipSettings ()
 CompressZipSettings (meshlib.std_vector_std_filesystem_path excludeFiles, int compressionLevel, java.lang.String password, meshlib.std_function_bool_from_float cb)
 CompressZipSettings (meshlib.CompressZipSettings _other)
meshlib.CompressZipSettings assignFromAnother (meshlib.CompressZipSettings _other)
meshlib.std_vector_std_filesystem_path excludeFiles ()
void setExcludeFiles (meshlib.std_vector_std_filesystem_path value)
int compressionLevel ()
void setCompressionLevel (int value)
meshlib.std_string password ()
void setPassword (java.lang.String value)
meshlib.std_function_bool_from_float cb ()
void setCb (meshlib.std_function_bool_from_float 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

Generated from class MR::CompressZipSettings.

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

Constructor & Destructor Documentation

◆ CompressZipSettings() [1/4]

meshlib.CompressZipSettings.CompressZipSettings ( 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.

◆ CompressZipSettings() [2/4]

meshlib.CompressZipSettings.CompressZipSettings ( )

Constructs an empty (default-constructed) instance.

Calls MR_CompressZipSettings_DefaultConstruct().

◆ CompressZipSettings() [3/4]

meshlib.CompressZipSettings.CompressZipSettings ( meshlib.std_vector_std_filesystem_path excludeFiles,
int compressionLevel,
java.lang.String password,
meshlib.std_function_bool_from_float cb )

Constructs MR::CompressZipSettings elementwise. The reference to the parameter excludeFiles might be preserved in the constructed object. The reference to the parameter password might be preserved in the constructed object. The reference to the parameter cb might be preserved in the constructed object.

Calls MR_CompressZipSettings_ConstructFrom().

◆ CompressZipSettings() [4/4]

meshlib.CompressZipSettings.CompressZipSettings ( meshlib.CompressZipSettings _other)

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

Calls MR_CompressZipSettings_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.CompressZipSettings meshlib.CompressZipSettings.assignFromAnother ( meshlib.CompressZipSettings _other)

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

Calls MR_CompressZipSettings_AssignFromAnother().

◆ cb()

meshlib.std_function_bool_from_float meshlib.CompressZipSettings.cb ( )

an option to get progress notifications and cancel the operation Returns a pointer to a member variable of class MR::CompressZipSettings named cb. The reference to this object might be preserved as the return value.

Calls MR_CompressZipSettings_Get_cb().

◆ compressionLevel()

int meshlib.CompressZipSettings.compressionLevel ( )

[0-9]: greater level means longer processing but better compression 0 is special value to use default level Returns a pointer to a member variable of class MR::CompressZipSettings named compressionLevel. The reference to this object might be preserved as the return value.

Calls MR_CompressZipSettings_Get_compressionLevel().

◆ excludeFiles()

meshlib.std_vector_std_filesystem_path meshlib.CompressZipSettings.excludeFiles ( )

files that should not be included to result zip Returns a pointer to a member variable of class MR::CompressZipSettings named excludeFiles. The reference to this object might be preserved as the return value.

Calls MR_CompressZipSettings_Get_excludeFiles().

◆ password()

meshlib.std_string meshlib.CompressZipSettings.password ( )

if password is given then the archive will be encrypted Returns a pointer to a member variable of class MR::CompressZipSettings named password. The reference to this object might be preserved as the return value.

Calls MR_CompressZipSettings_Get_password().

◆ setCb()

void meshlib.CompressZipSettings.setCb ( meshlib.std_function_bool_from_float value)

an option to get progress notifications and cancel the operation Modifies a member variable of class MR::CompressZipSettings named cb. The reference to the parameter value might be preserved in this object in element cb.

Calls MR_CompressZipSettings_Set_cb().

◆ setCompressionLevel()

void meshlib.CompressZipSettings.setCompressionLevel ( int value)

[0-9]: greater level means longer processing but better compression 0 is special value to use default level Modifies a member variable of class MR::CompressZipSettings named compressionLevel.

Calls MR_CompressZipSettings_Set_compressionLevel().

◆ setExcludeFiles()

void meshlib.CompressZipSettings.setExcludeFiles ( meshlib.std_vector_std_filesystem_path value)

files that should not be included to result zip Modifies a member variable of class MR::CompressZipSettings named excludeFiles. The reference to the parameter value might be preserved in this object in element excludeFiles.

Calls MR_CompressZipSettings_Set_excludeFiles().

◆ setPassword()

void meshlib.CompressZipSettings.setPassword ( java.lang.String value)

if password is given then the archive will be encrypted Modifies a member variable of class MR::CompressZipSettings named password. The reference to the parameter value might be preserved in this object in element password.

Calls MR_CompressZipSettings_Set_password().


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