Skip to content

Instantly share code, notes, and snippets.

@borerere
Last active August 6, 2018 23:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save borerere/fff337337cad0f5ccc73bf5da831f0f6 to your computer and use it in GitHub Desktop.
Save borerere/fff337337cad0f5ccc73bf5da831f0f6 to your computer and use it in GitHub Desktop.
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