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

SymbolTableElement Class Reference

keeps track of the template-dependent mapping from index to member function. More...

#include <SymbolTable.h>

List of all members.

Public Types

typedef int(* int_fctn )(void *, int, int *, int *)
typedef int(* double_fctn )(void *, int, double *, int *)
typedef int(* string_fctn )(void *, int, const char **, int *)
typedef int(* single_fctn )(void *, int, int *)
typedef int(* stringfctn_fctn )(void *, int, const char **, int *, int, int *)
typedef void(* void_fctn )(void)
typedef int(* set_int_fctn )(void *, int, int *, int *)
typedef int(* set_double_fctn )(void *, int, double *, int *)
typedef int(* set_string_fctn )(void *, int, const char **, int *)
typedef int(* set_single_fctn )(void *, int, int *, int *)
enum  symtype { IS_INT, IS_FLOAT, IS_STRING }
enum  symdesc {
  NOTHING, KEYWORD, FUNCTION, SINGLEWORD,
  STRINGFCTN
}

Public Methods

 SymbolTableElement ()
 SymbolTableElement (c_ddfunc get)
 SymbolTableElement (int_fctn get, set_int_fctn set)
 SymbolTableElement (double_fctn get, set_double_fctn set)
 SymbolTableElement (string_fctn get, set_string_fctn set)
 SymbolTableElement (stringfctn_fctn get)
 SymbolTableElement (single_fctn get, set_single_fctn set)

Public Attributes

symdesc is_a
symtype returns_a
c_ddfunc fctn
int_fctn keyword_int
double_fctn keyword_double
string_fctn keyword_string
single_fctn keyword_single
stringfctn_fctn keyword_stringfctn
void_fctn set_fctn
set_int_fctn set_keyword_int
set_double_fctn set_keyword_double
set_string_fctn set_keyword_string
set_single_fctn set_keyword_single


Detailed Description

keeps track of the template-dependent mapping from index to member function.

Definition at line 55 of file SymbolTable.h.


Member Typedef Documentation

typedef int(* SymbolTableElement::double_fctn)(void *, int, double *, int *)
 

Definition at line 58 of file SymbolTable.h.

Referenced by SymbolTable::add_keyword, and SymbolTableElement.

typedef int(* SymbolTableElement::int_fctn)(void *, int, int *, int *)
 

Definition at line 57 of file SymbolTable.h.

Referenced by SymbolTable::add_keyword, and SymbolTableElement.

typedef int(* SymbolTableElement::set_double_fctn)(void *, int, double *, int *)
 

Definition at line 65 of file SymbolTable.h.

Referenced by SymbolTable::add_keyword, and SymbolTableElement.

typedef int(* SymbolTableElement::set_int_fctn)(void *, int, int *, int *)
 

Definition at line 64 of file SymbolTable.h.

Referenced by SymbolTable::add_keyword, and SymbolTableElement.

typedef int(* SymbolTableElement::set_single_fctn)(void *, int, int *, int *)
 

Definition at line 67 of file SymbolTable.h.

Referenced by SymbolTable::add_singleword, and SymbolTableElement.

typedef int(* SymbolTableElement::set_string_fctn)(void *, int, const char **, int *)
 

Definition at line 66 of file SymbolTable.h.

Referenced by SymbolTable::add_keyword, and SymbolTableElement.

typedef int(* SymbolTableElement::single_fctn)(void *, int, int *)
 

Definition at line 60 of file SymbolTable.h.

Referenced by SymbolTable::add_singleword, and SymbolTableElement.

typedef int(* SymbolTableElement::string_fctn)(void *, int, const char **, int *)
 

Definition at line 59 of file SymbolTable.h.

Referenced by SymbolTable::add_keyword, and SymbolTableElement.

typedef int(* SymbolTableElement::stringfctn_fctn)(void *, int, const char **, int *, int, int *)
 

Definition at line 61 of file SymbolTable.h.

Referenced by SymbolTable::add_stringfctn, and SymbolTableElement.

typedef void(* SymbolTableElement::void_fctn)(void)
 

Definition at line 63 of file SymbolTable.h.


Member Enumeration Documentation

enum SymbolTableElement::symdesc
 

Enumeration values:
NOTHING 
KEYWORD 
FUNCTION 
SINGLEWORD 
STRINGFCTN 

Definition at line 70 of file SymbolTable.h.

enum SymbolTableElement::symtype
 

Enumeration values:
IS_INT 
IS_FLOAT 
IS_STRING 

Definition at line 69 of file SymbolTable.h.

Referenced by symbol_data::convert, and symbol_data::symbol_data.


Constructor & Destructor Documentation

SymbolTableElement::SymbolTableElement   [inline]
 

