3D Repo Bouncer  1.4
Public Member Functions | Protected Attributes | List of all members
repo::manipulator::diff::AbstractDiff Class Referenceabstract
Inheritance diagram for repo::manipulator::diff::AbstractDiff:
repo::manipulator::diff::DiffByName repo::manipulator::diff::DiffBySharedID

Public Member Functions

 AbstractDiff (const repo::core::model::RepoScene *base, const repo::core::model::RepoScene *compare, const repo::core::model::RepoScene::GraphType &gType)
 
repo_diff_result_t getrepo_diff_result_tForBase ()
 
repo_diff_result_t getrepo_diff_result_tForComp ()
 
virtual bool isOk (std::string &msg) const =0
 

Protected Attributes

const repo::core::model::RepoScenebaseScene
 
const repo::core::model::RepoScenecompareScene
 
const repo::core::model::RepoScene::GraphType gType
 
repo_diff_result_t baseRes
 
repo_diff_result_t compRes
 

Constructor & Destructor Documentation

AbstractDiff::AbstractDiff ( const repo::core::model::RepoScene base,
const repo::core::model::RepoScene compare,
const repo::core::model::RepoScene::GraphType gType 
)

Construct a diff comparator given the 2 scenes supplied

Parameters
basebase scene to compare from
comparescene to compare against
gTypegraph type to diff

Member Function Documentation

repo_diff_result_t repo::manipulator::diff::AbstractDiff::getrepo_diff_result_tForBase ( )
inline

Obtain the diff result in the perspective of the base scene

Returns
return the diff result for base scene
repo_diff_result_t repo::manipulator::diff::AbstractDiff::getrepo_diff_result_tForComp ( )
inline

Obtain the diff result in the perspective of the compare scene

Returns
return the diff result for compare scene
virtual bool repo::manipulator::diff::AbstractDiff::isOk ( std::string &  msg) const
pure virtual

Check if comparator functioned fine

Parameters
msgerror message should boolean returns false
Returns
returns true if comparator operated successfully

Implemented in repo::manipulator::diff::DiffBySharedID, and repo::manipulator::diff::DiffByName.


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