Method | Description | |
---|---|---|
CreateDir ( string dir ) : |
||
CurlDataProgress ( |
||
DeleteAllFiles ( string directory, string fileNotToDelete ) : void | ||
DirectoryExists ( string dir ) : bool | ||
DownloadHTTPFile ( string httpPath, string savePath ) : bool |
Download a public file from a URL
|
|
FileExists ( string file ) : bool | ||
GetExtension ( string FileName ) : string |
return file extension with leading point
|
|
GetFileName ( string FileName ) : string |
Return file name and extension without path
|
|
GetFileNameWithoutExtension ( string FileName ) : string |
Remove the extension and path of a filename
|
|
GetFileNameWithoutExtension ( string FileName, bool withPath ) : string |
remove extension and keep path if withPath is set to true
|
|
GetPath ( string FileName ) : string |
Return the path of the file
|
|
GetUniqueDirectory ( string dir, bool useUnderScore ) : string |
return a unique dir name
|
|
GetUniqueFileName ( string sourceFN ) : string |
check if filename exist , and return a filename_num that is unique
|
|
GetUniqueFileName ( string sourceFN, bool useUnderScore ) : string | ||
OpenWebPage ( string url ) : void | ||
ReadAutoCompleteFile ( string path ) : string[] | ||
ReplaceFileExtension ( string FileName, string newExtension ) : string |
replace the filename extension
|
|
UnZip ( string pathToUnZip, string targetFolder ) : void | ||
WriteAutoCompleteFile ( string autoCompleteStr, string path ) : void | ||
sendLogEvent ( string message, string mSender, Enums mType ) : void |
Send a message event
|
|
sendLogEvent ( string message, string mSender, Enums mType, bool verbose ) : void | ||
sendLogEvent ( string message, string errorFile, string mSender, Enums mType ) : void | ||
sendLogEvent ( string message, string errorFile, string mSender, Enums mType, bool verbose ) : void |
Method | Description | |
---|---|---|
readByte ( |
||
readFloat ( |
Read floats into an array
|
|
readFloat ( |
read single float
|
|
readInt32 ( |
read int32
|
|
readInt32 ( |
read single int 32
|
|
readString ( |
||
writeFloatToFile ( |
||
writeInt32ToFile ( |
||
writeStringAndLengthToFile ( |
||
writeStringToFile ( |
||
writeStringToFile ( |
Method | Description | |
---|---|---|
sendErrorLogEvent ( string message ) : void | ||
sendErrorLogEvent ( string message, bool verbose ) : void | ||
writeLogToFile ( string message, string mSender, Enums mType ) : void |
public static CreateDir ( string dir ) : |
||
dir | string | |
return |
public static CurlDataProgress ( |
||
info | ||
return | void |
public static DeleteAllFiles ( string directory, string fileNotToDelete ) : void | ||
directory | string | |
fileNotToDelete | string | |
return | void |
public static DirectoryExists ( string dir ) : bool | ||
dir | string | |
return | bool |
public static DownloadHTTPFile ( string httpPath, string savePath ) : bool | ||
httpPath | string | |
savePath | string | |
return | bool |
public static FileExists ( string file ) : bool | ||
file | string | |
return | bool |
public static GetExtension ( string FileName ) : string | ||
FileName | string | |
return | string |
public static GetFileName ( string FileName ) : string | ||
FileName | string | |
return | string |
public static GetFileNameWithoutExtension ( string FileName ) : string | ||
FileName | string | |
return | string |
public static GetFileNameWithoutExtension ( string FileName, bool withPath ) : string | ||
FileName | string | |
withPath | bool | |
return | string |
public static GetPath ( string FileName ) : string | ||
FileName | string | |
return | string |
public static GetUniqueDirectory ( string dir, bool useUnderScore ) : string | ||
dir | string | Directory without ending slash |
useUnderScore | bool | |
return | string |
public static GetUniqueFileName ( string sourceFN ) : string | ||
sourceFN | string | |
return | string |
public static GetUniqueFileName ( string sourceFN, bool useUnderScore ) : string | ||
sourceFN | string | |
useUnderScore | bool | |
return | string |
public static OpenWebPage ( string url ) : void | ||
url | string | |
return | void |
public static ReadAutoCompleteFile ( string path ) : string[] | ||
path | string | |
return | string[] |
public static ReplaceFileExtension ( string FileName, string newExtension ) : string | ||
FileName | string | original file name to change |
newExtension | string | new extension , with the dot |
return | string |
public static UnZip ( string pathToUnZip, string targetFolder ) : void | ||
pathToUnZip | string | |
targetFolder | string | |
return | void |
public static WriteAutoCompleteFile ( string autoCompleteStr, string path ) : void | ||
autoCompleteStr | string | |
path | string | |
return | void |
protected readByte ( |
||
ruleFileBinaryReader | ||
return | byte |
protected readFloat ( |
||
ruleFileBinaryReader | ||
numOfIFloatToRead | int | |
return | List |
protected readFloat ( |
||
ruleFileBinaryReader | ||
return | float |
protected readInt32 ( |
||
ruleFileBinaryReader | ||
numOfIntToRead | int | |
return | List |
protected readInt32 ( |
||
ruleFileBinaryReader | ||
return | int |
protected readString ( |
||
ruleFileBinaryReader | ||
numOfCharToRead | int | |
return | string |
public static sendLogEvent ( string message, string mSender, Enums mType ) : void | ||
message | string | |
mSender | string | |
mType | Enums | |
return | void |
public static sendLogEvent ( string message, string mSender, Enums mType, bool verbose ) : void | ||
message | string | |
mSender | string | |
mType | Enums | |
verbose | bool | |
return | void |
public static sendLogEvent ( string message, string errorFile, string mSender, Enums mType ) : void | ||
message | string | |
errorFile | string | |
mSender | string | |
mType | Enums | |
return | void |
public static sendLogEvent ( string message, string errorFile, string mSender, Enums mType, bool verbose ) : void | ||
message | string | |
errorFile | string | |
mSender | string | |
mType | Enums | |
verbose | bool | |
return | void |
protected writeFloatToFile ( |
||
ruleFileBinaryWriter | ||
f | float | |
return | bool |
protected writeInt32ToFile ( |
||
ruleFileBinaryWriter | ||
i | int | |
return | bool |
protected writeStringAndLengthToFile ( |
||
ruleFileBinaryWriter | ||
s | string | |
return | bool |
protected writeStringToFile ( |
||
ruleFileBinaryWriter | ||
s | string | |
return | bool |
protected writeStringToFile ( |
||
ruleFileBinaryWriter | ||
s | string | |
endChar | bool | |
return | bool |