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

Public Member Functions

 std_filesystem_path (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 std_filesystem_path ()
 std_filesystem_path (meshlib.std_filesystem_path other)
 std_filesystem_path (java.lang.String other)
void assignFromAnother (meshlib.std_filesystem_path other)
void assignFrom (java.lang.String other)
meshlib.std_string string ()
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

Stores a filesystem path.

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

Constructor & Destructor Documentation

◆ std_filesystem_path() [1/4]

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

◆ std_filesystem_path() [2/4]

meshlib.std_filesystem_path.std_filesystem_path ( )

Constructs an empty (default-constructed) instance.

Calls MR_std_filesystem_path_DefaultConstruct().

◆ std_filesystem_path() [3/4]

meshlib.std_filesystem_path.std_filesystem_path ( meshlib.std_filesystem_path other)

Constructs a copy of another instance. The source remains alive. The reference to the parameter other might be preserved in the constructed object.

Calls MR_std_filesystem_path_ConstructFromAnother().

◆ std_filesystem_path() [4/4]

meshlib.std_filesystem_path.std_filesystem_path ( java.lang.String other)

Constructs a new instance.

Calls MR_std_filesystem_path_ConstructFrom().

Member Function Documentation

◆ assignFrom()

void meshlib.std_filesystem_path.assignFrom ( java.lang.String other)

Assigns the contents.

Calls MR_std_filesystem_path_AssignFrom().

◆ assignFromAnother()

void meshlib.std_filesystem_path.assignFromAnother ( meshlib.std_filesystem_path other)

Assigns the contents from another instance. Both objects remain alive after the call. The reference to the parameter other might be preserved in this object.

Calls MR_std_filesystem_path_AssignFromAnother().

◆ string()

meshlib.std_string meshlib.std_filesystem_path.string ( )

Get the contents as a UTF8-encoded string.

Calls MR_std_filesystem_path_string().


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