13 #ifndef mitkPropertyKeyPath_h
14 #define mitkPropertyKeyPath_h
26 class IPropertyProvider;
225 MITKCORE_EXPORT std::map<PropertyKeyPath::ItemSelectionIndex, std::string>
An object of this class represents an exception of MITK. Please don't instantiate exceptions manually...
mitkExceptionClassMacro(InvalidPathNodeException, mitk::Exception)
Class that can be used to specify nested or wild carded property keys. E.g. for the use in context of...
NodeInfoVectorType m_NodeInfos
bool operator<(const PropertyKeyPath &right) const
bool Equals(const PropertyKeyPath &path) const
const NodeInfoVectorType & GetNodes() const
PropertyKeyPath & AddElement(const ElementNameType &name)
bool operator==(const PropertyKeyPath &path) const
static bool PropertyKeyPathsMatch(const PropertyKeyPath &left, const PropertyKeyPath &right)
bool HasItemSelectionWildcardsOnly() const
PropertyKeyPath(const std::initializer_list< ElementNameType > &list)
PropertyKeyPath & AddSelection(const ElementNameType &name, ItemSelectionIndex index)
bool operator>(const PropertyKeyPath &right) const
NodeInfoVectorType::size_type PathIndexType
std::vector< NodeInfo > NodeInfoVectorType
PropertyKeyPath & AddAnySelection(const ElementNameType &name)
std::size_t ItemSelectionIndex
PropertyKeyPath(const PropertyKeyPath &path)
NodeInfo & GetFirstNode()
const NodeInfo & GetLastNode() const
PathIndexType AddNode(const NodeInfo &newNode)
const NodeInfo & GetFirstNode() const
PathIndexType GetSize() const
PropertyKeyPath & operator=(const PropertyKeyPath &path)
PropertyKeyPath & AddAnyElement()
bool operator>=(const PropertyKeyPath &right) const
std::string ElementNameType
const NodeInfo & GetNode(const PathIndexType &index) const
bool operator<=(const PropertyKeyPath &right) const
NodeInfo & GetNode(const PathIndexType &index)
Find image slices visible on a given plane.
MITKCORE_EXPORT std::string PropertyKeyPathToPersistenceKeyTemplate(const PropertyKeyPath &tagPath)
MITKCORE_EXPORT PropertyKeyPath PropertyNameToPropertyKeyPath(const std::string &propertyName)
MITKCORE_EXPORT std::string PropertyKeyPathToPersistenceKeyRegEx(const PropertyKeyPath &tagPath)
MITKCORE_EXPORT std::string PropertyKeyPathToPropertyRegEx(const PropertyKeyPath &tagPath)
MITKCORE_EXPORT std::ostream & operator<<(std::ostream &o, DataNode::Pointer &dtn)
MITKCORE_EXPORT std::map< PropertyKeyPath::ItemSelectionIndex, std::string > FindIndexedPropertyNames(const IPropertyProvider *provider, const PropertyKeyPath &path)
Helper function to find indexed entries for a PropertyKeyPath in a property provider.
MITKCORE_EXPORT std::string PropertyKeyPathToPersistenceNameTemplate(const PropertyKeyPath &tagPath)
MITKCORE_EXPORT std::string PropertyKeyPathToPropertyName(const PropertyKeyPath &tagPath)
NodeInfo(const ElementNameType &name, NodeType type=NodeType::Element, ItemSelectionIndex index=0)
bool operator==(const NodeInfo &right) const
ItemSelectionIndex selection
bool Matches(const NodeInfo &right) const