raiigraph
C++ RAII for igraph data structures
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
raiigraph Namespace Reference

Utilities for manipulating igraph data structures in C++. More...

Classes

class  Graph
 Wrapper around igraph_t objects with RAII behavior. More...
 
class  IgraphError
 Error class for igraph-related errors. More...
 
class  Matrix
 Wrapper around igraph_matrix_*_t objects with RAII behavior. More...
 
class  RNGScope
 Control the igraph RNG via RAII. More...
 
class  Vector
 Wrapper around igraph_vector_*_t objects with RAII behavior. More...
 

Typedefs

typedef Matrix< matrix_internal::Integer > IntMatrix
 
typedef Matrix< matrix_internal::Real > RealMatrix
 
typedef Matrix< matrix_internal::Bool > BoolMatrix
 
typedef Vector< internal::Integer > IntVector
 
typedef Vector< internal::Real > RealVector
 
typedef Vector< internal::Bool > BoolVector
 

Functions

void check_code (igraph_error_t code)
 

Detailed Description

Utilities for manipulating igraph data structures in C++.

Typedef Documentation

◆ BoolMatrix

typedef Matrix<matrix_internal::Bool> raiigraph::BoolMatrix

Matrix of igraph booleans.

◆ BoolVector

typedef Vector<internal::Bool> raiigraph::BoolVector

Vector of igraph booleans.

◆ IntMatrix

typedef Matrix<matrix_internal::Integer> raiigraph::IntMatrix

Matrix of igraph integers.

◆ IntVector

typedef Vector<internal::Integer> raiigraph::IntVector

Vector of igraph integers.

◆ RealMatrix

typedef Matrix<matrix_internal::Real> raiigraph::RealMatrix

Matrix of igraph reals.

◆ RealVector

typedef Vector<internal::Real> raiigraph::RealVector

Vector of igraph reals.

Function Documentation

◆ check_code()

void raiigraph::check_code ( igraph_error_t  code)
inline

Throw an IgraphError if code is not IGRAPH_SUCCESS.

Parameters
codeError code returned by igraph functions.