Tidy up Validators logging

This commit is contained in:
Vinnie Falco
2013-11-15 13:19:10 -08:00
parent 616a514c4d
commit 580d179dd0
11 changed files with 112 additions and 82 deletions

View File

@@ -45,12 +45,12 @@ public:
virtual ~Source () { }
/** The name of the source, used in diagnostic output. */
virtual String name () = 0;
virtual std::string to_string () const = 0;
/** An identifier that uniquely describes the source.
This is used for identification in the database.
*/
virtual String uniqueID () = 0;
virtual String uniqueID () const = 0;
/** A string that is used to recreate the source from the database entry. */
virtual String createParam () = 0;
@@ -77,6 +77,8 @@ public:
/** @} */
};
std::ostream& operator<< (std::ostream& os, Source const& v);
}
}