IdList Class Reference
calculate which molecules to operate upon from the given molecule name; put the data in idList, and return the pointer to the integer list. If NULL is returned, there was an error or no molecules were specified. If an error occurs, this prints out the error message as well.
Molecule names are of the form n1[|n2[.... [|nN]...]] where ni is either "all", "top", "active", "inactive", "displayed", "on", "off", "fixed", "free", "none", or an ID. There should be no spaces in the name.
More...
List of all members.
Public Methods
int
find (Tcl_Interp *,
VMDApp *app, const char *txt, int *allmolsflag=NULL)
Detailed Description
calculate which molecules to operate upon from the given molecule name; put the data in idList, and return the pointer to the integer list. If NULL is returned, there was an error or no molecules were specified. If an error occurs, this prints out the error message as well.
Molecule names are of the form n1[|n2[.... [|nN]...]] where ni is either "all", "top", "active", "inactive", "displayed", "on", "off", "fixed", "free", "none", or an ID. There should be no spaces in the name.
Definition at line 59 of file cmd_mol.C.
Constructor & Destructor Documentation
IdList::IdList
(
)
[inline]
IdList::~IdList
(
)
[inline]
Member Function Documentation
int IdList::find
(
Tcl_Interp *
,
const char *
txt,
int *
allmolsflag = NULL
)
Definition at line 86 of file cmd_mol.C.
References VMDApp::molecule_id, VMDApp::molecule_is_active, VMDApp::molecule_is_displayed, VMDApp::molecule_is_fixed, VMDApp::molecule_top, VMDApp::molecule_valid_id, n, NULL, VMDApp::num_molecules, and strupncmp.
Referenced by cmd_mol_list, and text_cmd_mol.
int IdList::num
(
)
const [inline]
int IdList::operator[]
(
int
i
)
const [inline]
The documentation for this class was generated from the following file:
Generated on Mon Nov 17 02:48:44 2025 for VMD (current) by
doxygen1.2.14 written by Dimitri van Heesch,
© 1997-2002