vtf-logo

GDBInteraction.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 #ifndef _included_GDBInteraction_h
00004 #define _included_GDBInteraction_h
00005 
00011 #include <iosfwd>
00012 
00017 struct GDB_Interaction {
00018   friend std::ostream& operator<<(std::ostream&, const GDB_Interaction&);
00019   int idx;
00020   BBox bbox; 
00021 
00022   inline GDB_Interaction() : idx(-1) {}
00023   inline GDB_Interaction(const int& i, const BBox& bb) : 
00024     idx(i), bbox(bb) {}
00025   inline GDB_Interaction(GDB_Interaction const &other) : 
00026     idx(other.idx), bbox(other.bbox) {}
00027 
00028   inline GDB_Interaction& operator = (const GDB_Interaction& other) 
00029     { idx = other.idx; bbox = other.bbox; return(*this); }
00030 };
00031 
00032 std::ostream& operator<<(std::ostream& os, const GDB_Interaction&);
00033 
00034 #endif

Generated on Fri Aug 24 13:00:29 2007 for AMROC's Hierachical Data Structures - by  doxygen 1.4.7