1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| #pragma once
| #include <vector>
| #include "CAttribute.h"
|
|
| namespace SERVO {
| class CAttributeVector
| {
| public:
| CAttributeVector();
| ~CAttributeVector();
|
| public:
| void addAttribute(CAttribute* pAttribute, BOOL bReplace = FALSE);
| void addAttributeVector(CAttributeVector& av);
| void clear();
| void sortWithWeight();
| unsigned int size();
| bool empty();
| CAttribute* getAttribute(unsigned int index);
|
| private:
| std::vector<CAttribute*> m_attributes;
| };
| }
|
|