KeyView 24.4
KeyView Filter SDK C++ Programming Guide

# 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 1997-2024 Open Text
Version 24.4 | Last updated September 2024

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL KeyView 24.4

Topic Title: apply_visitor