36 return "Kross::Api::Dict";
42 TQMap<TQString, Object::Ptr> list = getValue();
43 for(TQMap<TQString, Object::Ptr>::Iterator it = list.begin(); it != list.end(); ++it)
44 s += "'" + it.key() + "' = '" + it.data()->toString() + "', ";
45 return (s.endsWith( ", ") ? s.left(s.length() - 2) : s) + "]";
virtual ~Dict() Destructor.
Dict(const TQMap< TQString, Object::Ptr > value) Constructor.
virtual const TQString getClassName() const
virtual const TQString toString()
The List class implementates Value to handle lists and collections.
The common Object class all other object-classes are inheritated from.
TDESharedPtr< Object > Ptr Shared pointer to implement reference-counting.
Template class to represent values.
TQMap< TQString, Object::Ptr > & getValue() Return the value.
The common Kross API used as common codebase.
|