int64_value

Provides direct access to a 64-bit integer value.

This method does not perform any conversion and will throw if the value's data type does not match the type requested.

OpenText recommends using apply_visitor to process all metadata from a document, but this function might be helpful when you want to process a single metadata element and know its data type.

Syntax

int64_t int64_value() const;