25 # pragma warning(push) 26 # pragma warning( disable : 4251 ) // class X needs to have dll-interface to be used by clients of class Y 43 static Model *ClassModel();
91 const agx::Name& getImplementationName()
const;
112 bool hasSource(
const agx::Model *source)
const;
115 bool hasParent(
const agx::Model *parent)
const;
156 virtual void buildNavigationTree(agxJson::Value& eNode)
const override;
161 Loader(
const char *name,
const char *fileExtension);
164 virtual Model *load(TiXmlElement *eModel,
const Path& ns) = 0;
166 const char *getName()
const;
167 const char *getFileExtension()
const;
168 void addAlias(
const char *alias);
172 const char *m_fileExtension;
176 void setSource(
Model *source);
177 void setSourcePath(
const String& path);
190 Name m_implementation;
196 friend class ModelCleanup;
211 agxAssert(!this->getContext() || dynamic_cast<Namespace *>(this->getContext()));
212 return static_cast<Namespace *
>(this->getContext());
217 return const_cast<Model *
>(
this)->getNamespace();
229 # pragma warning(pop)
Representation of a path, a list of name components.
agx::Namespace * getNamespace()
A component is an object containing other objects, enabling hierarchical structuring.
A model is an abstract representation of the class of an agx::Object.
bool AGXPHYSICS_EXPORT isShutdown()
#define AGX_DECLARE_POINTER_TYPES(type)
Representation of a name string.
const agx::Name & getImplementationName() const
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
bool is() const
Subclass test.
Type
Specifies which path to access.
const agx::String & getSourcePath() const
AGXCORE_EXPORT Component * root()
A namespace is used as a group node in the agx::Model hierarchy.
Specifies paths for where to search for plugin's/runtime libraries.
agx::Object is a refcounted object with a name.
agx::Path getPath() const