AGXDynamics  2.35.0.2
TypeMap.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2022. 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 */
agxData::TypeImplementation
Definition: TypeMap.h:32
AGXCORE_EXPORT
#define AGXCORE_EXPORT
HashTable.h
agx
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Definition: AddedMassInteraction.h:22
agxData
Contains classes for low level data storage for AGX.
Definition: Container.h:23
agxData::TypeImplementation::TypeImplementation
TypeImplementation()
Definition: TypeMap.h:34
agx::SetVector
This class is a combined container which has the find complexity of a HashTable, deterministic iterat...
Definition: SetVector.h:37
agxData::getIncludePrefix
agx::String AGXCORE_EXPORT getIncludePrefix(agx::TiXmlElement *element)
agxData::TypeImplementation::include
agx::String include
Definition: TypeMap.h:37
agx::LinearProbingHashTable
Inheritance with partial specialization due to bug with ref_ptr containers.
Definition: LinearProbingHashTable.h:871
agxData::TypeMap
agx::HashTable< agx::String, TypeImplementation > TypeMap
Definition: TypeMap.h:40
HashSet.h
String.h
agx::AgXString< std::string >
agxData::getTypeImplementationName
agx::String AGXCORE_EXPORT getTypeImplementationName(const agx::String &abstractTypeName)
agxData::TypeImplementation::TypeImplementation
TypeImplementation(const agx::String &impl, const agx::String &inc)
Definition: TypeMap.h:35
SetVector.h
agxData::TypeImplementation::implementation
agx::String implementation
Definition: TypeMap.h:36