libsapling  0.8.0
Functions
path.h File Reference

Path implementation. More...

#include "libsapling/dm/graph.h"
#include "libsapling/dm/typed/typed_path.h"

Go to the source code of this file.

Functions

void * path__data (const node_t node)
 
void path__access (enum qt qt, node_t *ref, void *info, predicate_t predicate, apply_t apply)
 
void path__insert (node_t *ref, void *info, predicate_t predicate)
 
void path__delete (enum qt qt, node_t *ref, void *info, predicate_t predicate)
 
void path__print (FILE *stream, node_t *ref, fpfdata_t fpfdata)
 
void path__dump_dot (FILE *stream, node_t *ref, fpfdata_t fpfdata)
 
int path__length (const node_t *ref)
 
node_t * path__position (node_t *ref, int pos)
 Returns the subpath skipping pos nodes. More...
 

Detailed Description

Path implementation.

See also
graph.h

Function Documentation

◆ path__position()

node_t* path__position ( node_t *  ref,
int  pos 
)

Returns the subpath skipping pos nodes.

Returns
the subpath skipping pos nodes.