Index.getWriterId

Before entries can be added to the index, a writer should obtain a unique id. The methods to add new entries to the index require this id as an argument. The application can implement a custom function to map the writer object to a string. That string will be used to register or look up an id in the index.

class Index
int
getWriterId
(,
ref int id
)

Parameters

writer ObjectGst

the GstObject to allocate an id for

id int

a pointer to a gint to hold the id

Return Value

Type: int

TRUE if the writer would be mapped to an id.

Meta