HasInt64Command Class Reference

Inheritance diagram for HasInt64Command:

TclCommand Collaboration diagram for HasInt64Command:

Collaboration graph
[legend]

Detailed Description

Definition at line 117 of file misc.cc.

Public Member Functions

virtual int command (int argc, const char *const *argv)
 HasInt64Command ()


Constructor & Destructor Documentation

HasInt64Command::HasInt64Command  )  [inline]
 

Definition at line 119 of file misc.cc.

00119 : TclCommand("ns-hasint64") {}


Member Function Documentation

int HasInt64Command::command int  argc,
const char *const *  argv
[virtual]
 

Definition at line 123 of file misc.cc.

00124 {
00125     Tcl& tcl = Tcl::instance();
00126     char res[2];
00127     int flag = 0; 
00128 #if defined(HAVE_INT64)
00129     flag = 1; 
00130     #endif
00131     sprintf(res, "%d", flag);
00132     tcl.resultf("%s", res);
00133     return (TCL_OK);
00134 }


The documentation for this class was generated from the following file:
Generated on Tue Mar 6 17:09:22 2007 for ns2 Network Simulator 2.29 by  doxygen 1.4.6