33 #ifndef G4TABLETEMPLATE_HH
34 #define G4TABLETEMPLATE_HH
82 ContainerTable_.push_back(NewContainer);
96 if(WhichContainer < ContainerTable_.size())
98 return ContainerTable_[WhichContainer];
108 ContainerTable_.push_back(
new T);
110 return ContainerTable_.back();
117 ContainerTable_.push_back(
new T(DefaultValue));
119 return ContainerTable_.back();
126 return ContainerTable_.size();
133 for(
unsigned int i = 0; i < ContainerTable_.size(); i++)
135 delete ContainerTable_[i];