Limbo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | List of all members
DefParser::DefDataBase Class Referenceabstract

Base class for def 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...

#include <DefDataBase.h>

Inheritance diagram for DefParser::DefDataBase:
DefDataBase

Public Member Functions

virtual void set_def_dividerchar (string const &)=0
 set divider characters
 
virtual void set_def_busbitchars (string const &)=0
 set BUS bit characters
 
virtual void set_def_version (string const &)=0
 set DEF version
 
virtual void set_def_design (string const &)=0
 set design name
 
virtual void set_def_unit (int)=0
 set DEF unit
 
virtual void set_def_diearea (int, int, int, int)=0
 set die area xl, yl, xh, yh
 
virtual void add_def_row (Row const &)=0
 add row
 
virtual void add_def_component (Component const &)=0
 add component/cell
 
virtual void resize_def_component (int)=0
 add component/cell
 
virtual void add_def_pin (Pin const &)=0
 add pin
 
virtual void resize_def_pin (int)=0
 set number of pins
 
virtual void add_def_net (Net const &)=0
 add net
 
virtual void resize_def_net (int)=0
 set number of nets
 
virtual void resize_def_blockage (int)
 set number of blockages
 
virtual void add_def_placement_blockage (std::vector< std::vector< int > > const &)
 add placement blockages, array of boxes with xl, yl, xh, yh
 
virtual void end_def_design ()
 end of design
 

Protected Member Functions

void def_user_cbk_reminder (const char *str) const
 remind users to define some optional callback functions at runtime More...
 

Detailed Description

Base class for def database. Only pure virtual functions are defined. User needs to inheritate this class and derive a custom database type with all callback functions defined.

Definition at line 187 of file DefDataBase.h.

Member Function Documentation

void DefParser::DefDataBase::def_user_cbk_reminder ( const char *  str) const
protected

remind users to define some optional callback functions at runtime

Parameters
strmessage including the information to the callback function in the reminder

The documentation for this class was generated from the following file: