{"id":15047194,"url":"https://github.com/bastienkody/classmakercpp","last_synced_at":"2026-01-05T20:08:49.901Z","repository":{"id":210971838,"uuid":"727885410","full_name":"bastienkody/classMakerCpp","owner":"bastienkody","description":"Canonical form c++ classes definition maker (ecole 42 compliant)","archived":false,"fork":false,"pushed_at":"2024-06-04T12:32:58.000Z","size":154,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T19:19:40.936Z","etag":null,"topics":["automation","cpp","cpp98","script"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bastienkody.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-05T19:22:35.000Z","updated_at":"2024-06-04T12:33:01.000Z","dependencies_parsed_at":"2024-06-04T14:00:20.514Z","dependency_job_id":"367c09d6-2269-4919-b699-4e05540986b6","html_url":"https://github.com/bastienkody/classMakerCpp","commit_stats":null,"previous_names":["bastienkody/ocf_maker","bastienkody/classmakercpp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bastienkody%2FclassMakerCpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bastienkody%2FclassMakerCpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bastienkody%2FclassMakerCpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bastienkody%2FclassMakerCpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bastienkody","download_url":"https://codeload.github.com/bastienkody/classMakerCpp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245334908,"owners_count":20598389,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","cpp","cpp98","script"],"created_at":"2024-09-24T20:55:09.875Z","updated_at":"2026-01-05T20:08:49.807Z","avatar_url":"https://github.com/bastienkody.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# classMakerCpp\nOthodox Canonical Form classes declaration script for c++std98 (ecole 42 compliant)\n\n## What is this?\nEasy to use bash script that creates and populates both .hpp and .cpp files for a given class name.  \n*\tIt implements Canonical form basics : \n\t*\tDefault constructor\n\t*\tDefault destructor\n\t*\tCopy constructor\n\t*\tCopy operator  \n\n*\tBut also few additionals :\n\t*\t_name : std::string private member\n\t*\tParametric constructor (to _name)\n\t*\tGetter on _name\n\t*\tSetter on _name\n\t*\tOstream operator\u003c\u003c redefinition (it outputs _name)\n\t*\tIncludes for \\\u003cstring\\\u003e and \\\u003ciostream\\\u003e\n\n\nYou want to modify some parts?  \nFeel free to fork the repo, or simply modify the script after having it cloned. \n\n## Quick install (single use)\nIn the repo you want your class files : `git clone git@github.com:bastienkody/classMakerCpp.git`\n\n## Permanent install (no sudo rights, ie. for 42 dumps)\n*\tYou need a specific directory to store you binaries such as : `mkdir ~/bin`  \n*\tClone the repo anywhere : `cd /tmp \u0026\u0026 git clone git@github.com:bastienkody/classMakerCpp.git`  \n*\tCopy the .sh in ~/.bin : `cd /tmp ; cp classMakercpp.sh ~/.bin`  \n*\tYou may define an alias saved in your .\\\u003cshell\\\u003erc : `echo \"alias claspp='classMakercpp'\" \u003e\u003e ~/.bashrc` (if zsh use : ~/.zshrc)  \n*\tAdd your binaries repo to the PATH : `$PATH+=:~/bin`  \n*\tMake it permanent in your .\\\u003cshell\\\u003erc : `echo \"$PATH+=:~/bin\" \u003e\u003e ~/.bashrc` (if zsh use : ~/.zshrc)\n\n## Usage\n*\tLaunch the script : `./classMakercpp.sh \u003cClassName\u003e`  \n*\tClassName is a mandatory argument : the name of the class  \n*\tThis would create both ClassName.cpp and Classname.hpp in your current directory  \n\n\n## Illustrations\nCommand line :  \n![alt text](https://github.com/bastienkody/classMakerCpp/blob/main/images/command_line.png)  \n.hpp :  \n![alt text](https://github.com/bastienkody/classMakerCpp/blob/main/images/Animalhpp.png)  \n.cpp :  \n![alt text](https://github.com/bastienkody/classMakerCpp/blob/main/images/Animalcpp.png)  \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbastienkody%2Fclassmakercpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbastienkody%2Fclassmakercpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbastienkody%2Fclassmakercpp/lists"}