CCF
Loading...
Searching...
No Matches
get_name.h
Go to the documentation of this file.
1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the Apache 2.0 License.
3#pragma once
4
5#include <string>
6
7namespace ccf::kv
8{
9 struct GetName
10 {
11 protected:
12 std::string name;
13
14 public:
15 GetName(const std::string& s) : name(s) {}
16 virtual ~GetName() = default;
17
18 const std::string& get_name() const
19 {
20 return name;
21 }
22 };
23}
Definition app_interface.h:19
Definition get_name.h:10
const std::string & get_name() const
Definition get_name.h:18
virtual ~GetName()=default
GetName(const std::string &s)
Definition get_name.h:15
std::string name
Definition get_name.h:12