ogx/Calculation2D — Issue #54: unique image names
Author: carasuca
Created: 2012-02-28 23:40:14+00:00
State: open
Labels: bug, docs, library

Are image names guaranteed to be unique? `GetImage` by name suggests the should. If so, `SetName` should return (by value) the actual name assigned to the image. Expected behavior:

```cpp
mmImageI* v_psImage;
mmString Name= L"Johnny";
mmString NameAssigned = v_psImage->SetName(Name);
```

`NameAssigned == Name` iff there was no *"Johnny"* in the image structure, otherwise if should be something like *"Johhny_1"*.