GCC Code Coverage Report
Directory: QGVCore/ Exec Total Coverage
File: QGVCore/private/QGVGraphPrivate.cpp Lines: 0 6 0.0 %
Date: 2024-03-31 10:30:44 Branches: 0 2 0.0 %

Line Branch Exec Source
1
#include "QGVGraphPrivate.h"
2
3
QGVGraphPrivate::QGVGraphPrivate(Agraph_t *graph) : _graph(NULL) {
4
  setGraph(graph);
5
}
6
7
void QGVGraphPrivate::setGraph(Agraph_t *graph) {
8
  if (_graph != NULL) agclose(_graph);
9
  _graph = graph;
10
}
11
12
Agraph_t *QGVGraphPrivate::graph() const { return _graph; }