28 #include "CommandEntity.h" 56 {
return (name==other.name); }
59 {
return (name<other.name); }
64 boost::python::dict
getPyDict(
void)
const;
65 void setPyDict(
const boost::python::dict &);
void setPyDict(const boost::python::dict &)
Set the values of the object members from a Python dictionary.
Definition: NamedEntity.cc:34
NamedEntity & operator+=(const NamedEntity &)
+= operator.
Definition: NamedEntity.cc:41
NamedEntity & operator*=(const NamedEntity &)
*= operator.
Definition: NamedEntity.cc:55
bool operator<(const NamedEntity &other) const
Less than operator.
Definition: NamedEntity.h:58
std::string & Name(void)
Return a reference to the object name.
Definition: NamedEntity.h:52
Objet that can execute python scripts.
Definition: CommandEntity.h:40
const std::string & getName(void) const
Return the object name.
Definition: NamedEntity.h:46
void setName(const std::string &s)
Set the object name.
Definition: NamedEntity.h:49
Object identified by a name.
Definition: NamedEntity.h:37
virtual bool operator==(const NamedEntity &other) const
Comparison operator.
Definition: NamedEntity.h:55
boost::python::dict getPyDict(void) const
Return a Python dictionary with the object members values.
Definition: NamedEntity.cc:26
NamedEntity & operator-=(const NamedEntity &)
-= operator.
Definition: NamedEntity.cc:48
NamedEntity(const std::string &Name="", CommandEntity *owr=nullptr)
Constructor.
Definition: NamedEntity.h:43