Atoms Crowd  7.0.0
FirstVersionLoader.h
1 #pragma once
2 // ===========================================================================
3 // Copyright (c) 2015 Toolchefs Ltd. All rights reserved.
4 //
5 // Use of this software is subject to the terms of the Toolchefs license
6 // agreement provided at the time of installation or download, or which
7 // otherwise accompanies this software in either electronic or hard copy form.
8 // ===========================================================================
9 
10 #include <AtomsCore/Globals.h>
11 #include <AtomsUtils/JSON.h>
12 
13 #include <Atoms/Variations.h>
14 #include <Atoms/Variation/BaseVariationLoader.h>
15 
16 namespace Atoms
17 {
18  class ATOMS_EXPORT FirstVersionLoader: public BaseVariationLoader
19  {
20  public:
22 
25  std::string typeStr() const;
26 
28  static std::string const staticTypeStr;
29 
31 
34  unsigned int typeId() const;
35 
37  static const unsigned int staticTypeId;
38 
41 
44 
46 
49  static AtomsPtr<BaseVariationLoader> creator();
50 
52 
55  Atoms::Variations load(const AtomsUtils::JSONObject &jsonObj);
56 
57  };
58 }
BaseVariationLoader class.
Definition: BaseVariationLoader.h:22
Definition: FirstVersionLoader.h:19
static AtomsPtr< BaseVariationLoader > creator()
Creator function.
std::string typeStr() const
Type string.
FirstVersionLoader()
Constructor.
Atoms::Variations load(const AtomsUtils::JSONObject &jsonObj)
load
unsigned int typeId() const
Type id.
~FirstVersionLoader()
Destructor.
static std::string const staticTypeStr
Class static type string.
Definition: FirstVersionLoader.h:28
static const unsigned int staticTypeId
Class static type id.
Definition: FirstVersionLoader.h:37
Variations class.
Definition: Variations.h:839
Atoms namespace.
Definition: Agent.h:29