SourceXtractorPlusPlus  0.10
Please provide a description of the project.
Public Member Functions | List of all members
SourceXtractor::SplitSourcesCriteria Class Reference

Groups sources if they were originally one source before being split. More...

#include <SplitSourcesCriteria.h>

Inheritance diagram for SourceXtractor::SplitSourcesCriteria:
[legend]
Collaboration diagram for SourceXtractor::SplitSourcesCriteria:
[legend]

Public Member Functions

virtual bool shouldGroup (const SourceInterface &first, const SourceInterface &second) const override
 Determines if the two sources should be grouped together. More...
 
- Public Member Functions inherited from SourceXtractor::GroupingCriteria
virtual ~GroupingCriteria ()=default
 Destructor. More...
 

Detailed Description

Groups sources if they were originally one source before being split.

Definition at line 37 of file SplitSourcesCriteria.h.

Member Function Documentation

◆ shouldGroup()

bool SourceXtractor::SplitSourcesCriteria::shouldGroup ( const SourceInterface first,
const SourceInterface second 
) const
overridevirtual

Determines if the two sources should be grouped together.

Implements SourceXtractor::GroupingCriteria.

Definition at line 29 of file SplitSourcesCriteria.cpp.

References SourceXtractor::SourceInterface::getProperty(), and second.

Here is the call graph for this function:

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