Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
berry::IVariableResolver Struct Referenceabstract

#include <berryIVariableResolver.h>

Public Member Functions

virtual ~IVariableResolver ()
 
virtual Object::Pointer Resolve (const QString &name, const QList< Object::Pointer > &args)=0
 

Detailed Description

A variable resolver can be used to add additional variable resolving strategies to an EvaluationContext.

See also
EvaluationContext::ResolveVariable(String, Object[])

Definition at line 30 of file berryIVariableResolver.h.

Constructor & Destructor Documentation

◆ ~IVariableResolver()

virtual berry::IVariableResolver::~IVariableResolver ( )
virtual

Member Function Documentation

◆ Resolve()

virtual Object::Pointer berry::IVariableResolver::Resolve ( const QString &  name,
const QList< Object::Pointer > &  args 
)
pure virtual

Resolves a variable for the given name and arguments. The handler is allowed to return null to indicate that it is not able to resolve the requested variable.

Parameters
namethe variable to resolve
argsan object array of arguments used to resolve the variable
Returns
the variable's value or null if no variable could be resolved
Exceptions
CoreExceptionif an errors occurs while resolving the variable

The documentation for this struct was generated from the following file: