teditor  1.8.0@@fee5e94
Terminal based editor written in C++
Public Member Functions | List of all members
teditor::editor::ops::FileChoices Class Reference
+ Inheritance diagram for teditor::editor::ops::FileChoices:

Public Member Functions

 FileChoices (const Strings &arr, ChoicesFilter cf=fileStrFind)
 
bool updateChoices (const std::string &str)
 
std::string getFinalStr (int idx, const std::string &str) const
 
- Public Member Functions inherited from teditor::StringChoices
 StringChoices (const Strings &arr, ChoicesFilter cf=strFind)
 
const std::string & at (int idx) const
 
int size () const
 
- Public Member Functions inherited from teditor::Choices
 Choices (ChoicesFilter cf)
 
virtual ~Choices ()
 
virtual void updateMainBuffer (CmdMsgBar &cmBar)
 
virtual void resetLocations (CmdMsgBar &cmBar)
 
bool match (const std::string &line, const std::string &str) const
 
bool match (int idx, const std::string &str) const
 
void setChoiceIdx (int idx)
 
int getChoiceIdx () const
 

Additional Inherited Members

- Protected Attributes inherited from teditor::StringChoices
Strings options
 

Constructor & Destructor Documentation

◆ FileChoices()

teditor::editor::ops::FileChoices::FileChoices ( const Strings arr,
ChoicesFilter  cf = fileStrFind 
)
inline

Member Function Documentation

◆ getFinalStr()

std::string teditor::editor::ops::FileChoices::getFinalStr ( int  idx,
const std::string &  str 
) const
inlinevirtual

Reimplemented from teditor::StringChoices.

◆ updateChoices()

bool teditor::editor::ops::FileChoices::updateChoices ( const std::string &  str)
inlinevirtual

Reimplemented from teditor::Choices.


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