Ignore:
Timestamp:
02/28/07 19:38:47 (17 years ago)
Author:
mattausch
Message:

removed using namespace std from .h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/VssTree.h

    r2105 r2176  
    9999   
    100100  void 
    101   Print(ostream &app) const; 
    102  
    103   friend ostream &operator<<(ostream &s, const VssStatistics &stat) { 
     101  Print(std::ostream &app) const; 
     102 
     103  friend std::ostream &operator<<(std::ostream &s, const VssStatistics &stat) { 
    104104    stat.Print(s); 
    105105    return s; 
     
    303303  bool IsLeaf() const { return axis == -1; } 
    304304   
    305   virtual void Print(ostream &s) const = 0; 
     305  virtual void Print(std::ostream &s) const = 0; 
    306306 
    307307  virtual int GetAccessTime() { 
     
    369369  } 
    370370   
    371   virtual void Print(ostream &s) const { 
     371  virtual void Print(std::ostream &s) const { 
    372372    if (axis == 0) 
    373373      s<<"x "; 
     
    422422  virtual int Type() const  { return ELeaf; } 
    423423 
    424   virtual void Print(ostream &s) const { 
    425     s<<endl<<"L: r="<<(int)rays.size()<<endl; 
     424  virtual void Print(std::ostream &s) const { 
     425    s<<std::endl<<"L: r="<<(int)rays.size()<<std::endl; 
    426426  }; 
    427427   
     
    478478  // comparator for the  
    479479  struct less_contribution : public 
    480   binary_function<const VssTreeLeaf *, const VssTreeLeaf *, bool> { 
     480  std::binary_function<const VssTreeLeaf *, const VssTreeLeaf *, bool> { 
    481481         
    482482        bool operator()(const VssTreeLeaf * a, const VssTreeLeaf *b) { 
     
    486486   
    487487  struct greater_contribution : public 
    488   binary_function<const VssTreeLeaf *, const VssTreeLeaf *, bool> { 
     488  std::binary_function<const VssTreeLeaf *, const VssTreeLeaf *, bool> { 
    489489         
    490490        bool operator()(const VssTreeLeaf * a, const VssTreeLeaf *b) { 
     
    532532    // comparator for the  
    533533    struct less_priority : public 
    534     binary_function<const TraversalData, const TraversalData, bool> { 
     534    std::binary_function<const TraversalData, const TraversalData, bool> { 
    535535                         
    536536      bool operator()(const TraversalData a, const TraversalData b) { 
     
    866866  TraverseInternalNode( 
    867867                                           RayTraversalData &data, 
    868                                            stack<RayTraversalData> &tstack); 
     868                                           std::stack<RayTraversalData> &tstack); 
    869869 
    870870  void 
Note: See TracChangeset for help on using the changeset viewer.