raiigraph
C++ RAII for igraph data structures
|
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) |
Utilities for manipulating igraph data structures in C++.
typedef Matrix<matrix_internal::Bool> raiigraph::BoolMatrix |
Matrix of igraph booleans.
typedef Vector<internal::Bool> raiigraph::BoolVector |
Vector of igraph booleans.
typedef Matrix<matrix_internal::Integer> raiigraph::IntMatrix |
Matrix of igraph integers.
typedef Vector<internal::Integer> raiigraph::IntVector |
Vector of igraph integers.
typedef Matrix<matrix_internal::Real> raiigraph::RealMatrix |
Matrix of igraph reals.
typedef Vector<internal::Real> raiigraph::RealVector |
Vector of igraph reals.
|
inline |
Throw an IgraphError
if code
is not IGRAPH_SUCCESS
.
code | Error code returned by igraph functions. |