w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

cppcomp.h File Reference
#include <iostream.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include <errno.h>
Include dependency graph for cppcomp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DLLEXPORT
 
#define typename
 
#define I_fstream   <fstream.h>
 
#define I_iomanip   <iomanip.h>
 
#define I_ios   <ios.h>
 
#define I_iostream   <iostream.h>
 
#define I_istream   <iostream.h>
 
#define I_ostream   <iostream.h>
 
#define I_streamb   <iostream.h>
 
#define I_strstream   <strstrea.h>
 
#define C_istrstream   istrstream
 
#define C_ostrstream   ostrstream
 
#define BOOLDEFINED   1
 
#define I_stdio   <stdio.h>
 
#define I_stdlib   <stdlib.h>
 
#define USESTD
 
#define NOCOPYANDASSIGN(classname)
 
#define I_string_h   <string.h>
 
#define OPEN   open
 
#define CLOSE   close
 
#define READ   read
 
#define STRICMP   strcasecmp
 
#define FILENO   fileno
 
#define SETMODE   setmode
 
#define TEMPNAM   tempnam
 
#define GETCWD   getcwd
 
#define sprintf_s   sprintf
 
#define TARGETWITHLEN(str, len)   str
 
#define sscanf_s   sscanf
 

Typedefs

typedef int bool
 

Functions

int fopen_s (FILE **fp, const char *filename, const char *mode)
 
static void strncpy_s (char *de, size_t de_size, const char *so, size_t count)
 
static void strcpy_s (char *de, size_t de_size, const char *so)
 
static void strcat_s (char *de, size_t de_size, const char *so)
 

Variables

const bool false = 0
 
const bool true = 1
 

Macro Definition Documentation

◆ BOOLDEFINED

#define BOOLDEFINED   1

Definition at line 194 of file cppcomp.h.

◆ C_istrstream

#define C_istrstream   istrstream

Definition at line 183 of file cppcomp.h.

◆ C_ostrstream

#define C_ostrstream   ostrstream

Definition at line 184 of file cppcomp.h.

◆ CLOSE

#define CLOSE   close

Definition at line 255 of file cppcomp.h.

◆ DLLEXPORT

#define DLLEXPORT

Definition at line 38 of file cppcomp.h.

◆ FILENO

#define FILENO   fileno

Definition at line 259 of file cppcomp.h.

◆ GETCWD

#define GETCWD   getcwd

Definition at line 262 of file cppcomp.h.

◆ I_fstream

#define I_fstream   <fstream.h>

Definition at line 164 of file cppcomp.h.

◆ I_iomanip

#define I_iomanip   <iomanip.h>

Definition at line 165 of file cppcomp.h.

◆ I_ios

#define I_ios   <ios.h>

Definition at line 166 of file cppcomp.h.

◆ I_iostream

#define I_iostream   <iostream.h>

Definition at line 167 of file cppcomp.h.

◆ I_istream

#define I_istream   <iostream.h>

Definition at line 169 of file cppcomp.h.

◆ I_ostream

#define I_ostream   <iostream.h>

Definition at line 170 of file cppcomp.h.

◆ I_stdio

#define I_stdio   <stdio.h>

Definition at line 197 of file cppcomp.h.

◆ I_stdlib

#define I_stdlib   <stdlib.h>

Definition at line 198 of file cppcomp.h.

◆ I_streamb

#define I_streamb   <iostream.h>

Definition at line 171 of file cppcomp.h.

◆ I_string_h

#define I_string_h   <string.h>

Definition at line 216 of file cppcomp.h.

◆ I_strstream

#define I_strstream   <strstrea.h>

Definition at line 180 of file cppcomp.h.

◆ NOCOPYANDASSIGN

#define NOCOPYANDASSIGN (   classname)
Value:
private: \
classname(const classname&) = delete; \
const classname & operator=(const classname&) = delete;

Definition at line 205 of file cppcomp.h.

◆ OPEN

#define OPEN   open

Definition at line 254 of file cppcomp.h.

◆ READ

#define READ   read

Definition at line 256 of file cppcomp.h.

◆ SETMODE

#define SETMODE   setmode

Definition at line 260 of file cppcomp.h.

◆ sprintf_s

#define sprintf_s   sprintf

Definition at line 321 of file cppcomp.h.

◆ sscanf_s

#define sscanf_s   sscanf

Definition at line 329 of file cppcomp.h.

◆ STRICMP

#define STRICMP   strcasecmp

Definition at line 257 of file cppcomp.h.

◆ TARGETWITHLEN

#define TARGETWITHLEN (   str,
  len 
)    str

Definition at line 322 of file cppcomp.h.

◆ TEMPNAM

#define TEMPNAM   tempnam

Definition at line 261 of file cppcomp.h.

◆ typename

#define typename

Definition at line 112 of file cppcomp.h.

◆ USESTD

#define USESTD

Definition at line 199 of file cppcomp.h.

Typedef Documentation

◆ bool

typedef int bool

Definition at line 191 of file cppcomp.h.

Function Documentation

◆ fopen_s()

int fopen_s ( FILE **  fp,
const char *  filename,
const char *  mode 
)
inline

Definition at line 267 of file cppcomp.h.

References assert(), errno, filename, fopen, fp, and mode.

Referenced by drvWMF::drvWMF(), pstoedit(), drvJAVA2::show_image(), and drvWMF::~drvWMF().

◆ strcat_s()

static void strcat_s ( char *  de,
size_t  de_size,
const char *  so 
)
inlinestatic

◆ strcpy_s()

◆ strncpy_s()

static void strncpy_s ( char *  de,
size_t  de_size,
const char *  so,
size_t  count 
)
inlinestatic

Variable Documentation

◆ false

const bool false = 0

Definition at line 192 of file cppcomp.h.

◆ true

const bool true = 1

Definition at line 193 of file cppcomp.h.