Antares Simulator
Power System Simulator
Antares::Window::OutputViewer::SpotlightProviderGlobalSelection Class Reference
Inheritance diagram for Antares::Window::OutputViewer::SpotlightProviderGlobalSelection:

Public Types

using Spotlight = Antares::Component::Spotlight
 The spotlight component (alias)
 

Constructor & Destructor

Spotlight::IItem::Vector items
 
 SpotlightProviderGlobalSelection (Component *com)
 Default constructor.
 
virtual ~SpotlightProviderGlobalSelection ()
 Destructor.
 
size_t getSelectedLayerID (const Yuni::String &layerName)
 
virtual void search (Spotlight::IItem::Vector &out, const Spotlight::SearchToken::Vector &tokens, const Yuni::String &text="")
 Perform a new search. More...
 
virtual void search (Spotlight::IItem::Vector &out, const Spotlight::SearchToken::Vector &tokens, Spotlight::IItem::Vector &in)
 
virtual bool onSelect (Spotlight::IItem::Ptr &item)
 An item has been selected.
 
void addEconomy ()
 
void addAdequacy ()
 
void addNoCommonItem ()
 
void addText (const Yuni::String &name)
 
void addAreaName (const Yuni::String &name)
 
void addSetName (const Yuni::String &name)
 
void addLinkName (const Yuni::String &name)
 
void addUncommonAreaName (const Yuni::String &name)
 
void addUncommonLinkName (const Yuni::String &name)
 

Member Function Documentation

◆ search()

void Antares::Window::OutputViewer::SpotlightProviderGlobalSelection::search ( Spotlight::IItem::Vector &  out,
const Spotlight::SearchToken::Vector &  tokens,
const Yuni::String &  text = "" 
)
virtual

Perform a new search.

Filtering sets of areas

Building the set of links in the study

Filtering items not belonging to any map

The selected combo option is a layer's name


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