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-06-08 02:02:55 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             :  */
       4             : 
       5             : #ifndef ctrlplane_db_graph_table_h
       6             : #define ctrlplane_db_graph_table_h
       7             : 
       8             : #include "db/db_graph.h"
       9             : #include "db/db_table.h"
      10             : 
      11             : class DBGraphTable : public DBTable {
      12             : public:
      13     1232851 :     DBGraphTable(DB *db, const std::string &name, DBGraph *graph) :
      14     1232851 :         DBTable(db, name), graph_(graph) {
      15     1232851 :     }
      16             :     const DBGraph *graph() const { return graph_; }
      17      756880 :     DBGraph *graph() { return graph_; }
      18             : 
      19             : private:
      20             : 
      21             :     DBGraph *graph_;
      22             : };
      23             : 
      24             : #endif

Generated by: LCOV version 1.14