#ifndef __JLANG__JTITLE__ #define __JLANG__JTITLE__ #include /** * \author mdejong */ namespace JLANG {} namespace JPP { using namespace JLANG; } namespace JLANG { /** * Auxiliary class for title. */ class JTitle { public: /** * Default constructor. */ JTitle() {} /** * Constructor. * * \param title title */ JTitle(const char* title) { this->title = title; } /** * Constructor. * * \param title title */ JTitle(const std::string& title) { this->title = title; } /** * Get title. * * \return title */ const std::string& getTitle() const { return this->title; } /** * Set title. * * \param title title */ void setTitle(const std::string& title) { this->title = title; } protected: std::string title; }; } #endif