Navigation

Operators and Keywords

Function List:

C++ API

lo-utils.h File Reference

#include <cstdio>
#include <iostream>
#include <string>
#include "oct-cmplx.h"
#include "syswait.h"

Include dependency graph for lo-utils.h:

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

Go to the source code of this file.


Defines

#define octave_liboctave_utils_h   1

Functions

OCTAVE_API octave_idx_type NINTbig (double x)
OCTAVE_API octave_idx_type NINTbig (float x)
OCTAVE_API int NINT (double x)
OCTAVE_API int NINT (float x)
OCTAVE_API double D_NINT (double x)
OCTAVE_API float F_NINT (float x)
OCTAVE_API char * strsave (const char *)
OCTAVE_API void octave_putenv (const std::string &, const std::string &)
OCTAVE_API std::string octave_fgets (std::FILE *)
OCTAVE_API std::string octave_fgetl (std::FILE *)
OCTAVE_API std::string octave_fgets (std::FILE *, bool &eof)
OCTAVE_API std::string octave_fgetl (std::FILE *, bool &eof)
OCTAVE_API int octave_gethostname (char *, int)
OCTAVE_API void octave_qsort (void *base, size_t n, size_t size, int(*cmp)(const void *, const void *))
OCTAVE_API char * oct_strptime (const char *buf, const char *format, struct tm *tm)
OCTINTERP_API int octave_strcasecmp (const char *s1, const char *s2)
OCTINTERP_API int octave_strncasecmp (const char *s1, const char *s2, size_t n)
template<typename T >
T octave_read_value (std::istream &is)
double octave_read_double (std::istream &is)
Complex octave_read_complex (std::istream &is)
float octave_read_float (std::istream &is)
FloatComplex octave_read_float_complex (std::istream &is)
OCTAVE_API void octave_write_double (std::ostream &os, double dval)
OCTAVE_API void octave_write_complex (std::ostream &os, const Complex &cval)
OCTAVE_API void octave_write_float (std::ostream &os, float dval)
OCTAVE_API void octave_write_float_complex (std::ostream &os, const FloatComplex &cval)
OCTAVE_API pid_t octave_waitpid (pid_t pid, int *status, int options)

Define Documentation

#define octave_liboctave_utils_h   1


Function Documentation

OCTAVE_API double D_NINT ( double  x  ) 

OCTAVE_API float F_NINT ( float  x  ) 

OCTAVE_API int NINT ( float  x  ) 

OCTAVE_API int NINT ( double  x  ) 

OCTAVE_API octave_idx_type NINTbig ( float  x  ) 

OCTAVE_API octave_idx_type NINTbig ( double  x  ) 

OCTAVE_API char* oct_strptime ( const char *  buf,
const char *  format,
struct tm *  tm 
)

OCTAVE_API std::string octave_fgetl ( std::FILE *  ,
bool eof 
)

OCTAVE_API std::string octave_fgetl ( std::FILE *   ) 

OCTAVE_API std::string octave_fgets ( std::FILE *  ,
bool eof 
)

OCTAVE_API std::string octave_fgets ( std::FILE *   ) 

OCTAVE_API int octave_gethostname ( char *  ,
int   
)

OCTAVE_API void octave_putenv ( const std::string ,
const std::string  
)

OCTAVE_API void octave_qsort ( void *  base,
size_t  n,
size_t  size,
int(*)(const void *, const void *)  cmp 
)

Complex octave_read_complex ( std::istream &  is  )  [inline]

double octave_read_double ( std::istream &  is  )  [inline]

float octave_read_float ( std::istream &  is  )  [inline]

FloatComplex octave_read_float_complex ( std::istream &  is  )  [inline]

template<typename T >
OCTAVE_API FloatComplex octave_read_value ( std::istream &  is  )  [inline]

OCTINTERP_API int octave_strcasecmp ( const char *  s1,
const char *  s2 
)

OCTINTERP_API int octave_strncasecmp ( const char *  s1,
const char *  s2,
size_t  n 
)

OCTAVE_API pid_t octave_waitpid ( pid_t  pid,
int status,
int  options 
)

OCTAVE_API void octave_write_complex ( std::ostream os,
const Complex cval 
)

OCTAVE_API void octave_write_double ( std::ostream os,
double  dval 
)

OCTAVE_API void octave_write_float ( std::ostream os,
float  dval 
)

OCTAVE_API void octave_write_float_complex ( std::ostream os,
const FloatComplex cval 
)

OCTAVE_API char* strsave ( const char *   )