Commits

Author Commit Message Labels Comments Date
Palmer, 2E0EOL
You should derive from DB in order to change the name associated with the class. So make the modification member function protected.
Palmer, 2E0EOL
Strip auto_name() logic, it was not that reliable, derived names seemed mangled.
Palmer, 2E0EOL
Explicitly set database 'name' in constructors to avoid broken auto_name() technique.
Palmer, 2E0EOL
Attempt to use parameter 'this' passed from caller to determine derived class name
Palmer, 2E0EOL
Database is always listed as 2DB; add typeinfo header into all other .cpp files.
Palmer, 2E0EOL
Set up new name() variants and auto_name() to generate associated tag from class name.
Palmer, 2E0EOL
Queries should not end in newlines, or semi-colons.
Palmer, 2E0EOL
Rename assoc_name -> tag. Simpler, clearer.
Palmer, 2E0EOL
Add license information from COPYING to all source code.
Palmer, 2E0EOL
Add software license (BSD new style)
Palmer, 2E0EOL
Move around some mis-placed and/or duplicated comments. Clarify.
Palmer, 2E0EOL
Add first example of mocked DB derived from DBMock
Palmer, 2E0EOL
Document the fact we should be making a temporary file here, and deleting it afterwards.
Palmer, 2E0EOL
Make DB class verbose about what queries it would perform
Palmer, 2E0EOL
Print very back info about mocked DB, prove that is_mocked() works as expected. name() will adjust assoc_name which is a tag for a database, not a real name.
Palmer, 2E0EOL
Create DBMock which is derived from DB
Palmer, 2E0EOL
Use bool, it's a standard type.
Palmer, 2E0EOL
Initial draft, this compiles but does nothing.