Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
1.Run Script 2. Input Space-separated class name list 3.Output Class Definition
# coding: UTF-8
list = raw_input().split()
for cls_name in list:
print("////////////////////////////////////////////////////////////////////////////")
print("// {0}".format(cls_name))
print("////////////////////////////////////////////////////////////////////////////")
print("/*!")
print(" * @brief コンストラクタ")
print(" * @param ")
print(" * @return なし")
print(" * @throw なし")
print(" */")
print("{0}::{0}(){{}}".format(cls_name))
print("")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.