* indentations + whitespace cleanup

This commit is contained in:
Caner Candan 2011-05-05 16:54:00 +02:00
commit 56c6edab04
285 changed files with 6068 additions and 6223 deletions

View file

@ -7,23 +7,22 @@
class ValueParam : public eoParam // ValueParam containing python object
{
boost::python::object obj;
public:
ValueParam() : eoParam(), obj() {}
ValueParam(boost::python::object o,
std::string longName,
std::string d = "No Description",
char s = 0,
bool r = false) : eoParam(longName, "", d, s, r)
{
std::cerr << "HI" << std::endl;
obj = o;
eoParam::defValue(getValue());
}
public:
ValueParam() : eoParam(), obj() {}
ValueParam(boost::python::object o,
std::string longName,
std::string d = "No Description",
char s = 0,
bool r = false) : eoParam(longName, "", d, s, r)
{
std::cerr << "HI" << std::endl;
obj = o;
eoParam::defValue(getValue());
}
std::string getValue() const
{
boost::python::str s = boost::python::str(obj);
@ -37,7 +36,6 @@ class ValueParam : public eoParam // ValueParam containing python object
boost::python::object getObj() const { return obj;}
void setObj(boost::python::object o) { obj = o; }
};
#endif