LCOV - code coverage report
Current view: top level - db - db_graph_table.h (source / functions) Hit Total Coverage
Test: OpenSDN C/C++ coverage (all TARGET_SET jobs) Lines: 4 4 100.0 %
Date: 2026-11-09 02:10:49 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * Copyright (c) 2016 Juniper Networks, Inc. All rights reserved.
       3             :  * Copyright Contributors to the OpenSDN project
       4             :  */
       5             : 
       6             : #ifndef ctrlplane_db_graph_table_h
       7             : #define ctrlplane_db_graph_table_h
       8             : 
       9             : #include "db/db_graph.h"
      10             : #include "db/db_table.h"
      11             : 
      12             : class DBGraphTable : public DBTable {
      13             : public:
      14     1233751 :     DBGraphTable(DB *db, const std::string &name, DBGraph *graph) :
      15     1233751 :         DBTable(db, name), graph_(graph) {
      16     1233751 :     }
      17             :     const DBGraph *graph() const { return graph_; }
      18      796715 :     DBGraph *graph() { return graph_; }
      19             : 
      20             : private:
      21             : 
      22             :     DBGraph *graph_;
      23             : };
      24             : 
      25             : #endif

Generated by: LCOV version 1.14