Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zakariaelbouzkri/class-ganerator
this project is script that i used to generate classes in othodox canonical form
https://github.com/zakariaelbouzkri/class-ganerator
cpp orthodox-canonical-class python3 scripting
Last synced: 3 days ago
JSON representation
this project is script that i used to generate classes in othodox canonical form
- Host: GitHub
- URL: https://github.com/zakariaelbouzkri/class-ganerator
- Owner: ZakariaElbouzkri
- Created: 2023-09-14T00:31:47.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-27T00:47:55.000Z (19 days ago)
- Last Synced: 2024-10-27T01:48:54.340Z (19 days ago)
- Topics: cpp, orthodox-canonical-class, python3, scripting
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cppOrthodoxCanonicalGenerator
# Class Generator
This Python script is designed to generate C++ class files in the Orthodox Canonical form. It creates the following files for a given class name: `main.cpp`, `ClassName.cpp`, `ClassName.hpp`, and `Makefile`.
## Usage
1. Clone this repository to your local machine or download the script:
```bash
git clone https://github.com/ZakariaElbouzkri/class-ganerator.git2. Navigate to the project directory:
```bash
cd class-generator3. install for macOS:
```bash
in zsh:
echo 'alias genClass="python3 ~/class-generator/script.py"' >> ~/.zshrc
or in bash:
echo 'alias genClass="python3 ~/class-generator/script.py"' >> ~/.bashrc## Examples:
genClass Person
- this comand will generate the following files with orthodox-canonial form
* main.cpp
* Person.cpp
* Person.hpp
* MakefileYou can then edit the generated files to implement your class functionality.