XLines.h
上传用户:yokoluohf
上传日期:2013-02-25
资源大小:769k
文件大小:1k
- #pragma once
- #include "XLine.h"
- #include "XStations.h"
- #include "XPath.h"
- class XLines : public map <CString, XLine>
- {
- public:
- XLines();
- virtual ~XLines();
- public:
- XStations allStations;
- public:
- int Append (const XLine& obj);
- int Remove (const XLine& obj);
- XLine* Find (const CString name);
- int Merge (const vector<CString>& lines, vector<CString>& stations);
- vector<CString> Intersection(const CString vStation1, const CString vStation2);
- int BuildStations(XStations& stationsMap);
- int GetCount ();
- int FromXML (CMarkup& markup);
- int ToXML (CMarkup& markup);
- vector<XPath> Find (const CString station1, const CString station2, int type);
- };