Definition at line 94 of file SymbolTable.h.

References NOTHING, and NULL.

SymbolTableElement::SymbolTableElement c_ddfunc    get [inline]
 

Definition at line 97 of file SymbolTable.h.

References c_ddfunc, fctn, FUNCTION, is_a, IS_FLOAT, NULL, returns_a, and set_fctn.

SymbolTableElement::SymbolTableElement int_fctn    get,
set_int_fctn    set
[inline]
 

Definition at line 101 of file SymbolTable.h.

References int_fctn, is_a, IS_INT, KEYWORD, keyword_int, returns_a, set_int_fctn, and set_keyword_int.

SymbolTableElement::SymbolTableElement double_fctn    get,
set_double_fctn    set
[inline]
 

Definition at line 105 of file SymbolTable.h.

References double_fctn, is_a, IS_FLOAT, KEYWORD, keyword_double, returns_a, set_double_fctn, and set_keyword_double.

SymbolTableElement::SymbolTableElement string_fctn    get,
set_string_fctn    set
[inline]
 

Definition at line 109 of file SymbolTable.h.

References is_a, IS_STRING, KEYWORD, keyword_string, returns_a, set_keyword_string, set_string_fctn, and string_fctn.

SymbolTableElement::SymbolTableElement stringfctn_fctn    get [inline]
 

Definition at line 113 of file SymbolTable.h.

References is_a, IS_STRING, keyword_stringfctn, NULL, returns_a, set_fctn, STRINGFCTN, and stringfctn_fctn.

SymbolTableElement::SymbolTableElement single_fctn    get,
set_single_fctn    set
[inline]
 

Definition at line 117 of file SymbolTable.h.

References is_a, IS_INT, keyword_single, returns_a, set_keyword_single, set_single_fctn, single_fctn, and SINGLEWORD.


Member Data Documentation

c_ddfunc SymbolTableElement::fctn
 

Definition at line 77 of file SymbolTable.h.

Referenced by SymbolTableElement.

symdesc SymbolTableElement::is_a
 

Definition at line 72 of file SymbolTable.h.

Referenced by access_tcl_atomsel, atomsel_get, atomsel_set, py_list_attrs, SelectionBuilder::SelectionBuilder, split_tcl_atomsel_info, SymbolTableElement, and SelectionBuilder::update_macrobrowser.

double_fctn SymbolTableElement::keyword_double
 

Definition at line 79 of file SymbolTable.h.

Referenced by access_tcl_atomsel, atomsel_get, get_weights_from_attribute, SymbolTableElement, tcl_get_weights, and vmd_measure_cluster.

int_fctn SymbolTableElement::keyword_int
 

Definition at line 78 of file SymbolTable.h.

Referenced by access_tcl_atomsel, atomsel_get, and SymbolTableElement.

single_fctn SymbolTableElement::keyword_single
 

Definition at line 81 of file SymbolTable.h.

Referenced by access_tcl_atomsel, atomsel_get, and SymbolTableElement.

string_fctn SymbolTableElement::keyword_string
 

Definition at line 80 of file SymbolTable.h.

Referenced by access_tcl_atomsel, atomsel_get, and SymbolTableElement.

stringfctn_fctn SymbolTableElement::keyword_stringfctn
 

Definition at line 82 of file SymbolTable.h.

Referenced by SymbolTableElement.

symtype SymbolTableElement::returns_a
 

Definition at line 73 of file SymbolTable.h.

Referenced by access_tcl_atomsel, atomsel_get, atomsel_set, get_weights_from_attribute, SymbolTableElement, tcl_get_weights, vmd_measure_cluster, and vmd_measure_clustsize.

void_fctn SymbolTableElement::set_fctn
 

Definition at line 87 of file SymbolTable.h.

Referenced by atomsel_set, SymbolTable::is_changeable, and SymbolTableElement.

set_double_fctn SymbolTableElement::set_keyword_double
 

Definition at line 89 of file SymbolTable.h.

Referenced by atomsel_set, SymbolTableElement, and vmd_measure_clustsize.

set_int_fctn SymbolTableElement::set_keyword_int
 

Definition at line 88 of file SymbolTable.h.

Referenced by atomsel_set, SymbolTableElement, and vmd_measure_clustsize.

set_single_fctn SymbolTableElement::set_keyword_single
 

Definition at line 91 of file SymbolTable.h.

Referenced by SymbolTableElement.

set_string_fctn SymbolTableElement::set_keyword_string
 

Definition at line 90 of file SymbolTable.h.

Referenced by atomsel_set, and SymbolTableElement.


The documentation for this class was generated from the following file:
Generated on Sat Dec 14 02:48:05 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002