From Giona
#ifndef GENERICATTRIBUTE_H_
#define GENERICATTRIBUTE_H_
#include <cstring>
#include "gionaTypes.h"
#include "Debug.h"
class GenericAttribute
{
public:
static const int ERROR_NO = 0;
static const int ERROR_NULL_PARAMETER = 1;
static const int ERROR_EMPTY_STRING = 2;
GenericAttribute();
virtual ~GenericAttribute();
bool setName(STRING name);
STRING getName();
bool setValue(STRING value);
STRING getValue();
bool setDescription(STRING description);
STRING getDescription();
int getLastError();
private:
STRING name;
STRING value;
STRING description;
int lastError;
};
#endif /*GENERICATTRIBUTE_H_*/
BACK