Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Private Attributes
FilePersistence::SoftConflict Class Reference

Public Member Functions

 SoftConflict (QString conflictReason, QSet< Model::NodeIdType > nodesInConflict={})
 
void add (Model::NodeIdType nodeId)
 
const QSet< Model::NodeIdType > & nodesInConflict () const
 
const QString & reason () const
 

Private Attributes

QSet< Model::NodeIdTypenodesInConflict_
 
QString reason_
 

Constructor & Destructor Documentation

◆ SoftConflict()

FilePersistence::SoftConflict::SoftConflict ( QString  conflictReason,
QSet< Model::NodeIdType nodesInConflict = {} 
)
inline

Member Function Documentation

◆ add()

void FilePersistence::SoftConflict::add ( Model::NodeIdType  nodeId)
inline

◆ nodesInConflict()

const QSet< Model::NodeIdType > & FilePersistence::SoftConflict::nodesInConflict ( ) const
inline

◆ reason()

const QString & FilePersistence::SoftConflict::reason ( ) const
inline

Member Data Documentation

◆ nodesInConflict_

QSet<Model::NodeIdType> FilePersistence::SoftConflict::nodesInConflict_
private

◆ reason_

QString FilePersistence::SoftConflict::reason_
private