KeyView 23.3

# apply_visitor

A method that allows you to access the metadata item value in its original type through a visitor pattern.

To access the value, create a visitor class derived from MetadataVisitorBase, with methods that can handle the possible item value types. Then pass an instance of that class to this function, which establishes the correct type and calls the applicable member function on your visitor.

## Syntax

    template< typename ReturnT >
    ReturnT apply_visitor(MetadataVisitorBase< ReturnT >& visitor) const

Copyright 2016-2023 Open Text
Version 23.3 | Last updated June 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL KeyView 23.3

Topic Title: apply_visitor