| 197 | */ |
| 198 | |
| 199 | void CSequence::SetParent( CSequence *parent ) |
| 200 | { |
| 201 | m_parent = parent; |
| 202 | |
| 203 | if ( parent == NULL ) |
| 204 | return; |
| 205 | |
| 206 | //Inherit the parent's properties (this avoids messy tree walks later on) |
| 207 | if ( parent->m_flags & SQ_RETAIN ) |
| 208 | m_flags |= SQ_RETAIN; |
| 209 | |
| 210 | if ( parent->m_flags & SQ_PENDING ) |
| 211 | m_flags |= SQ_PENDING; |
| 212 | } |
| 213 | |
| 214 | /* |
| 215 | ------------------------- |
no outgoing calls
no test coverage detected