Owl's perspective
とりあえず Embarcadero RAD Studio/Delphi/C++Builder 関係のあれやこれや。 Prism.jsによるコードのハイライトのテスト中。
Pages
(移動先: ...)
Blog
定番情報源
Quick links (update: 2025/10/10)
Delphi Books (update: 2025/11/04)
Delphi versions (update: 2025/09/11)
Update links
EDN Article Index 30001-
EDN Article Index 31001-
EDN Article Index 32001-
EDN Article Index 33001-
EDN Article Index 34001-
EDN Article Index 35001-
EDN Article Index 36001-
EDN Article Index 37001-
EDN Article Index 38001-
EDN Article Index 39001-
EDN Article Index 40001-
EDN Article Index 41001-
EDN Article Index 42001-
EDN Article Index 43001-
EDN Article Index 44001-
▼
2009年8月17日
RAD Studio 2010の新機能その8
コンパイラ/RTTI
TCustomAttributeクラスを派生してカスタム属性を定義し、これをクラスやクラスのメンバに適用することで、RTTIを使用して実行時にその属性を取得できるようになります(でいいのかな?後で再確認)。これを利用してORマッパ(object-relational mapper)のようなものも作れます、ということのようです。詳細は
Malcolm Grovesさん
の
RTTI and Attributes in Delphi 2010
と
Wings of Windさん
の
RAD Studio 2010 Review #9: – Attributes, The new RTTI and DB Access
。
0 件のコメント:
コメントを投稿
‹
›
ホーム
ウェブ バージョンを表示
0 件のコメント:
コメントを投稿