SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
SourceXtractor::LineSelectionCriteria Class Reference

#include <LineSelectionCriteria.h>

Inheritance diagram for SourceXtractor::LineSelectionCriteria:
Inheritance graph
[legend]
Collaboration diagram for SourceXtractor::LineSelectionCriteria:
Collaboration graph
[legend]

Public Member Functions

 LineSelectionCriteria (int line_number)
 
bool mustBeProcessed (const SourceInterface &) const override
 Determines if the given Source must be processed or not.
 
- Public Member Functions inherited from SourceXtractor::SelectionCriteria
virtual ~SelectionCriteria ()=default
 Destructor.
 

Private Attributes

int m_line_number
 

Detailed Description

Definition at line 32 of file LineSelectionCriteria.h.

Constructor & Destructor Documentation

◆ LineSelectionCriteria()

SourceXtractor::LineSelectionCriteria::LineSelectionCriteria ( int line_number)
inlineexplicit

Definition at line 35 of file LineSelectionCriteria.h.

Member Function Documentation

◆ mustBeProcessed()

bool SourceXtractor::LineSelectionCriteria::mustBeProcessed ( const SourceInterface & source) const
overridevirtual

Determines if the given Source must be processed or not.

Implements SourceXtractor::SelectionCriteria.

Definition at line 33 of file LineSelectionCriteria.cpp.

References m_line_number.

Member Data Documentation

◆ m_line_number

int SourceXtractor::LineSelectionCriteria::m_line_number
private

Definition at line 41 of file LineSelectionCriteria.h.

Referenced by mustBeProcessed().


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