* indentations + whitespace cleanup
This commit is contained in:
parent
8457e39efe
commit
56c6edab04
285 changed files with 6068 additions and 6223 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue