source: proto/xmlschema/element_vec.h @ 3027

Last change on this file since 3027 was 2219, checked in by shiyangy, 7 years ago

project checkin

File size: 358 bytes
RevLine 
[2219]1#ifndef ELEMENT_VEC_H
2#define ELEMENT_VEC_H
3
4
5#include <vector>
6#include <string>
7
8class element_vec{
9public:
10        element_vec();
11        ~element_vec();
12       
13        void add_element(short int element_gid);
14private:
15        string name;
16        short int gid;
17        vector <short int> elementVec;
18};
19
20void element_vec::add_element(short int element_gid){
21        elementVec.push(element_gid);
22}
23
24
25#endif
Note: See TracBrowser for help on using the repository browser.