Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
bfs/breadcrumbs/doc/style/style.hpp
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
39 lines (34 sloc)
830 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* | |
* This file contains the style of each programming construct | |
* to use in this project. | |
* | |
* It should be followed to the letter! All spaces are | |
* necessary! Make sure to take note of camel case and other | |
* variable naming schemes! | |
* | |
*/ | |
#ifndef STYLE_HPP | |
#define STYLE_HPP | |
#include <stdio.h> | |
#include "style.hpp" | |
// Header File: | |
class TestClass | |
{ | |
public: | |
// Constructors | |
TestClass(int AttrOne, char AttrTwo); | |
// Mutator methods | |
int getAttrSum(); | |
char attrTwoTimesTwo(); | |
void setAttrOne(int newAttrOne) { i_attrOne = newAttrOne } | |
void setAttrTwo(char newAttrTwo) { c_attrTwo = newAttrTwo } | |
// Accessor methods | |
int getAttrOne() { return i_attrOne } | |
char getAttrTwo() { return c_attrTwo } | |
private: | |
// Private variables | |
int i_attrOne = 0; | |
char c_attrTwo; | |
}; | |
#endif |