Annotation Type UniquePtr


  • @Documented
    @Retention(RUNTIME)
    @Target({METHOD,PARAMETER})
    @Adapter("UniquePtrAdapter")
    public @interface UniquePtr
    A shorthand for @Adapter("UniquePtrAdapter<type>"). We can also define the UNIQUE_PTR_NAMESPACE macro to something like boost::movelib instead of the default std.
    See Also:
    Adapter, Generator
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String value
      The template type of UniquePtrAdapter.
    • Element Detail

      • value

        java.lang.String value
        The template type of UniquePtrAdapter. If not specified, it is inferred from the value type of the Pointer or Java array.
        Default:
        ""