CCF
Loading...
Searching...
No Matches
include
ccf
kv
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
7
namespace
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
}
ccf::kv
Definition
app_interface.h:19
ccf::kv::GetName
Definition
get_name.h:10
ccf::kv::GetName::get_name
const std::string & get_name() const
Definition
get_name.h:18
ccf::kv::GetName::~GetName
virtual ~GetName()=default
ccf::kv::GetName::GetName
GetName(const std::string &s)
Definition
get_name.h:15
ccf::kv::GetName::name
std::string name
Definition
get_name.h:12
Generated by
1.9.8