Atoms Crowd  7.0.0
BaseVariationLoader.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 <Atoms/Variations.h>
11 #include <AtomsCore/Globals.h>
12 #include <AtomsUtils/JSON.h>
13 #include <string>
14 
15 namespace Atoms
16 {
18 
21  class ATOMS_EXPORT BaseVariationLoader
22  {
23  public:
24 
26 
30  virtual std::string typeStr() const = 0;
31 
33 
37  virtual unsigned int typeId() const = 0;
38 
41 
44 
46 
49  virtual Atoms::Variations load(const AtomsUtils::JSONObject &jsonObj) = 0;
50 
51  };
52 }
BaseVariationLoader class.
Definition: BaseVariationLoader.h:22
BaseVariationLoader()
Constructor.
virtual std::string typeStr() const =0
Type string.
virtual unsigned int typeId() const =0
Type id.
virtual ~BaseVariationLoader()
Virtual Destructor.
virtual Atoms::Variations load(const AtomsUtils::JSONObject &jsonObj)=0
load
Variations class.
Definition: Variations.h:839
Atoms namespace.
Definition: Agent.h:29