All pastes #410889 Raw Edit

Stuff

public text v1 · immutable
#410889 ·published 2007-03-26 19:05 UTC
rendered paste body
#include "entry.h"

std::string entry::getType()
{ return type; }
std::string entry::getTitle()
{ return title; }
std::string entry::getInterpret()
{ return interpret; }
std::string entry::getInfo()
{ return info; }
void entry::setType(std::string s)
{ type = s; }
void entry::setTitle(std::string s)
{ title = s;}
void entry::setInterpret(std::string s)
{ interpret = s;}
void entry::setInfo(std::string s)
{ info = s;}

std::string toString()
{
	std::string s;
        std::string c = ",";
	s = type + c + title + c + interpret + c + info;
	return s;
}