Medical Imaging Interaction Toolkit  2018.4.99-bd7b41ba
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()

berry::IVariableResolver::~IVariableResolver ( )

Definition at line 17 of file berryIVariableResolver.cpp.

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.

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

Referenced by berry::EvaluationContext::ResolveVariable().

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