Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Concepts
EdgeBase.hpp
Go to the documentation of this file.
1
6// Copyright (c) 2017 Czech Technical University in Prague | Faculty of Information Technology. All rights reserved.
7
8#pragma once
9
10namespace edge {
11
15class EdgeBase {
16public:
17 virtual ~EdgeBase ( ) noexcept = default;
18
19// ---------------------------------------------------------------------------------------------------------------------
20
21 public:
22// ---------------------------------------------------------------------------------------------------------------------
23 friend ext::ostream & operator << ( ext::ostream & os, const EdgeBase & instance ) {
24 instance >> os;
25 return os;
26 }
27
28 virtual void operator >> ( ext::ostream & os ) const = 0;
29};
30
31} // namespace edge
32
Definition: EdgeBase.hpp:15
virtual void operator>>(ext::ostream &os) const =0
virtual ~EdgeBase() noexcept=default
Definition: ostream.h:14
Definition: CapacityEdge.hpp:18
Definition: sigHandler.cpp:20