| 196 | typedef std::vector<AttributeBase*>::iterator AttIt; |
| 197 | |
| 198 | class Header |
| 199 | { |
| 200 | friend class Attributes; |
| 201 | Header(Attributes* atts) |
| 202 | : Atts(atts) |
| 203 | { |
| 204 | } |
| 205 | void operator=(const Attributes::Header&) = delete; |
| 206 | |
| 207 | friend ostream& operator<<(ostream& out, const Attributes::Header& header) |
| 208 | { |
| 209 | for (Attributes::AttIt it = header.Atts->AttVec.begin(); it != header.Atts->AttVec.end(); |
| 210 | ++it) |
| 211 | { |
| 212 | (*it)->StreamHeader(out); |
| 213 | out << endl; |
| 214 | } |
| 215 | return out; |
| 216 | } |
| 217 | |
| 218 | public: |
| 219 | Attributes* Atts; |
| 220 | }; |
| 221 | |
| 222 | class Component |
| 223 | { |
nothing calls this directly
no test coverage detected