parser

package
v0.0.0-...-3d371da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2015 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package parser is a wrapper around the main parsing routines. It figures out the API version of the underlying data and then dispatches the proper parser.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Read

func Read(filename string) (*libmbd.MCellData, error)

Read header opens the binary mcell data file and parses the header and the actual data stored. If only access to the metadata is required, it is much more efficient to only call ReadHeader directly.

func ReadHeader

func ReadHeader(filename string) (*libmbd.MCellData, error)

ReadHeader opens the binary mcell data file and parses the header without reading the actual data. This provides efficient access to metadata and the names of stored data blocks. After calling this function the buffer field of MCellData is set to nil since no data is parsed.

Types

This section is empty.

Directories

Path Synopsis
Package parseAPI1 contains the infrastructure for parsing MCell binary reaction data output that was written according to API version MCELL_BINARY_API_1.
Package parseAPI1 contains the infrastructure for parsing MCell binary reaction data output that was written according to API version MCELL_BINARY_API_1.
Package parseAPI2 contains the infrastructure for parsing MCell binary reaction data output that was written according to API version MCELL_BINARY_API_2.
Package parseAPI2 contains the infrastructure for parsing MCell binary reaction data output that was written according to API version MCELL_BINARY_API_2.
Package util contains low lever helper function for parsing byte buffers
Package util contains low lever helper function for parsing byte buffers

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL