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

utils.h File Reference

#include <fstream>
#include "matrixc.h"
#include "vectorc.h"
#include "stringc.h"
#include "kettec.h"
#include "arrayc.h"
#include "../oawconfig.h"
#include "mapc.h"

Include dependency graph for utils.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define SAFE_DELETE(x)   { if(x) delete x; x = 0; }

Functions

double sgn (double x)
double abs (double x)
double absD (double x)
OAW_DLLMAPPING void schnitt (bool &kl, double &t, double &a, VectorC &v, VectorC &ap, VectorC &x, VectorC &v1, VectorC &v2)
OAW_DLLMAPPING StringC DoubleToString (double x, short n1)
OAW_DLLMAPPING StringC LongToString (long i)
OAW_DLLMAPPING void CutPath (StringC &, StringC)
OAW_DLLMAPPING void LeseZeile (char *&iter, const char *end)
OAW_DLLMAPPING StringC GetLine (char *&iter, const char *end)
OAW_DLLMAPPING short ReadUntilFirst (const StringC &, char *&, const char *, long &, StringC *)
OAW_DLLMAPPING long ReadUntilFirst (KetteC< StringC > &, char *&, const char *, long &)
OAW_DLLMAPPING long ReadUntilFirst (char[][30], long, char *&, const char *, long &, StringC *)
OAW_DLLMAPPING long ReadAndWriteUntilFirst (KetteC< StringC > &, char *&, const char *, std::ofstream &, long &)
OAW_DLLMAPPING short ReadAndWriteUntilFirst (StringC &, char *&, const char *, std::ofstream &, long &)
OAW_DLLMAPPING StringC NextWord (char *&, const char *, long &)
OAW_DLLMAPPING StringC NextWord (char *&, const char *, const StringC &, long &)
OAW_DLLMAPPING StringC ReadAndWriteUntilNextWord (char *&, const char *, std::ofstream &, const StringC &, long &)
OAW_DLLMAPPING double NextDouble (char *&, const char *, long &, short &, char)
OAW_DLLMAPPING double NextDouble (char *&, const char *, long &)
OAW_DLLMAPPING long NextLong (char *&, const char *, long &)
OAW_DLLMAPPING long NextLong (char *&, const char *, long &, short &, char)
OAW_DLLMAPPING StringC NextWord (std::ifstream &, long &, short &)
OAW_DLLMAPPING StringC NextWord (std::ifstream &, const StringC &, long &, short &)
OAW_DLLMAPPING double NextDouble (std::ifstream &, long &, short &, char)
OAW_DLLMAPPING double NextDouble (std::ifstream &, long &, short &)
OAW_DLLMAPPING long NextLong (std::ifstream &, long &, short &)
OAW_DLLMAPPING long NextLong (std::ifstream &, long &, short &, char)
OAW_DLLMAPPING char * GetFile (const char *path, char *&iter, char *&iterEnd)
OAW_DLLMAPPING void Beep (long, long)
OAW_DLLMAPPING void Sleep (long)
OAW_DLLMAPPING void moveFile (StringC fromFile, StringC toFile)
OAW_DLLMAPPING OAW::ArrayC<
OAW::StringC
ExtractArgv (const char *strIn)
OAW_DLLMAPPING OAW::ArrayC<
OAW::StringC
getArgvArray (int argc, char **argv)
OAW_DLLMAPPING MapC< StringC,
StringC
ReadTable (const StringC &file)

Variables

OAW_BEGIN_NAMESPACE class StringC


Define Documentation

#define SAFE_DELETE      { if(x) delete x; x = 0; }
 

Allgemeine Methoden

Definition at line 42 of file utils.h.


Function Documentation

double abs double    x [inline]
 

Definition at line 54 of file utils.h.

00054 { if (x<0) { return -x; } else { return x; } }   

double absD double    x [inline]
 

Definition at line 55 of file utils.h.

00055 { if (x<0) { return -x; } else { return x; } }   

