Skip to content

Instantly share code, notes, and snippets.

@Xisabla
Last active August 16, 2021 07:28
Show Gist options
  • Save Xisabla/1c6895705e31f94c603a1a82f39a4ddd to your computer and use it in GitHub Desktop.
Save Xisabla/1c6895705e31f94c603a1a82f39a4ddd to your computer and use it in GitHub Desktop.
/*=========================================================================
Project: ${PROJECT_NAME}
File: ${FILE_NAME}
Copyright (c) $YEAR - All rights reserved
Distributed under the MIT License (https://opensource.org/licenses/MIT)
=========================================================================*/
#parse("C File Header.h")
#pragma once
#[[#ifndef]]# ${INCLUDE_GUARD}
#[[#define]]# ${INCLUDE_GUARD}
#[[#endif]]# //${INCLUDE_GUARD}
#parse("C File Header.h")
#pragma once
#[[#ifndef]]# ${INCLUDE_GUARD}
#[[#define]]# ${INCLUDE_GUARD}
${NAMESPACES_OPEN}
/**
* @class ${NAME}
* @brief Short description of the class
*/
class ${NAME} {
public:
${NAME}();
// - Getters -----------------------------------------------------------------------------
// - Setters -----------------------------------------------------------------------------
// - Methods -----------------------------------------------------------------------------
// - Friends -----------------------------------------------------------------------------
private:
// - Methods -----------------------------------------------------------------------------
// - Attributes --------------------------------------------------------------------------
};
${NAMESPACES_CLOSE}
#[[#endif]]# //${INCLUDE_GUARD}
#parse("C File Header.h")
#[[#include]]# "${HEADER_FILENAME}"
#set($CLASS_NAME = "${NAME}")
#set($CNAME = $CLASS_NAME.replace("_", " "))
// --------------------------------------------------------------------------------------
// ${CNAME}
// --------------------------------------------------------------------------------------
// --------------------------------------------------------------------------------------
// ${CNAME} > GETTERS
// --------------------------------------------------------------------------------------
// --------------------------------------------------------------------------------------
// ${CNAME} > SETTERS
// --------------------------------------------------------------------------------------
// --------------------------------------------------------------------------------------
// ${CNAME} > PUBLIC METHODS
// --------------------------------------------------------------------------------------
// --------------------------------------------------------------------------------------
// ${CNAME} > PRIVATE METHODS
// --------------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment