<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>giuseppe</author_name>
  <author_url>https://blog.hatena.ne.jp/giuseppe/</author_url>
  <blog_title>Curlでリッチプログラミング</blog_title>
  <blog_url>https://giuseppe.hatenadiary.org/</blog_url>
  <categories>
    <anon>TIPS</anon>
  </categories>
  <description>id:giuseppe:20070408では、for文のコンテナループの使い方を紹介しました。あるルールに従うことで、自分で定義したクラスについてもfor文で回せるようになります。 例えば、FooListクラスのオブジェクトが、内部にFooItemクラスのオブジェクトを複数保持しているとします。 {define-class FooItem} {define-class FooList field items:{Array-of FooItem} = {new {Array-of FooItem}} }このようなとき、FooListクラスに &quot;get&quot; という名前のメソッドと &quot;for-loop…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgiuseppe.hatenadiary.org%2Fentry%2F20070421%2F1177172095&quot; title=&quot;forで回せる自作クラス - Curlでリッチプログラミング&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-04-21 01:14:55</published>
  <title>forで回せる自作クラス</title>
  <type>rich</type>
  <url>https://giuseppe.hatenadiary.org/entry/20070421/1177172095</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
