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

CmdMolLoad Class Reference

Notification that a molecule has been created. More...

#include <CmdMol.h>

Inheritance diagram for CmdMolLoad:

Command List of all members.

Public Methods

 CmdMolLoad (int themolid, const char *thename, const char *thetype, const FileSpec *thespec)
 ~CmdMolLoad ()

Public Attributes

int molid
char * name
char * type
FileSpec spec

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

Notification that a molecule has been created.

Definition at line 41 of file CmdMol.h.


Constructor & Destructor Documentation

CmdMolLoad::CmdMolLoad int    themolid,
const char *    thename,
const char *    thetype,
const FileSpec   thespec
[inline]
 

Definition at line 50 of file CmdMol.h.

References Command::MOL_NEW, molid, name, and type.

CmdMolLoad::~CmdMolLoad   [inline]
 

Definition at line 56 of file CmdMol.h.

References name, and type.


Member Function Documentation

void CmdMolLoad::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 29 of file CmdMol.C.

References FileSpec::autobonds, Command::cmdText, FileSpec::first, FileSpec::last, molid, name, FileSpec::nvolsets, FileSpec::setids, spec, FileSpec::stride, type, and FileSpec::waitfor.


Member Data Documentation

int CmdMolLoad::molid
 

Definition at line 46 of file CmdMol.h.

Referenced by CmdMolLoad, and create_text.

char* CmdMolLoad::name
 

Definition at line 47 of file CmdMol.h.

Referenced by CmdMolLoad, create_text, and ~CmdMolLoad.

FileSpec CmdMolLoad::spec
 

Definition at line 49 of file CmdMol.h.

Referenced by create_text.

char* CmdMolLoad::type
 

Definition at line 48 of file CmdMol.h.

Referenced by CmdMolLoad, create_text, and ~CmdMolLoad.


The documentation for this class was generated from the following files:
Generated on Wed Apr 24 02:44:18 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002