Debian Codegraph @

src/core/idatasource.h

raw symbols SCIP
1 // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/idatasource.h`/
2 // Copyright 2019 Juan Palacios <[email protected]>
3
4 #pragma once
5
6 #include <string>
7
8 /// Interface of a data source.
9 /// A data source only provides data.
10 template<typename... Ts>
11 class IDataSourcecxx . . $ IDataSource#
12 {
13 public:
14 /// Where the data comes from.
15 /// @returns source name
16 virtual stdcxx . . $ std/::stringcxx . . $ std/string# sourcecxx . . $ IDataSource#source(219584694fe2b248).() const = 0;
17
18 /// Read the data from the source. The readed data is stored into
19 /// this function arguments.
20 /// @return true when the operation succeed
21 virtual bool readcxx . . $ IDataSource#read(ad81cd1bcc32f58b).(Ts &...args) = 0;
22
23 virtual ~cxx . . $ IDataSource#`~IDataSource<Ts...>`(49f6e7a06ebc5aa8).IDataSource() = default;
24 };