Annotation Interface SharedPtr


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

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The template type of SharedPtrAdapter.
  • Element Details

    • value

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