----------------------------------------------------------------------------- Save the group data -----------------------------------------------------------------------------
| 2946 | // Save the group data |
| 2947 | //----------------------------------------------------------------------------- |
| 2948 | void Node::WriteGroups |
| 2949 | ( |
| 2950 | TiXmlElement* _associationsElement |
| 2951 | ) |
| 2952 | { |
| 2953 | for( map<uint8,Group*>::iterator it = m_groups.begin(); it != m_groups.end(); ++it ) |
| 2954 | { |
| 2955 | Group* group = it->second; |
| 2956 | |
| 2957 | TiXmlElement* groupElement = new TiXmlElement( "Group" ); |
| 2958 | _associationsElement->LinkEndChild( groupElement ); |
| 2959 | group->WriteXML( groupElement ); |
| 2960 | } |
| 2961 | } |
| 2962 | |
| 2963 | //----------------------------------------------------------------------------- |
| 2964 | // <Node::GetNumGroups> |