Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

OS Class Reference

#include <OS.h>

Inheritance diagram for OS::

PosixOS PosixOS PosixOS List of all members.

Static Public Methods

int mkdir (const char *name)
int rmdir (const char *name)
int rename (const char *src, const char *dst)
int remove (const char *name)
bool isDirectory (const char *name)
const char * getMyHostName ()
char * strtok_r (char *s, const char *tokens, char **lasts)
char * getProcessorName ()
char * getOSName ()
char * getenv (const char *str)
int getErrno ()
int mkdir (const char *name)
int rmdir (const char *name)
int rename (const char *src, const char *dst)
int remove (const char *name)
bool isDirectory (const char *name)
const char * getMyHostName ()
char * strtok_r (char *s, const char *tokens, char **lasts)
char * getProcessorName ()
char * getOSName ()
int getErrno ()
char * getenv (const char *str)
int system (const char *fmt,...)
int sprintf (char *buffer, const char *format,...)
char setValue (char *key, char *subKey, char *value)
char * getValue (char *key, char *subkey)
char * strdup (const char *orig)
void free (void *p)
void * malloc (size_t size)
int stat (const char *name, stat_t *stat)
int mkdir (const char *name)
int rmdir (const char *name)
int chdir (const char *name)
int rename (const char *src, const char *dst)
int remove (const char *name)
bool isDirectory (const char *name)
const char * getMyHostName ()
const char * getMyHostIPAddr ()
char * strtok_r (char *s, const char *tokens, char **lasts)
char * getProcessorName ()
char * getOSName ()
const char * getUserName ()
int getErrno ()
char * getenv (const char *str)
int system (const char *fmt,...)
int access (const char *path, int mode)
float getTimeMilliseconds ()
char setValue (char *key, char *subKey, char *value)
char * getValue (char *key, char *subkey)
char * strdup (const char *str)
void free (void *p)
void * malloc (size_t size)
void * memcpy (void *d, const void *s, int len)

Static Public Attributes

const char DirectorySeparator = '/'
const char * TemporaryDirectory = "C:\\Temp"
const char * LineSeparator = "\r\n"
const char * TemporaryDirectory
const char * LineSeparator

Member Function Documentation

int OS::access const char *    path,
int    mode
[static]
 

Definition at line 405 of file WinNT/OS.cpp.

int OS::chdir const char *    name [static]
 

Definition at line 104 of file WinNT/OS.cpp.

References FALSE.

void OS::free void *    p [static]
 

void OS::free void *    p [static]
 

Definition at line 358 of file WinCE/OS.cpp.

char* OS::getenv const char *    str [static]
 

char* OS::getenv const char *    str [static]
 

char * OS::getenv const char *    str [static]
 

Definition at line 106 of file Solaris/OS.cpp.

int OS::getErrno   [static]
 

int OS::getErrno   [static]
 

int OS::getErrno   [static]
 

Definition at line 112 of file Solaris/OS.cpp.

const char * OS::getMyHostIPAddr   [static]
 

Definition at line 47 of file WinNT/OS.cpp.

References strdup().

const char* OS::getMyHostName   [static]
 

const char* OS::getMyHostName   [static]
 

const char * OS::getMyHostName   [static]
 

Definition at line 21 of file Solaris/OS.cpp.

char* OS::getOSName   [static]
 

char* OS::getOSName   [static]
 

char * OS::getOSName   [static]
 

Definition at line 97 of file Solaris/OS.cpp.

char* OS::getProcessorName   [static]
 

char* OS::getProcessorName   [static]
 

char * OS::getProcessorName   [static]
 

Definition at line 88 of file Solaris/OS.cpp.

float OS::getTimeMilliseconds   [static]
 

const char * OS::getUserName   [static]
 

Definition at line 171 of file WinNT/OS.cpp.

References FALSE, and PosixOS::strlen().

char* OS::getValue char *    key,
char *    subkey
[static]
 

char * OS::getValue char *    key,
char *    subkey
[static]
 

Definition at line 335 of file WinCE/OS.cpp.

References strdup().

bool OS::isDirectory const char *    name [static]
 

bool OS::isDirectory const char *    name [static]
 

bool OS::isDirectory const char *    name [static]
 

Definition at line 71 of file Solaris/OS.cpp.

References stat().

void* OS::malloc size_t    size [static]
 

void * OS::malloc size_t    t [static]
 

Definition at line 363 of file WinCE/OS.cpp.

void * OS::memcpy void *    d,
const void *    s,
int    len
[static]
 

Definition at line 400 of file WinNT/OS.cpp.

int OS::mkdir const char *    name [static]
 

int OS::mkdir const char *    name [static]
 

int OS::mkdir const char *    name [static]
 

Definition at line 42 of file Solaris/OS.cpp.

int OS::remove const char *    name [static]
 

int OS::remove const char *    name [static]
 

int OS::remove const char *    name [static]
 

Definition at line 65 of file Solaris/OS.cpp.

int OS::rename const char *    src,
const char *    dst
[static]
 

int OS::rename const char *    src,
const char *    dst
[static]
 

int OS::rename const char *    src,
const char *    dst
[static]
 

Definition at line 59 of file Solaris/OS.cpp.

int OS::rmdir const char *    name [static]
 

int OS::rmdir const char *    name [static]
 

int OS::rmdir const char *    name [static]
 

Definition at line 53 of file Solaris/OS.cpp.

char OS::setValue char *    key,
char *    subKey,
char *    value
[static]
 

char OS::setValue char *    key,
char *    subKey,
char *    value
[static]
 

Definition at line 310 of file WinCE/OS.cpp.

References PosixOS::strlen().

int OS::sprintf char *    buffer,
const char *    format,
...   
[static]
 

Reimplemented from PosixOS.

Definition at line 244 of file WinCE/OS.cpp.

References PosixOS::strcat(), and PosixOS::strlen().

int OS::stat const char *    name,
stat_t   stat
[static]
 

Definition at line 89 of file WinNT/OS.cpp.

References FALSE, stat(), and stat_t.

Referenced by isDirectory(), and stat().

char* OS::strdup const char *    str [static]
 

char * OS::strdup const char *    str [static]
 

Definition at line 46 of file WinCE/OS.cpp.

References PosixOS::strcpy(), and PosixOS::strlen().

Referenced by getMyHostIPAddr(), and getValue().

char* OS::strtok_r char *    s,
const char *    tokens,
char **    lasts
[static]
 

char* OS::strtok_r char *    s,
const char *    tokens,
char **    lasts
[static]
 

char * OS::strtok_r char *    s,
const char *    tokens,
char **    lasts
[static]
 

Definition at line 36 of file Solaris/OS.cpp.

int OS::system const char *    fmt,
...   
[static]
 

int OS::system const char *    fmt,
...   
[static]
 

Definition at line 225 of file WinCE/OS.cpp.


Member Data Documentation

const char OS::DirectorySeparator = '/' [static]
 

Definition at line 23 of file WinNT/OS.h.

Referenced by Library::getNativeLibName().

const char* OS::LineSeparator [static]
 

Definition at line 25 of file WinNT/OS.h.

const char * OS::LineSeparator = "\r\n" [static]
 

Definition at line 13 of file WinNT/OS.cpp.

const char* OS::TemporaryDirectory [static]
 

Definition at line 24 of file WinNT/OS.h.

const char * OS::TemporaryDirectory = "C:\\Temp" [static]
 

Definition at line 12 of file WinNT/OS.cpp.


The documentation for this class was generated from the following files:
Generated on Mon Oct 7 09:33:35 2002 for Gaia by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001