com.inscoper.api.Metadata¶
Metadata class represents a container for image metadata. More...
Public Functions¶
| Name | |
|---|---|
| synchronized void | delete() |
| void | swigReleaseOwnership() |
| void | swigTakeOwnership() |
| Metadata() Default constructor. |
|
| Metadata(Metadata md) Copy constructor. |
|
| void | copy(Metadata md) Copy metadata content. |
| long | index() Get the type index of the metadata. |
| SWIGTYPE_p_std__type_info | type() Get the type of the metadata. |
| String | serialize() Serialize the metadata. |
| String | toString() Convert to string. |
| void | fromString(String value, long index) Build from string. |
| java.lang.Object | swigOriginalObject() |
| Metadata(boolean value) | |
| Metadata(char value) | |
| Metadata(short value) | |
| Metadata(int value) | |
| Metadata(long value) | |
| Metadata(float value) | |
| Metadata(double value) | |
| Metadata(String value) | |
| java.lang.Object | get() |
| boolean | isList() |
| void | fromList(MetadataList args) |
| MetadataList | asList() |
| boolean | isMap() |
| void | fromMap(MetadataMap args) |
| MetadataMap | asMap() |
| boolean | isInstance() |
| void | fromInstance(Metadata md) |
| java.lang.Object | asInstance() |
Protected Functions¶
| Name | |
|---|---|
| Metadata(long cPtr, boolean cMemoryOwn) | |
| void | swigSetCMemOwn(boolean own) |
| void | finalize() |
| void | swigDirectorDisconnect() |
| long | getCPtr(Metadata obj) |
Detailed Description¶
Metadata class represents a container for image metadata.
This class allows to store metadata of various types (integers, floats, strings, containers) and provides methods for access, conversion, and serialization.
Public Functions Documentation¶
function delete¶
function swigReleaseOwnership¶
function swigTakeOwnership¶
function Metadata¶
Default constructor.
Initializes a new instance of the Metadata class.
function Metadata¶
Copy constructor.
Parameters:
- md : The metadata to copy from
Creates a new Metadata instance as a deep copy of an existing one.
function copy¶
Copy metadata content.
Parameters:
- md : The metadata to copy
Copies the data from a metadata.
function index¶
Get the type index of the metadata.
Return: The type index
Retrieves the index of the metadata type.
function type¶
Get the type of the metadata.
Return: The type
Retrieves the type of the metadata.
function serialize¶
Serialize the metadata.
Return: The serialized form of the metadata
Provides a serialization interface for Metadata. Must be overridden.
function toString¶
Convert to string.
Return: The string representation
Returns a human-readable string representation of the metadata element.
function fromString¶
Build from string.
Parameters:
- value : The string to parse
- index : The expected type index
Parses a string and sets the metadata, interpreting it as the specified type index.
function swigOriginalObject¶
function Metadata¶
function Metadata¶
function Metadata¶
function Metadata¶
function Metadata¶
function Metadata¶
function Metadata¶
function Metadata¶
function get¶
function isList¶
function fromList¶
function asList¶
function isMap¶
function fromMap¶
function asMap¶
function isInstance¶
function fromInstance¶
function asInstance¶
Protected Functions Documentation¶
function Metadata¶
function swigSetCMemOwn¶
function finalize¶
function swigDirectorDisconnect¶
function getCPtr¶
Updated on 2026-04-02 at 10:55:38 +0200