1 // Scintilla source code edit control
2 /** @file PropSetSimple.h
3 ** A basic string to string map.
5 // Copyright 1998-2009 by Neil Hodgson <neilh@scintilla.org>
6 // The License.txt file describes the conditions under which this software may be distributed.
8 #ifndef PROPSETSIMPLE_H
9 #define PROPSETSIMPLE_H
17 // Deleted so PropSetSimple objects can not be copied.
18 PropSetSimple(const PropSetSimple
&) = delete;
19 PropSetSimple(PropSetSimple
&&) = delete;
20 PropSetSimple
&operator=(const PropSetSimple
&) = delete;
21 PropSetSimple
&operator=(PropSetSimple
&&) = delete;
22 virtual ~PropSetSimple();
24 bool Set(std::string_view key
, std::string_view val
);
25 const char *Get(std::string_view key
) const;
26 int GetInt(std::string_view key
, int defaultValue
=0) const;