FEDEM Solver  R8.0
Source code of the dynamics solver
Functions
FFaTag Namespace Reference

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

Functions

int 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 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 endian ()
 Returns current system endian. More...
 

Detailed Description

Utilities for reading and writing of file tags.

Function Documentation

◆ endian()

int FFaTag::endian ( )

Returns current system endian.

◆ read()

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.

See also
FFaTag_read(FFa_stream&,std::string&,unsigned int&,int)

◆ write()

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.

See also
FFaTag_write(FFa_stream&,const char*,int,unsigned int,int)