equal
deleted
inserted
replaced
71 virtual void Disconnect (std::string path, CallbackBase const &cb) = 0; |
71 virtual void Disconnect (std::string path, CallbackBase const &cb) = 0; |
72 |
72 |
73 class SourceCollection |
73 class SourceCollection |
74 { |
74 { |
75 public: |
75 public: |
76 void Print (std::ostream &os) const; |
|
77 void PrintDoxygen (std::ostream &os) const; |
|
78 void AddUnique (std::string path, |
|
79 const TraceContext &context, |
|
80 const TraceDoc &doc); |
|
81 private: |
|
82 struct Source |
76 struct Source |
83 { |
77 { |
84 std::string path; |
78 std::string path; |
85 TraceContext context; |
79 TraceContext context; |
86 TraceDoc doc; |
80 TraceDoc doc; |
87 }; |
81 }; |
|
82 typedef std::vector<struct Source>::const_iterator Iterator; |
|
83 void AddUnique (std::string path, |
|
84 const TraceContext &context, |
|
85 const TraceDoc &doc); |
|
86 |
|
87 Iterator Begin (void) const; |
|
88 Iterator End (void) const; |
|
89 private: |
88 typedef std::vector<struct Source> SourceVector; |
90 typedef std::vector<struct Source> SourceVector; |
89 SourceVector m_sources; |
91 SourceVector m_sources; |
90 }; |
92 }; |
91 /** |
93 /** |
92 * \param path the path to the current recursive level. |
94 * \param path the path to the current recursive level. |