[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] TclClass("Classifier/Addr")



The line 

TclClass("Classifier/Addr") {}
	TclObject* create(int, const char*const*) {

would just create the TCL class "Classifier/Addr".
Further functionalities can be given to it in the tcl
form. Look into ~ns/tcl library if it has been defined
there or not.

Ahmad

--- Luiz Henrique Bonani <[email protected]> wrote:
> 
> Somebody could help me???
> In the call of TclClass below (classifier-addr.cc),
> in what file is defined
> "Classifier/Addr"???
> I looked for it, but I didn't found it...
> 
> static class AddressClassifierClass : public
> TclClass {
> public:
> 	AddressClassifierClass() :
> TclClass("Classifier/Addr") {}
> 	TclObject* create(int, const char*const*) {
> 		return (new AddressClassifier());
> 	}
> } class_address_classifier;
> 
> Thanks,
> Luiz
> ___________________________________
> Luiz Henrique Bonani do Nascimento
> Electrical Engineering Msc. Student
> DSIF/FEEC/Unicamp - CPqD Foundation
> email: [email protected]
> 


__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com