Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(45)

Issue 6047044: Refactoring to support maps in the attribute system. Fixes bug 1352

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years ago by Jaume Nin
Modified:
11 years, 11 months ago
CC:
Nicola Baldo
Visibility:
Public.

Description

Refactoring to support maps in the attribute system. Fixes https://www.nsnam.org/bugzilla/show_bug.cgi?id=1352

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -38 lines) Patch
M src/config-store/model/attribute-iterator.cc View 1 chunk +7 lines, -5 lines 0 comments Download
M src/core/model/object-map.h View 5 chunks +5 lines, -11 lines 0 comments Download
M src/core/model/object-ptr-container.h View 6 chunks +10 lines, -9 lines 0 comments Download
M src/core/model/object-ptr-container.cc View 4 chunks +9 lines, -7 lines 0 comments Download
M src/core/model/object-vector.h View 4 chunks +2 lines, -6 lines 0 comments Download
M src/core/test/attribute-test-suite.cc View 7 chunks +84 lines, -0 lines 2 comments Download

Messages

Total messages: 4
Tom Henderson
Thank you Jaume; just one question I have in the test code. http://codereview.appspot.com/6047044/diff/1/src/core/test/attribute-test-suite.cc File src/core/test/attribute-test-suite.cc ...
12 years ago (2012-04-18 13:28:46 UTC) #1
Jaume Nin
Hi Tom, You are absolutely right, I did not like much the testing being performed ...
12 years ago (2012-04-20 13:08:39 UTC) #2
Tom Henderson
On 2012/04/20 13:08:39, Jaume Nin wrote: > Hi Tom, > > You are absolutely right, ...
11 years, 11 months ago (2012-05-08 05:47:47 UTC) #3
Mathieu Lacage
11 years, 11 months ago (2012-05-19 07:09:35 UTC) #4
On 2012/05/08 05:47:47, Tom Henderson wrote:

> In looking at the code again tonight, I'm not sure that it is intended to be
> able to set these through SetAttribute.  

These are not supposed to be settable through the attribute system.


> I am still not clear on why DoGetMapN()
> is provided as a setter, however.

I do not understand that

> 
> I suggest the following to proceed:
> - delete TestMap2 test attribute (unused and not understood)
> - keep bug 1352 open for handling strings and also for resolving the question
on
> attribute tests
> - otherwise merge your patch so LENA merge can proceed

+1

thank you for pushing this forward
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b