Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

rel_eqclass.cc

Go to the documentation of this file.
00001 /* ===========================================================================
00002  *        Filename:  RelEqClass.cc
00003  *     Description:  SSD Relation equality class
00004  * 
00005  *         Version:  $Rev: 3 $
00006  *         Changed:  $Date: 2005-03-02 14:30:37 -0800 (Mi, 02 Mär 2005) $
00007  *         Licence:  GPL (read COPYING file for details)
00008  * 
00009  *          Author:  Erich Schubert (eS), erich@debian.org
00010  *                   Institut für Informatik, LMU München
00011  * ======================================================================== */
00012 #include "rel_eqclass.h"
00013 #include "node.h"
00014 #include "node_eqclass.h"
00015 
00016 namespace SSD {
00017 
00018 RelEqClass::RelEqClass(const Node& n1, const Node& n2)
00019 : fl(n1.label), fc(n1.content), sl(n2.label), sc(n2.content) { };
00020 
00021 RelEqClass::RelEqClass(const Node* n1, const Node* n2)
00022 : fl(n1->label), fc(n1->content), sl(n2->label), sc(n2->content) { };
00023 
00024 RelEqClass::RelEqClass(const Node& n1, const NodeEqClass& n2)
00025 : fl(n1.label), fc(n1.content), sl(n2.label), sc(n2.content) { };
00026 
00027 RelEqClass::RelEqClass(const NodeEqClass& n1, const Node& n2)
00028 : fl(n1.label), fc(n1.content), sl(n2.label), sc(n2.content) { };
00029 
00030 std::ostream &operator<<(std::ostream &out, const RelEqClass& ec) {
00031     return out << "(" << ec.fl << "," << ec.fc << "," << ec.sl << "," << ec.sc << ")";
00032 }
00033 
00034 }

Generated on Thu Aug 4 17:57:12 2005 for SSDDiff by  doxygen 1.4.3-20050530