Skip to main content

TransformRegistry

TransformRegistry

#include <TransformRegistry.hpp>

Public Functions

Name
TransformRegistry()
TransformRegistry(TransformRegistry const & ) =delete
TransformRegistry & operator=(TransformRegistry const & ) =delete
TransformRegistry(TransformRegistry && ) =delete
TransformRegistry & operator=(TransformRegistry && ) =delete
std::vector< std::string > getOperationNamesForVariant(DataTypeVariant const & dataVariant) const
Gets the names of operations applicable to the data type currently held within the provided variant.
TransformOperation * findOperationByName(std::string const & operation_name) const
Finds an operation object by its registered name.

Public Functions Documentation

function TransformRegistry

TransformRegistry()

function TransformRegistry

TransformRegistry(
    TransformRegistry const & 
) =delete

function operator=

TransformRegistry & operator=(
    TransformRegistry const & 
) =delete

function TransformRegistry

TransformRegistry(
    TransformRegistry && 
) =delete

function operator=

TransformRegistry & operator=(
    TransformRegistry && 
) =delete

function getOperationNamesForVariant

std::vector< std::string > getOperationNamesForVariant(
    DataTypeVariant const & dataVariant
) const

Gets the names of operations applicable to the data type currently held within the provided variant.

Parameters:

  • dataVariant The actual data variant instance representing the selected data.

Return: A vector of strings containing the names of applicable operations. Returns empty vector if no operations target the held type, or if the variant holds a non-operation-targetable type (like std::monostate).

function findOperationByName

TransformOperation * findOperationByName(
    std::string const & operation_name
) const

Finds an operation object by its registered name.

Parameters:

  • operation_name The exact name of the operation (e.g., “Calculate Area”).

Return: A non-owning pointer to the IOperation object, or nullptr if not found.


Updated on 2026-11-13 at 20:25:39 +0000