Candidate_v1.7.0
        stable
      
      
        
          | Last change
 on this file since 91c409 was             6f0841, checked in by Frederik Heber <heber@…>, 14 years ago | 
        
          | 
Shifted all modules related to atoms into own subfolder src/Atom/
 also created own convenience library for this. This makes unit testing on
list containing TesselPoint or atom a lot easier.
shifted TesselPoint to src/Atom from src/Tesselation and adapted include's.
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            913 bytes | 
      
      
| Rev | Line |  | 
|---|
| [6b919f8] | 1 | /* | 
|---|
|  | 2 | * atom_graphnode.hpp | 
|---|
|  | 3 | * | 
|---|
|  | 4 | *  Created on: Oct 19, 2009 | 
|---|
|  | 5 | *      Author: heber | 
|---|
|  | 6 | */ | 
|---|
|  | 7 |  | 
|---|
|  | 8 | #ifndef ATOM_GRAPHNODE_HPP_ | 
|---|
|  | 9 | #define ATOM_GRAPHNODE_HPP_ | 
|---|
|  | 10 |  | 
|---|
|  | 11 |  | 
|---|
|  | 12 | using namespace std; | 
|---|
|  | 13 |  | 
|---|
|  | 14 | /*********************************************** includes ***********************************/ | 
|---|
|  | 15 |  | 
|---|
|  | 16 | // include config.h | 
|---|
|  | 17 | #ifdef HAVE_CONFIG_H | 
|---|
|  | 18 | #include <config.h> | 
|---|
|  | 19 | #endif | 
|---|
|  | 20 |  | 
|---|
| [f9183b] | 21 | #include <iosfwd> | 
|---|
| [6b919f8] | 22 |  | 
|---|
|  | 23 | #include "atom_graphnodeinfo.hpp" | 
|---|
|  | 24 | #include "atom_particleinfo.hpp" | 
|---|
|  | 25 |  | 
|---|
|  | 26 | /****************************************** forward declarations *****************************/ | 
|---|
|  | 27 |  | 
|---|
|  | 28 | /********************************************** declarations *******************************/ | 
|---|
|  | 29 |  | 
|---|
|  | 30 | class GraphNode : public GraphNodeInfo, public virtual ParticleInfo { | 
|---|
|  | 31 | public: | 
|---|
|  | 32 |  | 
|---|
|  | 33 | GraphNode(); | 
|---|
|  | 34 | virtual ~GraphNode(); | 
|---|
|  | 35 |  | 
|---|
| [e138de] | 36 | void OutputGraphInfo() const; | 
|---|
| [f9183b] | 37 | void OutputComponentNumber(ostream *out) const; | 
|---|
| [6b919f8] | 38 |  | 
|---|
|  | 39 | private: | 
|---|
|  | 40 |  | 
|---|
|  | 41 | }; | 
|---|
|  | 42 |  | 
|---|
| [f9183b] | 43 | ostream &operator<<(ostream &out, const GraphNode &a); | 
|---|
|  | 44 |  | 
|---|
| [6b919f8] | 45 | #endif /* ATOM_GRAPHNODE_HPP_ */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.