• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kstars

  • sources
  • kde-4.12
  • kdeedu
  • kstars
  • kstars
  • data
  • tools
Classes | Macros | Typedefs | Enumerations | Functions
binfile.h File Reference
#include <sys/types.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include "byteorder.h"
Include dependency graph for binfile.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  dataElement
 

Macros

#define INDEX_ENTRY_SIZE   12
 

Typedefs

typedef struct dataElement dataElement
 

Enumerations

enum  dataType {
  DT_CHAR, DT_INT8, DT_UINT8, DT_INT16,
  DT_UINT16, DT_INT32, DT_UINT32, DT_CHARV,
  DT_STR, DT_SPCL = 128
}
 

Functions

void charv2str (char *str, char *charv, int n)
 
int displayDataElementDescription (dataElement *e)
 
int isblank (char *str)
 
char * number2trixel (char *trixel, u_int16_t number)
 
int str2charv (char *a, const char *str, int n)
 
int str2int16 (int16_t *i, const char *str, int ndec)
 
int str2int32 (int32_t *i, const char *str, int ndec)
 
void swapbytes (char byteswap, void *ptr, int nbytes)
 
u_int32_t trixel2number (char *trixel)
 
int writeDataElementDescription (FILE *f, char *name, int8_t size, enum dataType type, int32_t scale)
 
int writeIndexEntry (FILE *hf, u_int32_t trixel_id, u_int32_t offset, u_int32_t nrec)
 

Macro Definition Documentation

#define INDEX_ENTRY_SIZE   12

Definition at line 44 of file binfile.h.

Typedef Documentation

typedef struct dataElement dataElement

Enumeration Type Documentation

enum dataType
Enumerator
DT_CHAR 
DT_INT8 
DT_UINT8 
DT_INT16 
DT_UINT16 
DT_INT32 
DT_UINT32 
DT_CHARV 
DT_STR 
DT_SPCL 

Definition at line 51 of file binfile.h.

Function Documentation

void charv2str ( char *  str,
char *  charv,
int  n 
)

Definition at line 75 of file binfile.h.

int displayDataElementDescription ( dataElement *  e)

Definition at line 85 of file binfile.h.

int isblank ( char *  str)

Definition at line 229 of file binfile.h.

char* number2trixel ( char *  trixel,
u_int16_t  number 
)

Definition at line 131 of file binfile.h.

int str2charv ( char *  a,
const char *  str,
int  n 
)

Definition at line 205 of file binfile.h.

int str2int16 ( int16_t *  i,
const char *  str,
int  ndec 
)

Definition at line 184 of file binfile.h.

int str2int32 ( int32_t *  i,
const char *  str,
int  ndec 
)

Definition at line 162 of file binfile.h.

void swapbytes ( char  byteswap,
void *  ptr,
int  nbytes 
)

Definition at line 97 of file binfile.h.

u_int32_t trixel2number ( char *  trixel)

Definition at line 121 of file binfile.h.

int writeDataElementDescription ( FILE *  f,
char *  name,
int8_t  size,
enum dataType  type,
int32_t  scale 
)

Definition at line 253 of file binfile.h.

int writeIndexEntry ( FILE *  hf,
u_int32_t  trixel_id,
u_int32_t  offset,
u_int32_t  nrec 
)

Definition at line 265 of file binfile.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kstars

Skip menu "kstars"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal