Limbo 3.5.4
Loading...
Searching...
No Matches
BookshelfDataBase Class Reference

Custom class that inheritates BookshelfParser::BookshelfDataBase with all the required callbacks defined. More...

Inheritance diagram for BookshelfDataBase:
BookshelfParser::BookshelfDataBase

Public Member Functions

 BookshelfDataBase ()
 constructor
virtual void resize_bookshelf_node_terminals (int nn, int nt)
virtual void resize_bookshelf_net (int n)
virtual void resize_bookshelf_pin (int n)
virtual void resize_bookshelf_row (int n)
virtual void resize_bookshelf_shapes (int n)
 set number of shapes
virtual void resize_bookshelf_niterminal_layers (int n)
 set number of NI terminals with layers
virtual void resize_bookshelf_blockage_layers (int n)
 set number of blockage nodes with layers
virtual void add_bookshelf_terminal (string &name, int w, int h)
virtual void add_bookshelf_terminal_NI (string &name, int w, int h)
virtual void add_bookshelf_node (string &name, int w, int h, bool is_cell)
virtual void add_bookshelf_net (BookshelfParser::Net const &net)
virtual void add_bookshelf_row (BookshelfParser::Row const &row)
virtual void set_bookshelf_node_position (string const &name, double x, double y, string const &orient, string const &status, bool plFlag)
virtual void set_bookshelf_net_weight (string const &name, double w)
 set net weight
virtual void set_bookshelf_shape (BookshelfParser::NodeShape const &shape)
 set node shapes
virtual void set_bookshelf_route_info (BookshelfParser::RouteInfo const &info)
 set routing information
virtual void add_bookshelf_niterminal_layer (string const &, string const &)
 set NI terminal with layers
virtual void add_bookshelf_blockage_layers (string const &, std::vector< string > const &)
 set blockages with layers
virtual void set_bookshelf_design (string &name)
virtual void bookshelf_end ()
 end of bookshelf
Public Member Functions inherited from BookshelfParser::BookshelfDataBase
virtual void add_bookshelf_blockage_layers (string const &, vector< string > const &)
 set blockages with layers

Detailed Description

Custom class that inheritates BookshelfParser::BookshelfDataBase with all the required callbacks defined.

Definition at line 20 of file test_bison.cpp.

Constructor & Destructor Documentation

◆ BookshelfDataBase()

BookshelfDataBase::BookshelfDataBase ( )
inline

constructor

Definition at line 24 of file test_bison.cpp.

Member Function Documentation

◆ add_bookshelf_blockage_layers()

virtual void BookshelfDataBase::add_bookshelf_blockage_layers ( string const & ,
std::vector< string > const &  )
inlinevirtual

set blockages with layers

Definition at line 125 of file test_bison.cpp.

◆ add_bookshelf_net()

virtual void BookshelfDataBase::add_bookshelf_net ( BookshelfParser::Net const & net)
inlinevirtual
Parameters
netnet object

Implements BookshelfParser::BookshelfDataBase.

Definition at line 88 of file test_bison.cpp.

◆ add_bookshelf_niterminal_layer()

virtual void BookshelfDataBase::add_bookshelf_niterminal_layer ( string const & ,
string const &  )
inlinevirtual

set NI terminal with layers

Reimplemented from BookshelfParser::BookshelfDataBase.

Definition at line 121 of file test_bison.cpp.

◆ add_bookshelf_node()

virtual void BookshelfDataBase::add_bookshelf_node ( string & name,
int w,
int h,
bool is_cell )
inlinevirtual
Parameters
namenode name
wwidth
hheight
is_celltrue for cells

Implements BookshelfParser::BookshelfDataBase.

Definition at line 83 of file test_bison.cpp.

◆ add_bookshelf_row()

virtual void BookshelfDataBase::add_bookshelf_row ( BookshelfParser::Row const & row)
inlinevirtual
Parameters
rowrow object

Implements BookshelfParser::BookshelfDataBase.

Definition at line 93 of file test_bison.cpp.

◆ add_bookshelf_terminal()

virtual void BookshelfDataBase::add_bookshelf_terminal ( string & name,
int w,
int h )
inlinevirtual
Parameters
nameterminal name
wwidth
hheight

Implements BookshelfParser::BookshelfDataBase.

Definition at line 68 of file test_bison.cpp.

