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

CmdMolOn Class Reference

make the Nth molecule 'on' or 'off'. More...

#include <CmdMol.h>

Inheritance diagram for CmdMolOn:

Command List of all members.

Public Methods

 CmdMolOn (int id, int on)
 constructor: which molecule, new setting. More...


Public Attributes

int whichMol
int yn
 new state for characteristic. More...


Protected Methods

virtual void create_text (void)
 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

make the Nth molecule 'on' or 'off'.

Definition at line 121 of file CmdMol.h.


Constructor & Destructor Documentation

CmdMolOn::CmdMolOn int    id,
int    on
[inline]
 

constructor: which molecule, new setting.

Definition at line 129 of file CmdMol.h.

References Command::MOL_ON, whichMol, and yn.


Member Function Documentation

void CmdMolOn::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 75 of file CmdMol.C.

References Command::cmdText, whichMol, and yn.


Member Data Documentation

int CmdMolOn::whichMol
 

Definition at line 126 of file CmdMol.h.

Referenced by CmdMolOn, and create_text.

int CmdMolOn::yn
 

new state for characteristic.

Definition at line 127 of file CmdMol.h.

Referenced by CmdMolOn, and create_text.


The documentation for this class was generated from the following files:
Generated on Thu May 23 01:48:38 2013 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002