0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

M_Cmd:各種定義

Last updated at Posted at 2025-04-27
'##############################################################################
' コマンド処理
'##############################################################################
' 参照設定          |   Windows Script Host Object Model
'------------------------------------------------------------------------------
' 参照モジュール    |   M_String
'                   |   M_Shell
'------------------------------------------------------------------------------
' 共通バージョン    |   250504
'------------------------------------------------------------------------------

'==============================================================================
' 公開定義
'==============================================================================
' 定数定義
'------------------------------------------------------------------------------
Public Enum E_CMD_IDX_GREP_INF
    E_CMD_IDX_GREP_INF_NONE = D_IDX_START - 1
    E_CMD_IDX_GREP_INF_RESULT
    E_CMD_IDX_GREP_INF_FULLPATH
    E_CMD_IDX_GREP_INF_RLTPATH
    E_CMD_IDX_GREP_INF_FILE
    E_CMD_IDX_GREP_INF_LINE
    E_CMD_IDX_GREP_INF_OFFSET
    E_CMD_IDX_GREP_INF_SOURCE
    E_CMD_IDX_GREP_INF_MAX
    E_CMD_IDX_GREP_INF_EEND = E_CMD_IDX_GREP_INF_MAX - 1
End Enum

'------------------------------------------------------------------------------
' 構造体定義
'------------------------------------------------------------------------------
Public Type T_CMD_ARG_GREP_INF
    '検索文字列
    SrchPtn As String
    
    '単語チェック指定
    ChkWordFlg As Boolean
    ChkWordPtn As String
    ChkWordSpec As E_STRING_SPEC
    
    FullPath As String
    ExtSpec As String
End Type

'==============================================================================
' 内部定義
'==============================================================================
' 定数定義
'------------------------------------------------------------------------------
Private Enum PE_CMD_POS_GREPRET
    PE_CMD_POS_GREPRET_RLTPATH = 0
    PE_CMD_POS_GREPRET_LINE
    PE_CMD_POS_GREPRET_OFFSET
    PE_CMD_POS_GREPRET_SOURCE
    PE_CMD_POS_GREPRET_MAX
    PE_CMD_POS_GREPRET_EEND = PE_CMD_POS_GREPRET_MAX - 1
End Enum
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?