FEDEM Solver  R8.0
Source code of the dynamics solver
Namespaces | Macros | Functions
FFaTag.H File Reference

Utilities for reading and writing of file tags. More...

#include <string>
#include <cstdio>
#include "FFaLib/FFaOS/FFaIO.H"
Include dependency graph for FFaTag.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 FFaTag
 Utilities for reading and writing of file tags.
 

Macros

#define LEN_TAG   30
 Default length of a file tag. More...
 

Functions

int FFaTag::read (FILE *fd, std::string &tag, unsigned int &cs, int tagLength=LEN_TAG)
 Reads the file tag and checksum from the provided file. More...
 
int FFaTag::write (FILE *fd, const char *tag, int nchar, unsigned int cs, int tagLength=LEN_TAG)
 Writes the file tag and checksum to the provided file. More...
 
int FFaTag::endian ()
 Returns current system endian. More...
 

Detailed Description

Utilities for reading and writing of file tags.

Macro Definition Documentation

◆ LEN_TAG

#define LEN_TAG   30

Default length of a file tag.