GraphDom
Loading...
Searching...
No Matches
non_mixed_graph_vertex_container.h
1/*
2 * Copyright 2026 Michele Comparini
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef GRAPHDOM_NON_MIXED_GRAPH_VERTEX_CONTAINER_H
8#define GRAPHDOM_NON_MIXED_GRAPH_VERTEX_CONTAINER_H
9
10#include "../graph.h"
11#include "vertex_container.h"
12
13namespace graphdom {
14 template <typename VertexType>
15 template <typename VertexContainerPointerType>
16 class graph<VertexType>::non_mixed_graph_vertex_container : public vertex_container {
17 public:
18 non_mixed_graph_vertex_container() = delete;
19 non_mixed_graph_vertex_container(const non_mixed_graph_vertex_container&) = delete;
20 non_mixed_graph_vertex_container(non_mixed_graph_vertex_container&&) = delete;
21 explicit non_mixed_graph_vertex_container(const VertexType& v);
22 explicit non_mixed_graph_vertex_container(VertexType&& v);
23
24 ~non_mixed_graph_vertex_container() = default;
25
26 mutable adj_set<VertexContainerPointerType> adj;
27 };
28}
29
30#include "impl/non_mixed_graph_vertex_container.h"
31
32#endif //GRAPHDOM_NON_MIXED_GRAPH_VERTEX_CONTAINER_H
Every graph created using this library is an instance of a concrete class publicly derived,...
Definition graph.h:43
Definition adj_list.h:16