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

Public Member Functions

 std_unordered_set_std_string (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 std_unordered_set_std_string ()
 std_unordered_set_std_string (meshlib.std_unordered_set_std_string other)
void assignFromAnother (meshlib.std_unordered_set_std_string other)
long size ()
boolean empty ()
void clear ()
boolean contains (java.lang.String key)
meshlib.std_unordered_set_std_string_const_iterator find (java.lang.String key)
void insert (java.lang.String new_elem)
meshlib.std_unordered_set_std_string_const_iterator begin ()
meshlib.std_unordered_set_std_string_const_iterator end ()
boolean is_end (meshlib.std_unordered_set_std_string_const_iterator iter)
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 C++ container std::unordered_set<std::string>.

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

Constructor & Destructor Documentation

◆ std_unordered_set_std_string() [1/3]

meshlib.std_unordered_set_std_string.std_unordered_set_std_string ( 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_unordered_set_std_string() [2/3]

meshlib.std_unordered_set_std_string.std_unordered_set_std_string ( )

Constructs an empty (default-constructed) instance.

Calls MR_std_unordered_set_std_string_DefaultConstruct().

◆ std_unordered_set_std_string() [3/3]

meshlib.std_unordered_set_std_string.std_unordered_set_std_string ( meshlib.std_unordered_set_std_string 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_unordered_set_std_string_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

void meshlib.std_unordered_set_std_string.assignFromAnother ( meshlib.std_unordered_set_std_string 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_unordered_set_std_string_AssignFromAnother().

◆ begin()

meshlib.std_unordered_set_std_string_const_iterator meshlib.std_unordered_set_std_string.begin ( )

The begin iterator, const. The reference to this object might be preserved as the return value.

Calls MR_std_unordered_set_std_string_begin().

◆ clear()

void meshlib.std_unordered_set_std_string.clear ( )

Removes all elements from the container.

Calls MR_std_unordered_set_std_string_clear().

◆ contains()

boolean meshlib.std_unordered_set_std_string.contains ( java.lang.String key)

Checks if the contain contains this key.

Calls MR_std_unordered_set_std_string_contains().

◆ empty()

boolean meshlib.std_unordered_set_std_string.empty ( )

Returns true if the size is zero.

Calls MR_std_unordered_set_std_string_empty().

◆ end()

meshlib.std_unordered_set_std_string_const_iterator meshlib.std_unordered_set_std_string.end ( )

The end iterator, const. The reference to this object might be preserved as the return value.

Calls MR_std_unordered_set_std_string_end().

◆ find()

meshlib.std_unordered_set_std_string_const_iterator meshlib.std_unordered_set_std_string.find ( java.lang.String key)

Finds the element by key, or returns the end iterator if no such key. Returns a read-only iterator. The reference to this object might be preserved as the return value.

Calls MR_std_unordered_set_std_string_find().

◆ insert()

void meshlib.std_unordered_set_std_string.insert ( java.lang.String new_elem)

Inserts a new element. The reference to the parameter new_elem might be preserved in this object.

Calls MR_std_unordered_set_std_string_insert().

◆ is_end()

boolean meshlib.std_unordered_set_std_string.is_end ( meshlib.std_unordered_set_std_string_const_iterator iter)

Tests whether a const iterator is the end iterator.

Calls MR_std_unordered_set_std_string_is_end().

◆ size()

long meshlib.std_unordered_set_std_string.size ( )

The number of elements.

Calls MR_std_unordered_set_std_string_size().


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