#include <PathResolver.h>
This class exposes an API to query a context to find Base* or a BaseData*. More...
This class exposes an API to query a context to find Base* or a BaseData*.
Static Public Member Functions | |
static Base * | FindBaseFromPath (const Base *base, const std::string &path) |
static Base * | FindBaseFromClassAndPath (const Base *base, const BaseClass *destType, const std::string &path) |
static BaseData * | FindBaseDataFromPath (Base *base, const std::string &path) |
static BaseData * | FindBaseDataFromPath (const BaseData *context, const std::string &path) |
static bool | PathHasValidSyntax (const std::string &path) |
static bool | FindDataLinkDest (Base *base, BaseData *&ptr, const std::string &path, const BaseLink *link) |
static Base * | FindLinkDestClass (Base *context, const BaseClass *destType, const std::string &path, const BaseLink *link) |
template<class T > | |
static bool | FindLinkDest (Base *base, T *&ptr, const std::string &path, const BaseLink *link) |
static sofa::core::objectmodel::Base * | FindLink (sofa::core::objectmodel::Base *base, const std::string &path) |
template<class T > | |
static bool | CheckPath (Base *base, T *&, const std::string &path, const BaseLink *link) |
template<class T > | |
static bool | CheckPath (Base *context, const std::string &path) |
static bool | CheckPath (sofa::core::objectmodel::Base *context, const std::string &path) |
Check that a given path is valid and that the pointed object exists regardless of its type. More... | |
static bool | CheckPaths (Base *context, const BaseClass *linktype, const std::string &pathes) |
Check that a given set of path is valid and that the pointed object exists and is of the right type. More... | |
static bool | CheckPath (sofa::core::objectmodel::Base *context, const BaseClass *classType, const std::string &path) |
Check that a given path is valid that the pointed object exists and is of the right type. More... | |
|
inlinestatic |
|
inlinestatic |
|
static |
Check that a given path is valid that the pointed object exists and is of the right type.
|
static |
Check that a given path is valid and that the pointed object exists regardless of its type.
|
static |
Check that a given set of path is valid and that the pointed object exists and is of the right type.
Check that a given list of path is valid, that the pointed object exists and is of the right type.
|
static |
|
static |
|
static |
|
static |
|
static |
ALL THE FOLLOWING IS DUPLICATING THE SOFA API..... The general idea is to move here all code related to path resolution so we can see if there is duplicated code
|
static |
|
inlinestatic |
|
static |
|
static |