#include <root.hh>
Public Member Functions | |
void | setType (Type type) override |
void | add (std::string completion, std::string description="") override |
![]() | |
virtual void | setType (Type type)=0 |
Public Attributes | |
std::set< Completion > | completions |
Type | type = Type::Normal |
Additional Inherited Members | |
![]() | |
enum class | Type { Normal , Filenames , Attrs } |
The concrete implementation of a collection of completions.
This is exposed so that the main entry point can print out the collected completions.
|
overridevirtual |
Add a single completion to the collection
Implements nix::AddCompletions.