26 cout <<
"GdfDataBase::" << __func__ << endl;
38 void test1(
string const& filename)
40 cout <<
"////////////// test1 ////////////////" << endl;
46 void test2(
string const& filename)
48 cout <<
"////////////// test2 ////////////////" << endl;
61 int main(
int argc,
char** argv)
70 cout <<
"at least 1 argument is required" << endl;
Base class for def database. Only pure virtual functions are defined. User needs to inheritate this c...
bool parse_file(const string &filename)
the whole routing layout is describe by a cell
void test2(string const &filename)
test 2: use class wrapper BookshelfParser::Driver
virtual void add_gdf_cell(GdfParser::Cell &cell)
add routing cell
void test1(string const &filename)
test 1: use function wrapper BookshelfParser::read
bool read(GdfDataBase &db, const string &filename)
API for GdfParser. Read GDF file and initialize database by calling user-defined callback functions...
int main(int argc, char **argv)
main function
Custom class that inheritates GdfParser::GdfDataBase with all the required callbacks gdfined...