lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] change file formats to XML


From: Greg Chicares
Subject: Re: [lmi] change file formats to XML
Date: Mon, 08 Mar 2010 14:22:02 +0000
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

On 2010-03-08 13:59Z, Vaclav Slavik wrote:
> On Sun, 2010-03-07 at 18:54 +0000, Greg Chicares wrote:
>> Did you intend to use this four-argument form of get_property(),
>> which appears to be unreferenced?
> 
> Not yet. It's meant for use later -- when a new property is added, then
> using this form to read it will allow the code to continue to handle
> older files.
> 
> In other words, it's safe to omit, it's more a demonstration than
> anything else.

Thanks--I had wrongly guessed that you might have been thinking of
cases where initializing to zero would be semantically implausible,
as in 'ihs_dbdict.cpp' here:

void DBDictionary::InitDB()
{
...
[initialize everything to zero, before handling special cases]
...
    // It would be dangerous to set these to zero.
    Add(TDBValue(DB_CCOIMultiplier      , 1.0));




reply via email to

[Prev in Thread] Current Thread [Next in Thread]