teditor  1.8.0@@fee5e94
Terminal based editor written in C++
Public Member Functions | List of all members
teditor::Buffers Class Reference

#include <buffer.h>

+ Inheritance diagram for teditor::Buffers:

Public Member Functions

 ~Buffers ()
 
Bufferpush_back (const std::string &name, bool noUndoRedo=false)
 
void push_back (Buffer *buf)
 
void clear ()
 
void erase (int idx)
 
Strings namesList () const
 

Detailed Description

a list of buffers

Constructor & Destructor Documentation

◆ ~Buffers()

teditor::Buffers::~Buffers ( )

Member Function Documentation

◆ clear()

void teditor::Buffers::clear ( )

◆ erase()

void teditor::Buffers::erase ( int  idx)

◆ namesList()

Strings teditor::Buffers::namesList ( ) const

list of buffer names, in the order they are found in this object

◆ push_back() [1/2]

void teditor::Buffers::push_back ( Buffer buf)

◆ push_back() [2/2]

Buffer * teditor::Buffers::push_back ( const std::string &  name,
bool  noUndoRedo = false 
)

create a new buffer with a unique name and push it to the end


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