/[ff3d]/ff3d/language/InsideListExpression.hpp
ViewVC logotype

Diff of /ff3d/language/InsideListExpression.hpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by delpinux, Mon Aug 4 16:48:52 2003 UTC revision 1.5 by delpinux, Wed Aug 27 16:48:45 2003 UTC
# Line 40  class InsideListExpression Line 40  class InsideListExpression
40    : public Expression    : public Expression
41  {  {
42  protected:  protected:
   struct __ltv  
   {  
     bool operator()(const TinyVector<3,real_t>& s1, const TinyVector<3,real_t>& s2) const  
     {  
       if (s1[0]<s2[0])  
         return true;  
       if (s1[0]==s2[0]) {  
         if (s1[1]<s2[1])  
           return true;  
         if (s1[1]==s2[1])  
           if (s1[2]<s2[2])  
             return true;  
       }  
       return false;  
     }  
   };  
43    
44    typedef std::map<TinyVector<3, real_t>, size_t, __ltv> ReferenceList;    typedef std::map<TinyVector<3, real_t>, size_t> ReferenceList;
45    
46  public:  public:
47    enum NodeType {    enum NodeType {

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26