#ifndef _ICoCoField_included_
#define _ICoCoField_included_
-#include <string>
-
-namespace ICoCo {
+#include <string>
- class Field {
+namespace ICoCo
+{
+ class Field
+ {
public:
Field();
virtual ~Field();
void setName(const std::string& name);
const std::string& getName() const;
- const char* getCharName() const;
-
+ const char *getCharName() const;
private:
- std::string* _name;
+ std::string _name;
};
}
+
#endif