123456789101112131415161718192021222324 |
- #pragma once
- #include "..\Identifier\schema_struct.h"
- #include "basic_struct_result.h"
- #include "..\Schema\schema_struct.h"
- #include "..\Identifier\OnLineCardSchemaStruct.h"
- #include <boost\smart_ptr.hpp>
- using namespace std;
- using namespace identify::schema;
- class CSchemaLoader
- {
- public:
- CSchemaLoader(void);
- ~CSchemaLoader(void);
- // ¼ÓÔØÄ£°åÐÅÏ¢
- int Load(std::string fileName, std::string muban_img_dir, schema::SCHEMA& schema_schema, boost::shared_ptr<const ISCH_Schema> & schema_identify, boost::shared_ptr<const HANDLE_INFO>& handleInfos);
- template<class T, class T2> int caulateGroupAndItem(std::vector<T> &matrix, int nextItemId, vector<identify::schema::ISCH_SCHEMA_ITEM> &itemv, std::vector<identify::schema::ISCH_IDENTIFY_GROUP> &groupsv, std::vector<T2>& handleInfos, GROUP_TYPE _type);
- template<class T, class T2> int caulateGroupAndItem2(std::vector<T> &matrix, int nextItemId, vector<identify::schema::ISCH_SCHEMA_ITEM> &itemv, std::vector<identify::schema::ISCH_IDENTIFY_GROUP> &groupsv, std::vector<T2>& handleInfos, GROUP_TYPE _type);
- void SetPageDefault(identify::schema::ISCH_SCHEMA_PAGE& page);
- long m_examId;
- };
|