aboutsummaryrefslogtreecommitdiff
path: root/code-style-example/style.cpp
blob: a42fca8db9314ede067092600350587cc772b89e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "style.h"

MyClass::MyClass(int t_value) : m_value(t_value) {}

MyClass::MyClass() { m_value = 0; }

MyClass::~MyClass() {}

const int MyClass::get_value() const { return m_value; }

void MyClass::set_value(const int t_value) { m_value = t_value; }

void MyClass::increment() { m_value += 1; }