Atoms Crowd  7.0.0
ThirdVersionLoader.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 ThirdVersionLoader : 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: ThirdVersionLoader.h:19
static const unsigned int staticTypeId
Class static type id.
Definition: ThirdVersionLoader.h:37
~ThirdVersionLoader()
Destructor.
static AtomsPtr< BaseVariationLoader > creator()
Creator function.
ThirdVersionLoader()
Constructor.
Atoms::Variations load(const AtomsUtils::JSONObject &jsonObj)
load
static std::string const staticTypeStr
Class static type string.
Definition: ThirdVersionLoader.h:28
std::string typeStr() const
Type string.
unsigned int typeId() const
Type id.
Variations class.
Definition: Variations.h:839
Atoms namespace.
Definition: Agent.h:29