[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 00e66fab 1/2: Use access-specifiers to specif
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 00e66fab 1/2: Use access-specifiers to specify access |
Date: |
Tue, 12 Jul 2022 10:41:32 -0400 (EDT) |
branch: master
commit 00e66fabab20e28f759537b1a5ee3425b827921b
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Use access-specifiers to specify access
This is more natural than the preceding commit. See:
https://lists.nongnu.org/archive/html/lmi/2022-07/msg00044.html
---
datum_sequence.hpp | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/datum_sequence.hpp b/datum_sequence.hpp
index b1e1a313..75ffa21c 100644
--- a/datum_sequence.hpp
+++ b/datum_sequence.hpp
@@ -59,6 +59,14 @@ class datum_sequence
:public datum_string
{
public:
+ bool equals(datum_sequence const&) const;
+
+ virtual bool numeric_values_are_allowable() const;
+ virtual bool keyword_values_are_allowable() const;
+ virtual std::string const default_keyword() const;
+ virtual std::map<std::string,std::string> const allowed_keywords() const;
+
+ protected:
datum_sequence();
explicit datum_sequence(std::string const&);
@@ -72,14 +80,6 @@ class datum_sequence
void block_keyword_values(bool);
- virtual bool numeric_values_are_allowable() const;
- virtual bool keyword_values_are_allowable() const;
- virtual std::string const default_keyword() const;
- virtual std::map<std::string,std::string> const allowed_keywords() const
=0;
-
- bool equals(datum_sequence const&) const;
-
- protected:
bool keyword_values_are_blocked() const;
private: