Schim
Functions
miscfiles.h File Reference
#include <QString>
#include "model/object.h"
#include "model/header.h"
Include dependency graph for miscfiles.h:

Go to the source code of this file.

Functions

QString readMeta (const QString &filename)
 Read a !meta file containing information about symbols. More...
 
CompositeObjectparseCompositeObject (const QString &filename)
 Parse a CompositeObject from file filename. More...
 
HeaderparseHeader (const QString &filename)
 Parse CompositeObject from file filename. More...
 

Detailed Description

This file contains functions that are useful for converting files, regardless of the format being converted from/to.

Function Documentation

◆ parseCompositeObject()

CompositeObject* parseCompositeObject ( const QString &  filename)

Parse a CompositeObject from file filename.

The format of the file is automatically determined and the appropriate specialized function is called.

◆ parseHeader()

Header* parseHeader ( const QString &  filename)

Parse CompositeObject from file filename.

The format of the file is automatically determined and the appropriate specialized function is called.

◆ readMeta()

QString readMeta ( const QString &  filename)

Read a !meta file containing information about symbols.

Parameters
filenameThe file which should be read.
Returns
The contents of the file.

A !meta file is a file that is placed in a directory containing symbols. This file determines information about this directory. Among other things, this file is used to determine the display name of a category of symbols.