Re: Don't understand the purport of default values

2009-07-04 Thread Zl D
ly the only purpose. > We do not serialize default values because it would be a waste of space. > > On Sat, Jul 4, 2009 at 1:47 PM, Zl D wrote: > > > Hi, > > I define a message in .proto file with default values for all > > elements. After instantiation of generated class (

Don't understand the purport of default values

2009-07-04 Thread Zl D
Hi, I define a message in .proto file with default values for all elements. After instantiation of generated class (C++), calling 'PrintDebugString()' or 'SerializeToOstream()' produces no output. If I set the any element manually via 'set_' method, then on output I get only that value. Calling g