C# Class SharpOS.Kernel.CommandLine

Mostra file Open project: sharpos/SharpOS

Public Methods

Method Description
ContainsOption ( string option ) : bool
GetArgument ( string option, PString8 buf ) : bool
GetArgumentLength ( int argumentIndex ) : int
GetString ( ) : CString8*
IndexOfArgument ( string option ) : int

Returns the index in the command line string containing the first character of the argument to option.

IndexOfOption ( string option ) : int
Setup ( ) : void

Method Details

ContainsOption() public static method

public static ContainsOption ( string option ) : bool
option string
return bool

GetArgument() public static method

public static GetArgument ( string option, PString8 buf ) : bool
option string
buf SharpOS.Kernel.Foundation.PString8
return bool

GetArgumentLength() public static method

public static GetArgumentLength ( int argumentIndex ) : int
argumentIndex int
return int

GetString() public static method

public static GetString ( ) : CString8*
return CString8*

IndexOfArgument() public static method

Returns the index in the command line string containing the first character of the argument to option.
public static IndexOfArgument ( string option ) : int
option string
return int

IndexOfOption() public static method

public static IndexOfOption ( string option ) : int
option string
return int

Setup() public static method

public static Setup ( ) : void
return void