kDB: Knowledge DataBase
Loading...
Searching...
No Matches
knowSHACL::Path Class Reference

#include <Path.h>

Classes

struct  Private
 

Public Types

enum class  Type {
  Predicate , Alternative , Inverse , ZeroOrMore ,
  OneOrMore , ZeroOrOne , PropertyPath
}
 

Public Member Functions

 Path (const Path &_rhs)
 
Pathoperator= (const Path &_rhs)
 
Type type () const
 
bool isValid () const
 
knowCore::Uri predicate () const
 
knowCore::UriList alternatives () const
 
std::optional< Pathnext () const
 
bool match (const knowCore::Uri &) const
 
bool operator== (const Path &_rhs) const
 

Friends

class details::DefinitionParser
 
class Validator
 
class ValidationResults
 

Detailed Description

Represents a property path

Member Function Documentation

◆ isValid()

bool Path::isValid ( ) const
Returns
true if the path is valid.

◆ operator==()

bool Path::operator== ( const Path & _rhs) const
Returns
true if two paths are equals

The documentation for this class was generated from the following files: