Last active
October 12, 2018 13:32
-
-
Save christianparpart/fa58aa18c68f3cb3f8b7c2c66f7142c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string> | |
class Blueprint | |
{ | |
private: | |
std::string typeName_; | |
std::string name_; | |
public: | |
explicit Blueprint(const std::string& name) : typeName_{"docker"}, name_{name} {} | |
Blueprint(const std::string& typeName, const std::string& name) : typeName_{typeName}, name_{name} {} | |
const std::string& getTypeName() { return typeName_; } | |
const std::string& getName() { return name_; } | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment