From e1fa4a088dd95caef22045f905a9d5d22b71bef0 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Tue, 24 Jan 2017 21:50:39 -0500 Subject: Whitespace changes --- lib/selrestr.h | 56 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'lib/selrestr.h') diff --git a/lib/selrestr.h b/lib/selrestr.h index 9f82e3e..a7cde0a 100644 --- a/lib/selrestr.h +++ b/lib/selrestr.h @@ -6,7 +6,7 @@ #include "../vendor/json/json.hpp" namespace verbly { - + class selrestr { public: enum class type { @@ -14,63 +14,63 @@ namespace verbly { singleton, group }; - + // Construct from json - + explicit selrestr(nlohmann::json json); - + // Copy and move constructors - + selrestr(const selrestr& other); selrestr(selrestr&& other); - + // Assignment - + selrestr& operator=(selrestr other); - + // Swap - + friend void swap(selrestr& first, selrestr& second); - + // Destructor - + ~selrestr(); - + // Generic accessors - + type getType() const { return type_; } - + // Empty - + selrestr(); - + // Singleton - + selrestr(std::string restriction, bool pos); - + std::string getRestriction() const; - + bool getPos() const; - + // Group - + selrestr(std::list children, bool orlogic); - + std::list getChildren() const; - + std::list::const_iterator begin() const; - + std::list::const_iterator end() const; - + bool getOrlogic() const; - + // Helpers - + nlohmann::json toJson() const; - + private: union { struct { -- cgit 1.4.1