#include <omFunctions.h>
Static Public Member Functions | |
void | InitializeSimulationChars (long *) |
This is a system dependent function. | |
wxString | GetUnixString (wxString) |
wxString | GetWindowsString (wxString) |
wxString | ConvertToLower (wxString) |
wxString | ConvertToUpper (wxString) |
int | ArrayFind (wxArrayString *, wxString) |
int | ArrayFindNoCase (wxArrayString *, wxString) |
void | SetBasePath (wxString) |
bool | TestPersonalInstallation (wxString, wxString, wxString) |
bool | CreateDefaultInstallation (wxString, wxString) |
bool | TestFolder (wxString) |
void | CreateFolder (wxString, wxString) |
bool | TestFile (wxString) |
wxString | GetCurrentPath () |
wxString | GetSharedPath (wxString) |
wxString | GetInstallationPath (wxString) |
wxString | GetUserDataPath (wxString) |
void | CopyFile (wxString, wxString, wxString) |
wxString | GetCurrentIP () |
wxString | Encode (wxString) |
wxString | Decode (wxString) |
int | FindFirstNBChar (wxString, int t) |
int | FindLastNBChar (wxString) |
int | FindNotEncodedChar (wxString, char, int) |
int | Literal2Value (wxString) |
long | GetMaiaKeycodeFromXML (wxString) |
wxArrayString | SplitTextLine (wxString, wxString) |
wxString | Value2Literal (int) |
bool | String2Boolean (wxString) |
wxString | Boolean2String (bool) |
wxString | Boolean2String (int) |
int | String2Int (wxString) |
bool | IsBoolean (wxString) |
bool | IsInt (wxString) |
Static Private Member Functions | |
void | SetBasePathSD (wxString) |
Set base path in function of operating system. | |
bool | CreateDefaultInstallationSD (wxString, wxString) |
Create installation sysyem dependent. | |
bool | TestPersonalInstallationSD (wxString, wxString, wxString) |
GetPersonalInstallation system dependent part. | |
wxString | GetSharedPathSD (wxString) |
GetSharedPath system dependent part. | |
wxString | GetInstallationPathSD (wxString) |
GetInstallationPath system dependent part. | |
wxString | GetUserDataPathSD (wxString) |
GetUserDataPath system dependent part. | |
void | CopyFileSD (wxString, wxString, wxString) |
CopyFile system dependent part. | |
void | CreateFolderSD (wxString, wxString) |
CreateFolder system dependent part. |
|
Find a position af a string in an array conserving the case.
|
|
Find a position af a string in an array ignoring the case.
|
|
Convert a boolean value into an uppercase string.
|
|
Convert a boolean value into an uppercase string.
|
|
convert a string to lowercase
|
|
convert a string to uppercase
|
|
Copy original file into destination using cp command. Under un*x systems this method uses system copy command, under Windows it uses cp.exe program provided with the openmaia suite.
|
|
CopyFile system dependent part.
|
|
This function copy a default data installation from the template directory into the user personal directory.
|
|
Create installation sysyem dependent.
|
|
Create a new folder using mkdir command. Under Windows is used mkdir.exe provided with openmaia distribution
|
|
CreateFolder system dependent part.
|
|
Decode a string encoded with omFunctions::Encode method.
|
|
Encode a string for TCP trasmission according the protocol. In this encoding ; $ # and \ symbols are translated into escape sequences \; # $, and \. Carriege return is translated into \r symbol and New line in \n symbol.
|
|
Find the first not blank position of a char in a string. Blank chars are spaces and
|
|
Find the last not blank position of a char in a string. Blank chars are spaces and
|
|
Find the position of the first not encoded char in a string
|
|
Get Current IP of the computer connected to a network
|
|
Get current path. This method uses getcwd() C function and fix some problems in path returned from cygwin.
|
|
Return the path of the directory where openmaia is installed. This method is used in windows implementations beacuse those OS does't handle relative path well. The path is taken from the binary path of the binary file running at this time.
|
|
GetInstallationPath system dependent part.
|
|
This function return the Maia Key code from its definition in the maia xml codify according omXMLTags.h header file
|
|
Return the path of shared part of the OpenMAIA application. OpenMAIA save some informations in a shared path.
|
|
GetSharedPath system dependent part.
|
|
Get a unix style string from a generic string. This means that all \ chars are converted into / chars
|
|
Return the path of the directory where user data is stored.
|
|
GetUserDataPath system dependent part.
|
|
Get a windows style string from a generic string. This means that all / chars are converted into \ chars
|
|
This is a system dependent function.
|
|
Check if string format is compatible with boolean type. A string compatible with boolean type may contain false,true, FALSE, TRUE, 0, 1 values.
|
|
Check if string format is compatible with integer type.
|
|
Return OpenMAIA constant value given its literal.
|
|
Sets the path of the application moving to the top of the user data dir
|
|
Set base path in function of operating system.
|
|
Split a line of text composed by elements and separator and return an array containing all the elements without white spaces.
|
|
Convert a string that spacifies a boolean value into a boolean type. String may contain 0,1, false, true, FALSE, true values.
|
|
Convert a string that spacifies an integer value into an integer type.
|
|
Test for file presence.
|
|
This function test for folder existence
|
|
Test for data installation path.
|
|
GetPersonalInstallation system dependent part.
|
|
Return OpenMAIA constant literal given its value.
|
Copyright © by Luca Clivio |