VR-Forces 4.1 Class Documentation
DtModelDefinitionSchemaValidator.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtModelDefinitionSchemaValidator.h,v $ $Revision: 1.10 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtModelDefinitionSchemaValidator_H_
14 #define DtModelDefinitionSchemaValidator_H_
15 
16 #include <vrvCore/vrvCore.h>
17 #include <makArchives/DtSchema.h>
18 
19 #include <string>
20 #include <vector>
21 
22 namespace makVrv
23 {
24  class DtModelDefinition;
25 
29  {
30  public:
31 
33  {
39  end_ErrorCodes
40  };
41 
44  typedef std::pair<std::string,ErrorCodes> ErrorMessage;
45  typedef std::vector<std::pair<std::string,ErrorCodes> > ErrorMessageList;
46 
49 
52 
59 
60  virtual bool validate(const makArchives::DtSchemaEntry&, const DtModelDefinition& definition, ErrorMessageList& errors,
61  bool firstErrorOnly) const;
62 
65  const DtModelDefinition& definition) const;
66 
67 
68  protected:
70  };
71 }
72 
73 #endif
74 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)