File Content Extraction 26.2
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-2026 Open Text
Version 26.2 | Last updated April 2026

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: File Content Extraction 26.2

Topic Title: apply_visitor