メモ Edit

型定義 Edit

項目podstructclassinterface
コンストラクタo *1oox
デストラクタxoox
structメンバ変数xoox
objectメンバ変数xoox
メンバ関数oooo
ガベージコレクタ対象xxoo
インターフェースの継承xxoo
公開修飾子(public/private)xoox

1 : 全部0で初期化

interface Edit

すべてを展開すべてを収束
  1
  2
  3
  4
  5
  6
  7
 
-
|
|
|
|
!
interface IButtonListener
{
    // 抽象関数(絶対実装)
    abstract void onButtonPush( in IButton sender )const;
    // デフォルト実装ありの関数
    void onButtonFocused( in IButton sender )const{}
};

class Edit

すべてを展開すべてを収束
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 
-
|
|
|
|
|
|
|
|
|
|
|
!
 
 
-
!
 
class A
{
    //--- 公開修飾子(デフォルトpublic)
    // C++/Dスタイル
public: 
    void funcPubA(){} // public
private:
    void funcPriA(){} // private
 
    // JAVA/C#/Dスタイル
    public void funcPubB(){} // public
    private void funcPriB(){} // private
 
};
 
class B : IButtonListener // interfaceの継承
{
};

    ホーム 一覧 検索 最終更新 バックアップ リンク元   ヘルプ   最終更新のRSS