pelib  2.0.0
src/raw.cpp File Reference
#include <iostream>
#include <pelib/parser.h>
#include <pelib/output.h>
#include <pelib/AlgebraRawOutput.hpp>
Include dependency graph for raw.cpp:

Go to the source code of this file.

Defines

#define debug(expr)   cerr << "[" << __FILE__ << ":" << __FUNCTION__ << ":" << __LINE__ << "] " << #expr << " = \"" << expr << "\"." << endl;

Functions

void pelib_dump (std::ostream &out, std::map< const char *, Record * > records, size_t argc, char **argv)
void pelib_delete (Record *rec)

Define Documentation

#define debug (   expr)    cerr << "[" << __FILE__ << ":" << __FUNCTION__ << ":" << __LINE__ << "] " << #expr << " = \"" << expr << "\"." << endl;

Definition at line 36 of file raw.cpp.


Function Documentation

Deletes a Record produced by pelib_parse

Definition at line 58 of file raw.cpp.

void pelib_dump ( std::ostream &  cout,
std::map< const char *, pelib::Record * >  records,
size_t  argc,
char **  argv 
)

Writes objects contained in records to output stream. Options can be passed using the string array argv and the number of arguments in argc. Note that call elements of argv and argv itself are freed after this function terminates.

Definition at line 41 of file raw.cpp.