Antares Simulator
Power System Simulator
Loading...
Searching...
No Matches
Antares::Window::OutputViewer::SpotlightProviderGlobalSelection Class Reference
Inheritance diagram for Antares::Window::OutputViewer::SpotlightProviderGlobalSelection:
Antares::Component::Spotlight::IProvider

Public Types

using Spotlight = Antares::Component::Spotlight
 The spotlight component (alias)
 
- Public Types inherited from Antares::Component::Spotlight::IProvider
using Ptr = std::shared_ptr<IProvider>
 ptr
 

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.
 
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)
 

Additional Inherited Members

- Public Member Functions inherited from Antares::Component::Spotlight::IProvider
 IProvider ()
 Default constructor.
 
virtual ~IProvider ()
 Destructor.
 
virtual void search (IItem::Vector &out, const SearchToken::Vector &tokens, const Yuni::String &text="")=0
 Rebuild the result list from a list of tokens.
 
void redoResearch ()
 Redo the research.
 
virtual bool onSelect (IItem::Ptr &item)
 Event: an item has been selected.
 
virtual bool onSelect (const IItem::Vector &items)
 Event: a list of items have been selected (more than one)
 
virtual bool onDoubleClickSelect (IItem::Ptr &item)
 Event: an item has been selected.
 
Spotlightcomponent () const
 Get the pointer of the attached component (can be null)
 
- Protected Attributes inherited from Antares::Component::Spotlight::IProvider
SpotlightpSpotlightComponent
 The parent component (can be null)
 

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: