28 #include <opencog/util/Logger.h>
32 using namespace opencog;
38 throw InvalidParamException(TRACE_INFO,
39 "Node - Invalid node type '%d' %s.",
47 std::string tmpname =
_name;
49 tmpname =
"#" + std::to_string(
_uuid);
51 std::string nam = indent +
54 " \"" + tmpname +
"\") ; [" +
55 std::to_string(
_uuid) +
"]\n";
63 std::string tmpname =
_name;
65 tmpname =
"#" + std::to_string(
_uuid);
66 snprintf(buf,
BUFSZ,
"(%s \"%s\" (av %d %d %d) %s) ; [%lu]\n",
85 return not (*
this == other);
AttentionValuePtr getAttentionValue()
std::string toString(std::string indent="")
ClassServer & classserver(ClassServerFactory *=ClassServer::createInstance)
virtual bool operator!=(const Atom &) const
void init(const std::string &)
std::string toShortString(std::string indent="")
const std::string & getName() const
const std::string & getTypeName(Type type)
TruthValuePtr getTruthValue()
virtual bool operator==(const Atom &) const