Skip to content

Instantly share code, notes, and snippets.

@christianparpart
Last active October 12, 2018 13:32
Show Gist options
  • Save christianparpart/fa58aa18c68f3cb3f8b7c2c66f7142c5 to your computer and use it in GitHub Desktop.
Save christianparpart/fa58aa18c68f3cb3f8b7c2c66f7142c5 to your computer and use it in GitHub Desktop.
#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