AGX Dynamics 2.42.1.1
Loading...
Searching...
No Matches
TypeMap.h
Go to the documentation of this file.
1/*
2Copyright 2007-2025. Algoryx Simulation AB.
3
4All AGX source code, intellectual property, documentation, sample code,
5tutorials, scene files and technical white papers, are copyrighted, proprietary
6and confidential material of Algoryx Simulation AB. You may not download, read,
7store, distribute, publish, copy or otherwise disseminate, use or expose this
8material unless having a written signed agreement with Algoryx Simulation AB, or having been
9advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10valid commercial license from Algoryx Simulation AB.
11
12Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13from using this software, unless otherwise stated in written agreements with
14Algoryx Simulation AB.
15*/
16
17#ifndef AGXDATA_TYPEMAP_H
18#define AGXDATA_TYPEMAP_H
19
20#ifdef _MSC_VER
21# pragma warning(push)
22# pragma warning(disable: 4251) // warning C4251: class X needs to have dll-interface to be used by clients of class Y
23#endif
24
25
26#include <agx/String.h>
27#include <agx/HashTable.h>
28#include <agx/HashSet.h>
29#include <agx/SetVector.h>
30
31namespace agx
32{
33 class TiXmlElement;
34}
35
36namespace agxData
37{
39 {
41 TypeImplementation(const agx::String& impl, const agx::String& inc) : implementation(impl), include(inc) {}
44 };
45
47
48 // TypeMap buildTypeMap();
49
51 agx::String AGXCORE_EXPORT getTypeImplementationName(const agx::String& abstractTypeName, agx::TiXmlElement *element, agx::SetVector<agx::String> *includeHash = nullptr);
52
53 agx::String AGXCORE_EXPORT getIncludePrefix(agx::TiXmlElement *element);
55}
56
57#ifdef _MSC_VER
58# pragma warning(pop)
59#endif
60
61
62#endif /* AGXDATA_TYPEMAP_H */
#define AGXCORE_EXPORT
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
Contains classes for low level data storage for AGX.
Definition: Container.h:23
agx::String AGXCORE_EXPORT getTypeImplementationName(const agx::String &abstractTypeName)
agx::HashTable< agx::String, TypeImplementation > TypeMap
Definition: TypeMap.h:46
agx::String AGXCORE_EXPORT getIncludePrefix(agx::TiXmlElement *element)
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
TypeImplementation(const agx::String &impl, const agx::String &inc)
Definition: TypeMap.h:41
agx::String implementation
Definition: TypeMap.h:42