Class ZvecNative.zvec_string_t

java.lang.Object
org.bytedeco.javacpp.Pointer
org.zvec.binding.ZvecNative.zvec_string_t
All Implemented Interfaces:
AutoCloseable
Enclosing class:
ZvecNative

public static class ZvecNative.zvec_string_t extends org.bytedeco.javacpp.Pointer
Mutable string structure (owns memory)
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer

    org.bytedeco.javacpp.Pointer.CustomDeallocator, org.bytedeco.javacpp.Pointer.Deallocator, org.bytedeco.javacpp.Pointer.NativeDeallocator, org.bytedeco.javacpp.Pointer.ReferenceCounter
  • Field Summary

    Fields inherited from class org.bytedeco.javacpp.Pointer

    address, capacity, limit, position
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default native constructor.
    zvec_string_t(long size)
    Native array allocator.
    zvec_string_t(org.bytedeco.javacpp.Pointer p)
    Pointer cast constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Allocated capacity
    _capacity(long setter)
     
    org.bytedeco.javacpp.BytePointer
    String data pointer
    data(org.bytedeco.javacpp.BytePointer setter)
     
    getPointer(long i)
     
    long
    String length
    length(long setter)
     
    position(long position)
     

    Methods inherited from class org.bytedeco.javacpp.Pointer

    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, zero

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • zvec_string_t

      public zvec_string_t()
      Default native constructor.
    • zvec_string_t

      public zvec_string_t(long size)
      Native array allocator. Access with Pointer.position(long).
    • zvec_string_t

      public zvec_string_t(org.bytedeco.javacpp.Pointer p)
      Pointer cast constructor. Invokes Pointer(Pointer).
  • Method Details

    • position

      public ZvecNative.zvec_string_t position(long position)
      Overrides:
      position in class org.bytedeco.javacpp.Pointer
    • getPointer

      public ZvecNative.zvec_string_t getPointer(long i)
      Overrides:
      getPointer in class org.bytedeco.javacpp.Pointer
    • data

      @Cast("char*") public org.bytedeco.javacpp.BytePointer data()
      String data pointer
    • data

      public ZvecNative.zvec_string_t data(org.bytedeco.javacpp.BytePointer setter)
    • length

      @Cast("size_t") public long length()
      String length
    • length

      public ZvecNative.zvec_string_t length(long setter)
    • _capacity

      @Cast("size_t") @Name("capacity") public long _capacity()
      Allocated capacity
    • _capacity

      public ZvecNative.zvec_string_t _capacity(long setter)