Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

CmdMolRename Class Reference

rename a molecule. More...

#include <CmdMol.h>

Inheritance diagram for CmdMolRename:

Command List of all members.

Public Methods

 CmdMolRename (int id, const char *nm)
 ~CmdMolRename ()

Public Attributes

int whichMol
char * newname

Protected Methods

virtual void create_text ()
 virtual function which is called when a text version of the command must be created to be printed to the console or a log file. More...


Detailed Description

rename a molecule.

Definition at line 354 of file CmdMol.h.


Constructor & Destructor Documentation

CmdMolRename::CmdMolRename int    id,
const char *    nm
 

Definition at line 161 of file CmdMol.C.

References newname.

CmdMolRename::~CmdMolRename  
 

Definition at line 165 of file CmdMol.C.

References newname.


Member Function Documentation

void CmdMolRename::create_text void    [protected, virtual]
 

virtual function which is called when a text version of the command must be created to be printed to the console or a log file.

Reimplemented from Command.

Definition at line 158 of file CmdMol.C.

References Command::cmdText, newname, and whichMol.


Member Data Documentation

char* CmdMolRename::newname
 

Definition at line 360 of file CmdMol.h.

Referenced by CmdMolRename, create_text, and ~CmdMolRename.

int CmdMolRename::whichMol
 

Definition at line 359 of file CmdMol.h.

Referenced by create_text.


The documentation for this class was generated from the following files:
Generated on Fri Mar 29 02:47:10 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002