示例#1
0
/**
 * @see Object::description(const Object *)
 */
static String *description(const Object *self) {

	View *this = (View *) self;

	String *classNames = $((Array *) this->classNames, componentsJoinedByCharacters, ", ");
	String *description = str("%s@%p \"%s\" %s [%d, %d, %d, %d]",
							  this->identifier ?: classnameof(self),
							  self,
							  ((Option *) self)->title->text,
							  classNames->chars,
							  this->frame.x, this->frame.y, this->frame.w, this->frame.h);

	release(classNames);
	return description;
}
示例#2
0
 // overriding ResourceData
 const String& o_getClassNameHook() const override { return classnameof(); }
示例#3
0
 // overriding ResourceData
 virtual const String& o_getClassNameHook() const { return classnameof(); }
示例#4
0
const String& XmlParser::o_getClassNameHook() const {
  return classnameof();
}
示例#5
0
 // overriding ResourceData
 virtual CStrRef o_getClassNameHook() const { return classnameof();}
示例#6
0
const String& DummyResource::o_getClassNameHook() const {
  if (m_class_name.empty()) {
    return classnameof();
  }
  return m_class_name;
}