my_class.h 359 Bytes
Newer Older
Erik Strand's avatar
Erik Strand committed
1 2
#ifndef SIMUCENE_MY_CLASS_H
#define SIMUCENE_MY_CLASS_H
Erik Strand's avatar
Erik Strand committed
3 4 5

#include <string>

Erik Strand's avatar
Erik Strand committed
6
namespace simucene {
Erik Strand's avatar
Erik Strand committed
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21

//--------------------------------------------------------------------------------------------------
class MyClass {
public:
    MyClass(std::string const& name): name_(std::move(name)) {}

    void hello() const;

private:
    std::string name_;
};

}

#endif