← Documentation
ADS-IDAC Engine 5.0.0
ProximityGroupUnit.cpp
Go to the documentation of this file.
1// ProximityGroupUnit.cpp: implementation of the ProximityGroupUnit class.
2//
4
6using namespace std;
7
9// Construction/Destruction
11
13{
14
15}
16
18{
19
20}
21
23{
24 string str;
25 vector<string>::iterator str_itr;
26
27 if(this->indication_concept_ID_list.size() > 0)
28 {this->indication_concept_ID_list.clear();}
29
30 this->m_n_members = _pu_pt->m_n_members;
31 for(str_itr = _pu_pt->indication_concept_ID_list.begin(); str_itr != _pu_pt->indication_concept_ID_list.end(); str_itr++)
32 {
33 str = *str_itr;
34 this->indication_concept_ID_list.push_back(str);
35 }
36}
37
39{
40 bool contain_bl = false;
41 vector<string>::iterator str_itr;
42 for(str_itr = this->indication_concept_ID_list.begin(); str_itr != this->indication_concept_ID_list.end() && contain_bl == false; str_itr++)
43 {
44 if(name.compare(*str_itr) == 0)
45 {contain_bl = true;}
46 }
47 return contain_bl;
48}
void CopyProximityGroupUnitInfoFromAnother(ProximityGroupUnit *_pu_pt)
bool WhetherContainOneName(std::string name)
std::vector< std::string > indication_concept_ID_list