Measure Class Reference

#include <Measure.h>

List of all members.

Static Public Member Functions

static void createCommands (Tcl_Interp *)
static void deleteCommands (Tcl_Interp *)


Detailed Description

Definition at line 18 of file Measure.h.


Member Function Documentation

void Measure::createCommands ( Tcl_Interp *   )  [static]

Definition at line 169 of file Measure.C.

References Tcl_centerOfMass(), Tcl_centerOfNumber(), Tcl_loadCoords(), and Tcl_radiusOfGyration().

Referenced by ScriptTcl::measure().

00169                                                {
00170   Tcl_CreateCommand(interp, "centerOfNumber", Tcl_centerOfNumber,
00171     (ClientData) NULL, (Tcl_CmdDeleteProc *) NULL);
00172   Tcl_CreateCommand(interp, "centerOfMass", Tcl_centerOfMass,
00173     (ClientData) NULL, (Tcl_CmdDeleteProc *) NULL);
00174   Tcl_CreateCommand(interp, "radiusOfGyration", Tcl_radiusOfGyration,
00175     (ClientData) NULL, (Tcl_CmdDeleteProc *) NULL);
00176   Tcl_CreateObjCommand(interp, "loadCoords", Tcl_loadCoords, 
00177     (ClientData) NULL, (Tcl_CmdDeleteProc *) NULL);
00178 }

void Measure::deleteCommands ( Tcl_Interp *   )  [static]

Definition at line 180 of file Measure.C.

Referenced by ScriptTcl::measure().

00180                                                {
00181   Tcl_DeleteCommand(interp, "centerOfNumber");
00182   Tcl_DeleteCommand(interp, "centerOfMass");
00183   Tcl_DeleteCommand(interp, "radiusOfGyration");
00184   Tcl_DeleteCommand(interp, "loadCoords");
00185 }


The documentation for this class was generated from the following files:
Generated on Wed Nov 22 01:17:21 2017 for NAMD by  doxygen 1.4.7