C# 클래스 kOS.Utils

파일 보기 프로젝트 열기: Nivekk/KOS

공개 메소드들

메소드 설명
Balance ( string &str, int &i, char closeChar ) : bool
BraceMatch ( String text, int start ) : int
BuildInnerRegex ( String kegex ) : String
BuildRegex ( String kegex ) : String
Clamp ( double input, double low, double high ) : double
DelimterMatch ( string str ) : bool
FindEndOfString ( String text, int start ) : int
NewLineCount ( String input ) : int
ProcessParams ( string input ) : string[]
ProspectForResource ( String resourceName, List engines ) : double
ProspectForResource ( String resourceName, Part engine ) : double
ProspectForResource ( String resourceName, Part part, List &visited ) : double
Split ( String input, char delimiter, bool ignoreString ) : List

메소드 상세

Balance() 공개 정적인 메소드

public static Balance ( string &str, int &i, char closeChar ) : bool
str string
i int
closeChar char
리턴 bool

BraceMatch() 공개 정적인 메소드

public static BraceMatch ( String text, int start ) : int
text String
start int
리턴 int

BuildInnerRegex() 공개 정적인 메소드

public static BuildInnerRegex ( String kegex ) : String
kegex String
리턴 String

BuildRegex() 공개 정적인 메소드

public static BuildRegex ( String kegex ) : String
kegex String
리턴 String

Clamp() 공개 정적인 메소드

public static Clamp ( double input, double low, double high ) : double
input double
low double
high double
리턴 double

DelimterMatch() 공개 정적인 메소드

public static DelimterMatch ( string str ) : bool
str string
리턴 bool

FindEndOfString() 공개 정적인 메소드

public static FindEndOfString ( String text, int start ) : int
text String
start int
리턴 int

NewLineCount() 공개 정적인 메소드

public static NewLineCount ( String input ) : int
input String
리턴 int

ProcessParams() 공개 정적인 메소드

public static ProcessParams ( string input ) : string[]
input string
리턴 string[]

ProspectForResource() 공개 정적인 메소드

public static ProspectForResource ( String resourceName, List engines ) : double
resourceName String
engines List
리턴 double

ProspectForResource() 공개 정적인 메소드

public static ProspectForResource ( String resourceName, Part engine ) : double
resourceName String
engine Part
리턴 double

ProspectForResource() 공개 정적인 메소드

public static ProspectForResource ( String resourceName, Part part, List &visited ) : double
resourceName String
part Part
visited List
리턴 double

Split() 공개 정적인 메소드

public static Split ( String input, char delimiter, bool ignoreString ) : List
input String
delimiter char
ignoreString bool
리턴 List