◆ add_bookshelf_terminal_NI()

virtual void BookshelfDataBase::add_bookshelf_terminal_NI ( string & name,
int w,
int h )
inlinevirtual
Parameters
nameterminal NI name
wwidth
hheight

Reimplemented from BookshelfParser::BookshelfDataBase.

Definition at line 75 of file test_bison.cpp.

◆ bookshelf_end()

virtual void BookshelfDataBase::bookshelf_end ( )
inlinevirtual

end of bookshelf

Implements BookshelfParser::BookshelfDataBase.

Definition at line 134 of file test_bison.cpp.

◆ resize_bookshelf_blockage_layers()

virtual void BookshelfDataBase::resize_bookshelf_blockage_layers ( int n)
inlinevirtual

set number of blockage nodes with layers

Reimplemented from BookshelfParser::BookshelfDataBase.

Definition at line 61 of file test_bison.cpp.

◆ resize_bookshelf_net()

virtual void BookshelfDataBase::resize_bookshelf_net ( int n)
inlinevirtual
Parameters
nnumber of nets

Implements BookshelfParser::BookshelfDataBase.

Definition at line 36 of file test_bison.cpp.

◆ resize_bookshelf_niterminal_layers()

virtual void BookshelfDataBase::resize_bookshelf_niterminal_layers ( int n)
inlinevirtual

set number of NI terminals with layers

Reimplemented from BookshelfParser::BookshelfDataBase.

Definition at line 56 of file test_bison.cpp.

◆ resize_bookshelf_node_terminals()

virtual void BookshelfDataBase::resize_bookshelf_node_terminals ( int nn,
int nt )
inlinevirtual

required callbacks from abstract BookshelfParser::BookshelfDataBase ///////////////////

Parameters
nnnumber of nodes
ntnumber of terminals

Implements BookshelfParser::BookshelfDataBase.

Definition at line 31 of file test_bison.cpp.

◆ resize_bookshelf_pin()

virtual void BookshelfDataBase::resize_bookshelf_pin ( int n)
inlinevirtual
Parameters
nnumber of sets

Implements BookshelfParser::BookshelfDataBase.

Definition at line 41 of file test_bison.cpp.

◆ resize_bookshelf_row()

virtual void BookshelfDataBase::resize_bookshelf_row ( int n)
inlinevirtual
Parameters
nnumber of rows

Implements BookshelfParser::BookshelfDataBase.

Definition at line 46 of file test_bison.cpp.

◆ resize_bookshelf_shapes()

virtual void BookshelfDataBase::resize_bookshelf_shapes ( int n)
inlinevirtual

set number of shapes

Reimplemented from BookshelfParser::BookshelfDataBase.

Definition at line 51 of file test_bison.cpp.

◆ set_bookshelf_design()

virtual void BookshelfDataBase::set_bookshelf_design ( string & name)
inlinevirtual
Parameters
namedesign name

Implements BookshelfParser::BookshelfDataBase.

Definition at line 129 of file test_bison.cpp.

◆ set_bookshelf_net_weight()

virtual void BookshelfDataBase::set_bookshelf_net_weight ( string const & name,
double w )
inlinevirtual

set net weight

Reimplemented from BookshelfParser::BookshelfDataBase.

Definition at line 106 of file test_bison.cpp.

◆ set_bookshelf_node_position()

virtual void BookshelfDataBase::set_bookshelf_node_position ( string const & name,
double x,
double y,
string const & orient,
string const & status,
bool plFlag )
inlinevirtual
Parameters
namenode name
x,ynode position
orientorientation
statusplacement status
plFlagif true the function is called from .pl file

Implements BookshelfParser::BookshelfDataBase.

Definition at line 102 of file test_bison.cpp.

◆ set_bookshelf_route_info()

virtual void BookshelfDataBase::set_bookshelf_route_info ( BookshelfParser::RouteInfo const & info)
inlinevirtual

set routing information

Reimplemented from BookshelfParser::BookshelfDataBase.

Definition at line 116 of file test_bison.cpp.

◆ set_bookshelf_shape()

virtual void BookshelfDataBase::set_bookshelf_shape ( BookshelfParser::NodeShape const & shape)
inlinevirtual

set node shapes

Reimplemented from BookshelfParser::BookshelfDataBase.

Definition at line 111 of file test_bison.cpp.


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