src/core/trace-resolver.h
changeset 1399 5945e92014e2
parent 1397 fdc239ba72a7
child 1419 ac2a81821ab5
--- a/src/core/trace-resolver.h	Wed Aug 29 16:43:19 2007 +0200
+++ b/src/core/trace-resolver.h	Thu Aug 30 13:58:15 2007 +0200
@@ -73,18 +73,20 @@
   class SourceCollection
   {
   public:
-    void Print (std::ostream &os) const;
-    void PrintDoxygen (std::ostream &os) const;
-    void AddUnique (std::string path, 
-                    const TraceContext &context,
-                    const TraceDoc &doc);
-  private:
     struct Source
     {
       std::string path;
       TraceContext context;
       TraceDoc doc;
     };
+    typedef std::vector<struct Source>::const_iterator Iterator;
+    void AddUnique (std::string path, 
+                    const TraceContext &context,
+                    const TraceDoc &doc);
+
+    Iterator Begin (void) const;
+    Iterator End (void) const;
+  private:
     typedef std::vector<struct Source> SourceVector;
     SourceVector m_sources;
   };