|
The Sparta Modeling Framework
|
Creates a helper traits class for determining whehther a type has a member named getClock. More...
#include <Resource.hpp>
Public Member Functions | |
| template<class CTXT > | |
| std::string | getContextDescription (CTXT *ctxt, typename std::enable_if<!std::is_base_of< Resource, CTXT >::value &&!std::is_base_of< TreeNode, CTXT >::value &&!has_attr_getClock< CTXT >::value >::type *dummy=nullptr) |
| Handle default case where pointer is not a sparta::Resource. | |
| template<class CTXT > | |
| std::string | getContextDescription (CTXT *ctxt, typename std::enable_if<!std::is_base_of< Resource, CTXT >::value &&!std::is_base_of< TreeNode, CTXT >::value &&has_attr_getClock< CTXT >::value >::type *dummy=0) |
| Handle case where pointer is a not subclass of (and not a) sparta::Resource, but still has a getClock method. This method must be checked for its signature. | |
| template<class CTXT > | |
| std::string | getContextDescription (const sparta::Resource *ctxt, typename std::enable_if< std::is_base_of< Resource, CTXT >::value >::type *dummy=0) |
| Handle case where pointer is a subclass of (or is a) sparta::Resource. | |
| template<class CTXT > | |
| std::string | getContextDescription (const sparta::TreeNode *ctxt, typename std::enable_if< std::is_base_of< TreeNode, CTXT >::value >::type *dummy=0) |
| Handle case where pointer is a subclass of (or is a) sparta::TreeNode. | |
Creates a helper traits class for determining whehther a type has a member named getClock.
Helper for getting context of an assertion
Definition at line 251 of file Resource.hpp.
|
inline |
Handle case where pointer is a subclass of (or is a) sparta::Resource.
Definition at line 335 of file Resource.hpp.

|
inline |
Handle case where pointer is a subclass of (or is a) sparta::TreeNode.
Definition at line 356 of file Resource.hpp.

|
inline |
Handle default case where pointer is not a sparta::Resource.
Definition at line 288 of file Resource.hpp.
|
inline |
Handle case where pointer is a not subclass of (and not a) sparta::Resource, but still has a getClock method. This method must be checked for its signature.
Definition at line 311 of file Resource.hpp.