Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Public Member Functions | List of all members
ObjectsCMF< C, T > Class Template Reference

Public Member Functions

 ObjectsCMF (unsigned int capacity)
 
void reserve (unsigned int capacity)
 
void add (C object, T mass)
 
const unsigned int & get_count () const
 
void clear ()
 
get_total_mass () const
 
unsigned int sample (T rand_var) const
 
sample_evaluate (unsigned int &sample_index, T &rand_var) const
 
evaluate (unsigned int sample_index) const
 
const C & operator[] (unsigned int sample_index) const