From e1fa4a088dd95caef22045f905a9d5d22b71bef0 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Tue, 24 Jan 2017 21:50:39 -0500 Subject: Whitespace changes --- generator/group.h | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'generator/group.h') diff --git a/generator/group.h b/generator/group.h index 5084ea4..83f40c2 100644 --- a/generator/group.h +++ b/generator/group.h @@ -9,71 +9,71 @@ namespace verbly { namespace generator { - + class frame; class database; - + class group { public: - + // Constructor - + group(); - + // Mutators - + void setParent(const group& parent); - + void addRole(role r); - + void addFrame(const frame& f); - + // Accessors - + int getId() const { return id_; } - + bool hasParent() const { return (parent_ != nullptr); } - + const group& getParent() const { // Calling code should always call hasParent first assert(parent_ != nullptr); - + return *parent_; } - + std::set getRoles() const; - + const role& getRole(std::string name) const; - + std::set getFrames() const; - + private: - + static int nextId_; - + const int id_; - + const group* parent_ = nullptr; std::map roles_; std::set frames_; - + // Caches - + std::set roleNames_; - + }; - + // Serializer - + database& operator<<(database& db, const group& arg); - + }; }; -- cgit 1.4.1