Antares Simulator
Power System Simulator
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Modules Pages Concepts
Antares::Component::Spotlight::NullProvider Class Reference

A null provider. More...

#include <spotlight.h>

Inheritance diagram for Antares::Component::Spotlight::NullProvider:
Antares::Component::Spotlight::IProvider

Public Member Functions

Constructor & Destructor
 NullProvider ()
 Default constructor.
 
virtual ~NullProvider ()
 Destructor.
 
virtual void search (IItem::Vector &, const SearchToken::Vector &)
 Rebuild the result list from a list of tokens.
 
- 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)
 

Additional Inherited Members

- Public Types inherited from Antares::Component::Spotlight::IProvider
using Ptr = std::shared_ptr<IProvider>
 ptr
 
- Protected Attributes inherited from Antares::Component::Spotlight::IProvider
SpotlightpSpotlightComponent
 The parent component (can be null)
 

Detailed Description

A null provider.


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