edbee - Qt Editor Library
Public Member Functions | List of all members
edbee::TextDocumentSerializerFilter Class Referenceabstract

#include <textdocumentserializer.h>

+ Collaboration diagram for edbee::TextDocumentSerializerFilter:

Public Member Functions

virtual bool saveLineSelector (TextDocumentSerializer *serializer, int lineIdx, QString &line)=0
 A special filter class to filter lines while saving. More...
 

Member Function Documentation

◆ saveLineSelector()

virtual bool edbee::TextDocumentSerializerFilter::saveLineSelector ( TextDocumentSerializer serializer,
int  lineIdx,
QString &  line 
)
pure virtual

A special filter class to filter lines while saving.

Parameters
serializerthe text serialzer
lineIdxthe line index that needs to be saved
linethe line that's save
Returns
true if the line needs to be selected. return false to skip the line

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