AGXDynamics  2.31.1.0
TypeMap.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2021. Algoryx Simulation AB.
3 
4 All AGX source code, intellectual property, documentation, sample code,
5 tutorials, scene files and technical white papers, are copyrighted, proprietary
6 and confidential material of Algoryx Simulation AB. You may not download, read,
7 store, distribute, publish, copy or otherwise disseminate, use or expose this
8 material unless having a written signed agreement with Algoryx Simulation AB, or having been
9 advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10 valid commercial license from Algoryx Simulation AB.
11 
12 Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13 from using this software, unless otherwise stated in written agreements with
14 Algoryx Simulation AB.
15 */
16 
17 #ifndef AGXDATA_TYPEMAP_H
18 #define AGXDATA_TYPEMAP_H
19 
20 #include <agx/String.h>
21 #include <agx/HashTable.h>
22 #include <agx/HashSet.h>
23 #include <agx/SetVector.h>
24 
25 namespace agx
26 {
27  class TiXmlElement;
28 }
29 
30 namespace agxData
31 {
33  {
35  TypeImplementation(const agx::String& impl, const agx::String& inc) : implementation(impl), include(inc) {}
38  };
39 
41 
42  // TypeMap buildTypeMap();
43 
45  agx::String AGXCORE_EXPORT getTypeImplementationName(const agx::String& abstractTypeName, agx::TiXmlElement *element, agx::SetVector<agx::String> *includeHash = nullptr);
46 
47  agx::String AGXCORE_EXPORT getIncludePrefix(agx::TiXmlElement *element);
49 }
50 
51 
52 #endif /* AGXDATA_TYPEMAP_H */
agx::String AGXCORE_EXPORT getTypeImplementationName(const agx::String &abstractTypeName, agx::TiXmlElement *element, agx::SetVector< agx::String > *includeHash=nullptr)
agx::String implementation
Definition: TypeMap.h:36
Namespace agx contains the dynamics/math part of the AGX Dynamics API.
agx::HashTable< agx::String, TypeImplementation > TypeMap
Definition: TypeMap.h:40
Contains classes for low level data storage for AGX.
Definition: Container.h:23
agx::String AGXCORE_EXPORT getIncludePrefix(const agx::String &rootPath)
Inheritance with partial specialization due to bug with ref_ptr containers.
This class is a combined container which has the find complexity of a HashTable, deterministic iterat...
Definition: SetVector.h:38
#define AGXCORE_EXPORT
TypeImplementation(const agx::String &impl, const agx::String &inc)
Definition: TypeMap.h:35