@Name(value="boost::optional<std::string>")
public static class OptionalUtils.OptionalString
extends org.bytedeco.javacpp.Pointer
Constructor and Description |
---|
OptionalString() |
Modifier and Type | Method and Description |
---|---|
String |
getString()
Get string from the optional.
|
boolean |
isPresent()
To check if the data is present.
|
address, asBuffer, asByteBuffer, capacity, capacity, deallocate, deallocate, deallocateReferences, equals, fill, hashCode, isNull, limit, limit, memchr, memcmp, memcpy, memmove, memset, offsetof, position, position, put, setNull, sizeof, toString, zero
@Name(value="get") @StdString public String getString()
isPresent()
.@Name(value="is_initialized") @Cast(value="bool") public boolean isPresent()
Copyright © 2016. All rights reserved.