@Namespace(value="dai") @NoOffset @Properties(inherit=depthai.class) public class Path extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
Path()
character used by native-encoding of filesystem
|
Path(ByteBuffer source) |
Path(BytePointer source)
\brief Construct Path object from source.
|
Path(CharPointer source)
\brief Construct Path object from source.
|
Path(IntPointer source) |
Path(long size)
Native array allocator.
|
Path(Path arg0) |
Path(Pointer p)
Pointer cast constructor.
|
Path(String source) |
| Modifier and Type | Method and Description |
|---|---|
BytePointer |
_native()
\brief Returns native-encoding string by const reference, suitable for use with OS APIs
|
BytePointer |
asBytePointer()
\brief Implicitly convert to native-encoding string, suitable for use with OS APIs
|
boolean |
empty()
\brief Observes if path is empty (contains no string/folders/filename)
|
Path |
getPointer(long i) |
Path |
position(long position) |
Path |
put(Path arg0) |
BytePointer |
string()
\brief Get path in narrow multibyte representation in the current C locale.
|
BytePointer |
u8string()
\brief Get path in utf-8.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic Path(Pointer p)
Pointer(Pointer).public Path(long size)
Pointer.position(long).public Path()
public Path(@StdString BytePointer source)
source - native-encoding character sequence; no conversionpublic Path(@StdString ByteBuffer source)
public Path(@StdString String source)
public Path(@Cast(value="const dai::Path::value_type*") CharPointer source)
source - pointer to null-terminated native-encoding character sequence; no conversionpublic Path(@Cast(value="const dai::Path::value_type*") IntPointer source)
public Path getPointer(long i)
getPointer in class Pointer@StdString public BytePointer string()
@StdString public BytePointer u8string()
@Name(value="operator std::basic_string<dai::Path::value_type>") @StdString @NoException public BytePointer asBytePointer()
@StdString @Name(value="native") @NoException public BytePointer _native()
@Cast(value="bool") @NoException public boolean empty()
Copyright © 2023. All rights reserved.