Limbo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions
BookshelfParser Namespace Reference

namespace for BookshelfParser More...

Classes

class  BookshelfDataBase
 Base class for bookshelf database. Only pure virtual functions are defined. User needs to inheritate this class and derive a custom database type with all callback functions defined. More...
 
class  Driver
 
class  IntegerArray
 bison does not support vector very well, so here create a dummy class for integer array. More...
 
struct  Item
 Temporary data structures to hold parsed data. Base class for all temporary data structures. More...
 
struct  Net
 net to describe interconnection of netlist More...
 
struct  NetPin
 describe a pin of a net More...
 
struct  Row
 placement row More...
 
class  StringArray
 bison does not support vector very well, so here create a dummy class for string array. More...
 

Typedefs

typedef int int32_t
 
typedef unsigned int uint32_t
 
typedef long int64_t
 

Functions

bool read (BookshelfDataBase &db, const string &auxFile)
 API for BookshelfParser. Read .aux file and parse all other files. More...
 
bool readPl (BookshelfDataBase &db, const string &plFile)
 Read .pl file only, the callback only provide positions and orientation. More...
 

Detailed Description

namespace for BookshelfParser

The example namespace is used to encapsulate the three parser classes example::Parser, example::Scanner and example::Driver

Function Documentation

bool BookshelfParser::read ( BookshelfDataBase db,
const string &  auxFile 
)

API for BookshelfParser. Read .aux file and parse all other files.

Parameters
dbdatabase which is derived from BookshelfParser::BookshelfDataBase
auxFile.aux file
bool BookshelfParser::readPl ( BookshelfDataBase db,
const string &  plFile 
)

Read .pl file only, the callback only provide positions and orientation.

Parameters
dbdatabase which is derived from BookshelfParser::BookshelfDataBase
plFile.pl file