| 50 | // |
| 51 | |
| 52 | void GeomElement::setCollection(ConstCollectionPtr collection) |
| 53 | { |
| 54 | if (collection) |
| 55 | { |
| 56 | setCollectionString(collection->getName()); |
| 57 | } |
| 58 | else |
| 59 | { |
| 60 | removeAttribute(COLLECTION_ATTRIBUTE); |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | CollectionPtr GeomElement::getCollection() const |
| 65 | { |