Workspace 6.21.5
Public Member Functions | List of all members
UrlMap Class Reference

#include <Workspace/DataExecution/Operations/urlmap.h>

Public Member Functions

 UrlMap ()
 
 ~UrlMap ()
 
void addMapping (const QString &key, const QString &url)
 
QString getMapping (const QString &key)
 

Detailed Description

Maps a symbolic QString to a QString representing the actual URL.

This allows a Workspace to reference a URL by some name and then let a program map that name to an actual URL at runtime.

Constructor & Destructor Documentation

◆ UrlMap()

UrlMap ( )

◆ ~UrlMap()

~UrlMap ( )

Member Function Documentation

◆ addMapping()

void addMapping ( const QString &  key,
const QString &  url 
)

Add a new mapping

◆ getMapping()

QString getMapping ( const QString &  key)
Returns
The mapping for the given key or an empty QString if none exists.