Hi list,

I've recently coded and added a new tool, which I needed in other Barry
development in the Desktop GUI side of things.

The new tool is called btarcmp, which is intented to be a diff for
Barry tar backup files.

Let me know if you find bugs or have suggestions for this tool.

Also, in writing this tool, I had a need to access all record fields
in a programmatic way.  For btarcmp, I wanted to compare them, but I could
see times when just being able to say "do X to all fields in Contact"
would be very useful.

And so the FieldHandle<> template system was born.  If you call a record
class's GetFieldHandles() member (and only if you call it) it will create
a vector of field handles that describe all the fields.  You can then
create a functor class which can be called for each field in the list.

It is documented in the doxygen docs, so I won't go into detail here.

There is an english description for each of the fields as well.  This
brings with it the opportunity to have localized language support
for field descriptions, directly in the library, in the field handles.

Would this be useful?  Nicolas?  Could you take a look at the docs and
code and let me know if this is a good spot for translations?

Also, I'd appreciate if people would grab the latest git tree and compile
it for their systems, and for their locales, before I release version
0.18 (planned for next month).  Nicolas, there's a new string in the
backup GUI, which could use a French translation.

Thanks!
- Chris


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to