OAW_DLLMAPPING void Beep long   ,
long   
 

OAW_DLLMAPPING void CutPath StringC  ,
StringC   
 

OAW_DLLMAPPING StringC DoubleToString double    x,
short    n1
 

OAW_DLLMAPPING OAW::ArrayC<OAW::StringC> ExtractArgv const char *    strIn
 

OAW_DLLMAPPING OAW::ArrayC<OAW::StringC> getArgvArray int    argc,
char **    argv
 

OAW_DLLMAPPING char* GetFile const char *    path,
char *&    iter,
char *&    iterEnd
 

OAW_DLLMAPPING StringC GetLine char *&    iter,
const char *    end
 

OAW_DLLMAPPING void LeseZeile char *&    iter,
const char *    end
 

OAW_DLLMAPPING StringC LongToString long    i
 

OAW_DLLMAPPING void moveFile StringC    fromFile,
StringC    toFile
 

OAW_DLLMAPPING double NextDouble std::ifstream &   ,
long &   ,
short &   
 

OAW_DLLMAPPING double NextDouble std::ifstream &   ,
long &   ,
short &   ,
char   
 

OAW_DLLMAPPING double NextDouble char *&   ,
const char *   ,
long &   
 

OAW_DLLMAPPING double NextDouble char *&   ,
const char *   ,
long &   ,
short &   ,
char   
 

OAW_DLLMAPPING long NextLong std::ifstream &   ,
long &   ,
short &   ,
char   
 

OAW_DLLMAPPING long NextLong std::ifstream &   ,
long &   ,
short &   
 

OAW_DLLMAPPING long NextLong char *&   ,
const char *   ,
long &   ,
short &   ,
char   
 

OAW_DLLMAPPING long NextLong char *&   ,
const char *   ,
long &   
 

OAW_DLLMAPPING StringC NextWord std::ifstream &   ,
const StringC  ,
long &   ,
short &   
 

OAW_DLLMAPPING StringC NextWord std::ifstream &   ,
long &   ,
short &   
 

OAW_DLLMAPPING StringC NextWord char *&   ,
const char *   ,
const StringC  ,
long &   
 

OAW_DLLMAPPING StringC NextWord char *&   ,
const char *   ,
long &   
 

OAW_DLLMAPPING short ReadAndWriteUntilFirst StringC  ,
char *&   ,
const char *   ,
std::ofstream &   ,
long &   
 

OAW_DLLMAPPING long ReadAndWriteUntilFirst KetteC< StringC > &   ,
char *&   ,
const char *   ,
std::ofstream &   ,
long &   
 

OAW_DLLMAPPING StringC ReadAndWriteUntilNextWord char *&   ,
const char *   ,
std::ofstream &   ,
const StringC  ,
long &   
 

OAW_DLLMAPPING MapC<StringC,StringC> ReadTable const StringC   file
 

OAW_DLLMAPPING long ReadUntilFirst char   [][30],
long   ,
char *&   ,
const char *   ,
long &   ,
StringC  
 

OAW_DLLMAPPING long ReadUntilFirst KetteC< StringC > &   ,
char *&   ,
const char *   ,
long &   
 

OAW_DLLMAPPING short ReadUntilFirst const StringC  ,
char *&   ,
const char *   ,
long &   ,
StringC  
 

OAW_DLLMAPPING void schnitt bool &    kl,
double &    t,
double &    a,
VectorC   v,
VectorC   ap,
VectorC   x,
VectorC   v1,
VectorC   v2
 

double sgn double    x [inline]
 

Definition at line 53 of file utils.h.

00053 { if (x<0) { return -1; } else { return 1; } }  

OAW_DLLMAPPING void Sleep long   
 


Variable Documentation

OAW_BEGIN_NAMESPACE class StringC
 

Definition at line 49 of file utils.h.


Generated on Tue Jul 29 14:26:45 2003 for Open ActiveWrl by doxygen1.3-rc2