Solution46
|
ウィンドウリストクラス [詳解]
#include "CWndList.h"
公開メンバ関数 | |
CWndList () noexcept | |
コンストラクタ [詳解] | |
CWndList (CWndList &&rcInstance) noexcept | |
ムーブコンストラクタ [詳解] | |
virtual | ~CWndList () noexcept |
デストラクタ [詳解] | |
virtual void | Clear () noexcept override |
クリア関数 [詳解] | |
virtual bool | CreateListWindow (HWND hParent=nullptr, HMENU hMenu=nullptr) noexcept |
エレメントウィンドウリスト作成関数 [詳解] | |
virtual int | GetCurrentIndex () const noexcept |
カレントインデックス取得関数 [詳解] | |
virtual bool | SetCurrentIndex (int nIndex) noexcept |
カレントインデックス設定関数 [詳解] | |
virtual int | GetShowCurrentIndex () const noexcept |
表示状態カレントインデックス取得関数 [詳解] | |
virtual CWndElement * | GetShowCurrentElement () const noexcept |
表示状態カレントエレメントウィンドウ取得関数 [詳解] | |
virtual CWndElement * | GetCurrentElement () const noexcept |
カレントエレメントウィンドウ取得関数 [詳解] | |
virtual bool | SetCurrentElement (CWndElement *pcElement) noexcept |
カレントエレメントウィンドウ設定関数 [詳解] | |
virtual CWndElement * | GetElementWindow (HWND hWnd) const noexcept |
エレメントウィンドウ取得関数 [詳解] | |
virtual bool | RemoveElementWindow (CWndElement *pcElement) noexcept |
エレメントウィンドウ削除関数 [詳解] | |
virtual bool | InitElementListConfig (CJsonConfig &rcConfig, CWndElement *(*pfnCreateElement)(), wchar_t const *pszElementName) noexcept |
エレメントウィンドウリスト構成情報初期化関数 [詳解] | |
virtual bool | ResumeElementListConfig (CJsonConfig &rcConfig, wchar_t const *pszElementName) noexcept |
エレメントウィンドウリスト構成情報復元関数 [詳解] | |
virtual bool | SaveElementListConfig (CJsonConfig &rcConfig, wchar_t const *pszElementName) noexcept |
エレメントウィンドウリスト構成情報保存関数 [詳解] | |
virtual bool | GetChildElementListInfo (CWndPane *pcParent, SChildPaneInfo &rsChildInfo) noexcept |
子エレメントウィンドウリスト情報取得関数 [詳解] | |
virtual int | GetElementListOrderIndex (CWndPane *pcPane, int *pnOrder) noexcept |
エレメントウィンドウリストオーダー番号取得関数 [詳解] | |
virtual CWndPane * | GetElementListOrderPane (int *pnOrder) noexcept |
エレメントウィンドウリストオーダー番号ペインウィンドウ取得関数 [詳解] | |
virtual bool | ShowElementListAll (CWndPane *pcParent, bool bShow) noexcept |
全エレメントウィンドウリスト表示関数 [詳解] | |
virtual bool | DeleteElementListAll (CWndPane *pcParent) noexcept |
全エレメントウィンドウリスト削除関数 [詳解] | |
virtual bool | AppendElementWindow (HWND hParent, CWndElement *pcElement) noexcept |
エレメントウィンドウ追加関数 [詳解] | |
virtual CWndElement * | AppendNewElementWindow (HWND hParent, CWndElement *(*pfnCreateElement)()) noexcept |
新規エレメントウィンドウ追加関数 [詳解] | |
virtual bool | AppendElementListDebugSubMenu (HMENU hMenu, CWndPane *pcParent, wchar_t const *pszElementName, WORD wIdNew) noexcept |
エレメントウィンドウリストデバッグサブメニュー追加関数 [詳解] | |
![]() | |
CArray () noexcept | |
コンストラクタ [詳解] | |
CArray (Type const &rElement) noexcept | |
コンストラクタ [詳解] | |
CArray (Type const *pBuffer, int nCount) noexcept | |
コンストラクタ [詳解] | |
CArray (std::initializer_list< Type const > const &rcInitializer) noexcept | |
コンストラクタ [詳解] | |
CArray (CArray const &rcInstance) noexcept | |
コピーコンストラクタ [詳解] | |
CArray (CArray &&rcInstance) noexcept | |
ムーブコンストラクタ [詳解] | |
virtual | ~CArray () noexcept |
デストラクタ [詳解] | |
virtual Type * | GetBuffer () noexcept |
配列要素バッファ取得関数 [詳解] | |
virtual int | GetSize () const noexcept |
バッファサイズ取得関数 [詳解] | |
virtual int | GetCount () const noexcept |
配列要素数取得関数 [詳解] | |
virtual int | GetSegmentSize () const noexcept |
セグメントサイズ取得関数 [詳解] | |
virtual CArray & | operator= (CArray const &rcInstance) noexcept |
コピー代入演算子オーバーロード関数 [詳解] | |
virtual CArray & | operator= (CArray &&rcInstance) noexcept |
ムーブ代入演算子オーバーロード関数 [詳解] | |
virtual CArray & | operator= (Type const &rElement) noexcept |
代入演算子オーバーロード関数 [詳解] | |
virtual CArray & | operator= (std::initializer_list< Type const > const &rcInitializer) noexcept |
代入演算子オーバーロード関数 [詳解] | |
virtual CArray & | operator+= (CArray const &rcInstance) noexcept |
加算代入演算子オーバーロード関数 [詳解] | |
virtual CArray & | operator+= (Type const &rElement) noexcept |
加算代入演算子オーバーロード関数 [詳解] | |
virtual CArray & | operator+= (std::initializer_list< Type const > const &rcInitializer) noexcept |
加算代入演算子オーバーロード関数 [詳解] | |
virtual Type & | operator[] (int nIndex) noexcept |
配列添字演算子オーバーロード関数 [詳解] | |
virtual | operator Type const * () noexcept |
配列要素ポインタキャスト演算子オーバーロード関数 [詳解] | |
virtual CArray & | operator() () noexcept |
関数演算子オーバーロード関数 [詳解] | |
virtual bool | CreateBuffer (int nSize) noexcept |
バッファ作成関数 [詳解] | |
virtual bool | UpdateBuffer (int nCount) noexcept |
バッファサイズ更新関数 [詳解] | |
virtual bool | CompactBuffer () noexcept |
バッファサイズコンパクト化関数 [詳解] | |
virtual bool | Copy (CArray const &rcInstance) noexcept |
コピー関数 [詳解] | |
virtual bool | Copy (Type const &rElement) noexcept |
コピー関数 [詳解] | |
virtual bool | Copy (Type const *pBuffer, int nCount) noexcept |
コピー関数 [詳解] | |
virtual bool | Copy (std::initializer_list< Type const > const &rcInitializer) noexcept |
コピー関数 [詳解] | |
virtual bool | Move (CArray &&rcInstance) noexcept |
ムーブ関数 [詳解] | |
virtual bool | Append (CArray const &rcInstance) noexcept |
追加関数 [詳解] | |
virtual bool | Append (Type const &rElement) noexcept |
追加関数 [詳解] | |
virtual bool | Append (Type const *pBuffer, int nCount) noexcept |
追加関数 [詳解] | |
virtual bool | Append (std::initializer_list< Type const > const &rcInitializer) noexcept |
追加関数 [詳解] | |
virtual bool | Insert (int nIndex, CArray const &rcInstance) noexcept |
挿入関数 [詳解] | |
virtual bool | Insert (int nIndex, Type const &rElement) noexcept |
挿入関数 [詳解] | |
virtual bool | Insert (int nIndex, Type const *pBuffer, int nCount) noexcept |
挿入関数 [詳解] | |
virtual bool | Insert (int nIndex, std::initializer_list< Type const > const &rcInitializer) noexcept |
挿入関数 [詳解] | |
virtual bool | Remove () noexcept |
削除関数 [詳解] | |
virtual bool | Remove (int nIndex) noexcept |
削除関数 [詳解] | |
virtual bool | Remove (int nIndex, int nCount) noexcept |
削除関数 [詳解] | |
virtual bool | Get (int nIndex, Type &rElement) const noexcept |
取得関数 [詳解] | |
virtual bool | Set (int nIndex, Type const &rElement) noexcept |
設定関数 [詳解] | |
virtual int | Find (Type const &rElement) const noexcept |
検索関数 [詳解] | |
virtual bool | Compare (Type const &rElement1, Type const &rElement2) const noexcept |
比較関数 [詳解] | |
virtual bool | Push (Type const &rElement) noexcept |
プッシュ関数 [詳解] | |
virtual bool | Push (Type const *pBuffer, int nCount) noexcept |
プッシュ関数 [詳解] | |
virtual bool | Push (std::initializer_list< Type const > const &rcInitializer) noexcept |
プッシュ関数 [詳解] | |
virtual bool | Pop (Type &rElement) noexcept |
ポップ関数 [詳解] | |
virtual bool | PopFront (Type &rElement) noexcept |
ポップフロント関数 [詳解] | |
限定公開変数類 | |
int | m_nCurrent |
カレントインデックス [詳解] | |
![]() | |
Type * | m_pBuffer |
バッファポインタ [詳解] | |
int | m_nSize |
バッファサイズ [詳解] | |
int | m_nCount |
要素数 [詳解] | |
静的限定公開変数類 | |
static wchar_t const *const | SECTION_ELEMENT_INFO = L"ウィンドウ情報" |
エレメントウィンドウ情報セクション文字列 [詳解] | |
static wchar_t const *const | KEY_ELEMENT_COUNT = L"ウィンドウ数" |
エレメントウィンドウ数キー文字列 [詳解] | |
static wchar_t const *const | KEY_CURRENT_INDEX = L"カレントインデックス" |
カレントインデックスキー文字列 [詳解] | |
非公開メンバ関数 | |
CWndList (CWndList const &)=delete | |
CWndList & | operator= (CWndList const &)=delete |
その他の継承メンバ | |
![]() | |
static int const | SEGMENT_SIZE = 256 |
セグメントサイズ初期値 [詳解] | |
|
explicitnoexcept |
|
explicitnoexcept |
|
inlinevirtualnoexcept |
|
privatedelete |
|
overridevirtualnoexcept |
クリア関数
クリア関数です。
なし |
LibCommon::CArray< Type >を再実装しています。
CWndList.cpp の 56 行目に定義があります。
参照先 LibCommon::CArray< Type >::Clear(), LibCommon::CArray< Type >::m_nCount, LibCommon::CArray< Type >::m_pBuffer.
|
virtualnoexcept |
エレメントウィンドウリスト作成関数
エレメントウィンドウリスト作成関数です。
[in] | hParent | 親ウィンドウハンドル |
[in] | hMenu | メニューハンドル |
CWndList.cpp の 73 行目に定義があります。
参照先 LibWindow::CWndPane::Create(), LibCommon::CArray< Type >::m_nCount, LibCommon::CArray< Type >::m_pBuffer.
参照元 LibWindow::CWndMain::Create(), LibWindow::CWndContainer::Create().
|
virtualnoexcept |
カレントインデックス取得関数
カレントインデックス取得関数です。
なし |
CWndList.cpp の 106 行目に定義があります。
参照先 LibCommon::CArray< Type >::m_nCount, m_nCurrent, LibCommon::CArray< Type >::m_pBuffer.
参照元 GetCurrentElement().
|
virtualnoexcept |
カレントインデックス設定関数
カレントインデックス取得関数です。
[in] | nIndex | インデックス |
CWndList.cpp の 136 行目に定義があります。
参照先 LibCommon::CArray< Type >::m_nCount, m_nCurrent.
|
virtualnoexcept |
表示状態カレントインデックス取得関数
表示状態カレントインデックス取得関数です。
なし |
CWndList.cpp の 159 行目に定義があります。
参照先 LibWindow::CWndPane::IsShow(), LibCommon::CArray< Type >::m_nCount, m_nCurrent, LibCommon::CArray< Type >::m_pBuffer.
参照元 LibWindow::CWndDocumentTab::DrawTitleBar(), LibWindow::CWndDocumentTab::GetMinHeight(), LibWindow::CWndDocumentTab::GetMinWidth(), LibWindow::CWndDocumentTab::GetPaintRect(), GetShowCurrentElement(), LibWindow::CWndDocumentTab::UpdateTabControl(), LibWindow::CWndDocumentTab::WmSize().
|
virtualnoexcept |
表示状態カレントエレメントウィンドウ取得関数
表示状態カレントエレメントウィンドウ取得関数です。
なし |
CWndList.cpp の 192 行目に定義があります。
参照先 GetShowCurrentIndex(), LibCommon::CArray< Type >::m_pBuffer.
参照元 LibWindow::CWndContainer::WmSetFocus().
|
virtualnoexcept |
カレントエレメントウィンドウ取得関数
カレントエレメントウィンドウ取得関数です。
なし |
CWndList.cpp の 213 行目に定義があります。
参照先 GetCurrentIndex(), LibCommon::CArray< Type >::m_pBuffer.
参照元 LibWindow::CWndMain::WmSetFocus().
|
inlinevirtualnoexcept |
カレントエレメントウィンドウ設定関数
カレントエレメントウィンドウ設定関数です。
[in] | pcElement | エレメントウィンドウポインタ |
CWndList.h の 172 行目に定義があります。
参照元 LibWindow::CWndDocumentTab::TcnSelChange(), LibWindow::CWndMain::WmNotifyChildSetFocus(), LibWindow::CWndContainer::WmNotifyChildSetFocus().
|
virtualnoexcept |
エレメントウィンドウ取得関数
エレメントウィンドウ取得関数です。
[in] | hWnd | ウィンドウハンドル |
CWndList.cpp の 234 行目に定義があります。
参照先 LibWindow::CWndBase::GetHandle(), LibCommon::CArray< Type >::m_nCount, LibCommon::CArray< Type >::m_pBuffer.
参照元 LibWindow::CWndDocumentTab::TcnSelChange(), LibWindow::CWndDocumentTab::WmContextMenu(), LibWindow::CWndMain::WmNotifyChildSetFocus(), LibWindow::CWndContainer::WmNotifyChildSetFocus().
|
inlinevirtualnoexcept |
エレメントウィンドウ削除関数
エレメントウィンドウ削除関数です。
[in] | pcElement | エレメントウィンドウポインタ |
CWndList.h の 196 行目に定義があります。
参照元 AppendElementWindow(), LibWindow::CWndMain::DeleteChildWindow(), LibWindow::CWndContainer::DeleteChildWindow(), LibWindow::CWndMain::DockingToFloating(), LibWindow::CWndDockingPartition::ExecMenuCommand().
|
virtualnoexcept |
エレメントウィンドウリスト構成情報初期化関数
エレメントウィンドウリスト構成情報初期化関数です。
[in] | rcConfig | JSON構成ファイル参照 |
[in] | pfnCreateElement | 新規エレメントウィンドウ作成関数ポインタ |
[in] | pszElementName | エレメントウィンドウ名 |
CWndList.cpp の 259 行目に定義があります。
参照先 LibCommon::CArray< Type >::Append(), LibJson::CJsonConfig::Get(), LibWindow::CWndPane::InitConfig(), KEY_CURRENT_INDEX, KEY_ELEMENT_COUNT, LibCommon::CArray< Type >::m_nCount, m_nCurrent, SECTION_ELEMENT_INFO.
参照元 LibWindow::CWndContainer::InitConfig(), LibWindow::CWndMain::InitConfig().
|
virtualnoexcept |
エレメントウィンドウリスト構成情報復元関数
エレメントウィンドウリスト構成情報復元関数です。
[in] | rcConfig | JSON構成ファイル参照 |
[in] | pszElementName | エレメントウィンドウ名 |
CWndList.cpp の 331 行目に定義があります。
参照先 LibCommon::CArray< Type >::m_nCount, LibCommon::CArray< Type >::m_pBuffer, LibWindow::CWndPane::ResumeConfig(), SECTION_ELEMENT_INFO.
参照元 LibWindow::CWndContainer::ResumeConfig(), LibWindow::CWndMain::ResumeConfig().
|
virtualnoexcept |
エレメントウィンドウリスト構成情報保存関数
エレメントウィンドウリスト構成情報保存関数です。
[in] | rcConfig | JSON構成ファイル参照 |
[in] | pszElementName | エレメントウィンドウ名 |
CWndList.cpp の 383 行目に定義があります。
参照先 KEY_CURRENT_INDEX, KEY_ELEMENT_COUNT, LibCommon::CArray< Type >::m_nCount, m_nCurrent, LibCommon::CArray< Type >::m_pBuffer, LibWindow::CWndPane::SaveConfig(), SECTION_ELEMENT_INFO, LibJson::CJsonConfig::Set().
参照元 LibWindow::CWndContainer::SaveConfig(), LibWindow::CWndMain::SaveConfig().
|
virtualnoexcept |
子エレメントウィンドウリスト情報取得関数
子エレメントウィンドウリスト情報取得関数です。
[in] | pcParent | 親ペインウィンドウポインタ |
[in] | rsChildInfo | 子ペインウィンドウ情報構造体参照 |
CWndList.cpp の 449 行目に定義があります。
参照先 LibWindow::CWndPane::GetChildPaneInfo(), LibWindow::CWndPane::IsShow(), LibCommon::CArray< Type >::m_nCount, LibCommon::CArray< Type >::m_pBuffer.
参照元 LibWindow::CWndContainer::GetChildPaneInfo(), LibWindow::CWndMain::GetChildPaneInfo().
|
virtualnoexcept |
エレメントウィンドウリストオーダー番号取得関数
エレメントウィンドウリストオーダー番号取得関数です。
[in] | pcPane | ペインウィンドウポインタ |
[in,out] | pnOrder | オーダー番号ポインタ |
CWndList.cpp の 511 行目に定義があります。
参照先 LibWindow::CWndPane::GetOrderIndex(), LibCommon::CArray< Type >::m_nCount, LibCommon::CArray< Type >::m_pBuffer.
参照元 LibWindow::CWndContainer::GetOrderIndex(), LibWindow::CWndMain::GetOrderIndex().
|
virtualnoexcept |
エレメントウィンドウリストオーダー番号ペインウィンドウ取得関数
エレメントウィンドウリストオーダー番号ペインウィンドウ取得関数です。
[in,out] | pnOrder | オーダー番号ポインタ |
CWndList.cpp の 537 行目に定義があります。
参照先 LibWindow::CWndPane::GetOrderPane(), LibCommon::CArray< Type >::m_nCount, LibCommon::CArray< Type >::m_pBuffer.
参照元 LibWindow::CWndContainer::GetOrderPane(), LibWindow::CWndMain::GetOrderPane().
|
virtualnoexcept |
全エレメントウィンドウリスト表示関数
全エレメントウィンドウリスト表示関数です。
[in] | pcParent | 親ペインウィンドウポインタ |
[in] | bShow | ウィンドウ表示フラグ |
CWndList.cpp の 563 行目に定義があります。
参照先 LibCommon::CArray< Type >::m_nCount, LibCommon::CArray< Type >::m_pBuffer, LibWindow::CWndPane::ShowChildAll().
参照元 LibWindow::CWndContainer::ShowChildAll(), LibWindow::CWndMain::ShowChildAll().
|
virtualnoexcept |
全エレメントウィンドウリスト削除関数
全エレメントウィンドウリスト削除関数です。
[in] | pcParent | 親ペインウィンドウポインタ |
CWndList.cpp の 605 行目に定義があります。
参照先 LibWindow::CWndPane::DeleteChildAll(), LibCommon::CArray< Type >::m_nCount, LibCommon::CArray< Type >::m_pBuffer.
参照元 LibWindow::CWndContainer::DeleteChildAll(), LibWindow::CWndMain::DeleteChildAll().
|
virtualnoexcept |
エレメントウィンドウ追加関数
エレメントウィンドウ追加関数です。
[in] | hParent | 親ウィンドウハンドル |
[in] | pcElement | エレメントウィンドウポインタ |
CWndList.cpp の 647 行目に定義があります。
参照先 LibCommon::CArray< Type >::Append(), LibCommon::CArray< Type >::m_nCount, RemoveElementWindow(), SetCurrentIndex().
参照元 AppendNewElementWindow(), LibWindow::CWndMain::DockingToFloating().
|
virtualnoexcept |
新規エレメントウィンドウ追加関数
新規エレメントウィンドウ追加関数です。
[in] | hParent | 親ウィンドウハンドル |
[in] | pfnCreateElement | 新規エレメントウィンドウ作成関数ポインタ |
CWndList.cpp の 682 行目に定義があります。
参照元 LibWindow::CWndContainer::AppendNewElementWindow(), LibWindow::CWndMain::AppendNewFloatingWindow(), LibWindow::CWndMain::AppendNewOverlapWindow().
|
virtualnoexcept |
エレメントウィンドウリストデバッグサブメニュー追加関数
エレメントウィンドウリストデバッグサブメニュー追加関数です。
[in] | hMenu | メニューハンドル |
[in] | pcParent | 親ペインウィンドウポインタ |
[in] | pszElementName | エレメントウィンドウ名 |
[in] | wIdNew | 新規作成コマンドID |
CWndList.cpp の 720 行目に定義があります。
参照先 LibWindow::CWndPane::AppendDebugMenu(), LibWindow::GetEnableMenuCommandCount(), LibWindow::CWndBase::GetHandle(), KEY_CURRENT_INDEX, KEY_ELEMENT_COUNT, LibCommon::CArray< Type >::m_nCount, LibCommon::CArray< Type >::m_pBuffer, SECTION_ELEMENT_INFO, LibWindow::SetMenuCommandData().
参照元 LibWindow::CWndContainer::AppendDebugMenu(), LibWindow::CWndMain::AppendDebugMenu().
|
protected |
カレントインデックス
CWndList.h の 352 行目に定義があります。
参照元 GetCurrentIndex(), GetShowCurrentIndex(), InitElementListConfig(), SaveElementListConfig(), SetCurrentIndex().
|
staticprotected |
エレメントウィンドウ情報セクション文字列
CWndList.h の 357 行目に定義があります。
参照元 AppendElementListDebugSubMenu(), InitElementListConfig(), ResumeElementListConfig(), SaveElementListConfig().
|
staticprotected |
エレメントウィンドウ数キー文字列
CWndList.h の 358 行目に定義があります。
参照元 AppendElementListDebugSubMenu(), InitElementListConfig(), SaveElementListConfig().
|
staticprotected |
カレントインデックスキー文字列
CWndList.h の 359 行目に定義があります。
参照元 AppendElementListDebugSubMenu(), InitElementListConfig(), SaveElementListConfig().