how to add new components to domain and add a new command

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
gyc07
Posts: 3
Joined: Mon Apr 20, 2009 7:08 pm
Location: Huaqiao University

how to add new components to domain and add a new command

Post by gyc07 »

dear fmk,silvia

I want to add new componets to class domain, should I add code directly to domain.h and domain.cpp or write a new class inherit from class domain?

If I add a new command, should I add code directly to TclModelBuilder.cpp?

many thanks!
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

you might want to subclass, that way if i change the domain interface you don't have to modify your classes .. what exactly do you want to add?
Post Reply