Open Search
    SmartSearchAssetInterface Class Reference

    #include <smartsearch_asset.h>

    Inheritance diagram for SmartSearchAssetInterface:

    Detailed Description

    Implements the smartsearch asset type.

    Public Member Functions

    MAXON_METHOD String GetFilterString () const
     

    Static Public Member Functions

    static MAXON_METHOD Result< SmartSearchAsset > Create ()
     
    static MAXON_METHOD Result< void > SetFilterString (const AssetDescription &asset, const String &filter)
     

    Private Member Functions

     MAXON_INTERFACE (SmartSearchAssetInterface, MAXON_REFERENCE_COPY_ON_WRITE, "net.maxon.interface.SmartSearchAsset")
     

    Member Function Documentation

    ◆ MAXON_INTERFACE()

    MAXON_INTERFACE ( SmartSearchAssetInterface  ,
    MAXON_REFERENCE_COPY_ON_WRITE  ,
    "net.maxon.interface.SmartSearchAsset"   
    )
    private

    ◆ GetFilterString()

    MAXON_METHOD String GetFilterString ( ) const

    GetFilterString returns the filter string stored in the smart search asset.

    ◆ Create()

    static MAXON_METHOD Result<SmartSearchAsset> Create ( )
    static

    Create creates an ew SmartSearchAsset.

    ◆ SetFilterString()

    static MAXON_METHOD Result<void> SetFilterString ( const AssetDescription &  asset,
    const String filter 
    )
    static

    SetFilterString stores a new smartsearch in a SmartSearchAsset.

    Parameters
    [in]assetSmartSearchAsset to modify.
    [in]filterFitler string to store.
    Returns
    OK on success.