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

_scv_extension_rand_N< T > Class Template Reference

#include <_scv_ext_rand.h>

Inheritance diagram for _scv_extension_rand_N< T >:

Inheritance graph
[legend]
Collaboration diagram for _scv_extension_rand_N< T >:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual void next ()
virtual void uninitialize ()
virtual void initialize () const
virtual void disable_randomization ()
virtual void enable_randomization ()
virtual bool is_randomization_enabled ()
virtual scv_expression form_expression () const
virtual void updated ()
virtual bool is_initialized () const
virtual void set_random (scv_shared_ptr< scv_random > gen)
virtual scv_shared_ptr< scv_randomget_random (void)
void use_constraint (scv_smart_ptr_if &s)
virtual void use_constraint (scv_extensions_if *e)
virtual void set_constraint (scv_constraint_base *c)
virtual void set_constraint (bool mode)
virtual void set_extension (scv_extensions_if *e=NULL)
void set_value_mode (_scv_constraint_data::gen_mode m)
virtual _scv_constraint_dataget_constraint_data ()
virtual void get_generator (void)
void keep_only (const T &value)
void keep_only (const T &lb, const T &ub)
void keep_only (const list< T > &vlist)
void keep_out (const T &value)
void keep_out (const T &lb, const T &ub)
void keep_out (const list< T > &vlist)
 _scv_extension_rand_N ()
_scv_distribution< T > * _get_distribution ()
void _set_distribution (_scv_distribution< T > *d)
virtual ~_scv_extension_rand_N ()
virtual void generate_value_ ()
void set_mode (scv_extensions_if::mode_t t)
void set_mode (scv_bag< pair< T, T > > &d)
void set_mode (scv_bag< T > &d)
void reset_distribution ()
scv_extensions_if::mode_t get_mode (void)
virtual void set_distribution_from (scv_extensions_if *e)

Protected Methods

void _reset_bag_distribution ()
void _reset_keep_only_distribution ()

template<typename T>
class _scv_extension_rand_N< T >


Constructor & Destructor Documentation

template<typename T>
_scv_extension_rand_N< T >::_scv_extension_rand_N   [inline]
 

Definition at line 689 of file _scv_ext_rand.h.

template<typename T>
virtual _scv_extension_rand_N< T >::~_scv_extension_rand_N   [inline, virtual]
 

Definition at line 712 of file _scv_ext_rand.h.

References _scv_extension_rand_N< T >::_get_distribution(), and _scv_constraint_wrapup().


Member Function Documentation

template<typename T>
_scv_distribution<T>* _scv_extension_rand_N< T >::_get_distribution   [inline]
 

Definition at line 692 of file _scv_ext_rand.h.

Referenced by _scv_extension_rand_N< T >::_reset_bag_distribution(), _scv_extension_rand_N< T >::_set_distribution(), _scv_extension_rand_N< T >::generate_value_(), _scv_extension_rand_N< T >::set_mode(), and _scv_extension_rand_N< T >::~_scv_extension_rand_N().

template<typename T>
void _scv_extension_rand_N< T >::_reset_bag_distribution   [inline, protected]
 

Definition at line 764 of file _scv_ext_rand.h.

References _scv_extension_rand_N< T >::_get_distribution().

Referenced by _scv_extension_rand_N< T >::keep_only(), _scv_extension_rand_N< T >::keep_out(), and _scv_extension_rand_N< T >::reset_distribution().

template<typename T>
void _scv_extension_rand_N< T >::_reset_keep_only_distribution   [inline, protected]
 

Definition at line 769 of file _scv_ext_rand.h.

References _scv_extension_rand_N< T >::get_constraint_data(), and _scv_constraint_data::reset_distribution().

Referenced by _scv_extension_rand_N< T >::reset_distribution(), and _scv_extension_rand_N< T >::set_mode().

template<typename T>
void _scv_extension_rand_N< T >::_set_distribution _scv_distribution< T > *    d [inline]
 

Definition at line 695 of file _scv_ext_rand.h.

References _scv_extension_rand_N< T >::_get_distribution(), _scv_distribution_base< T >::dist_, _scv_distribution_base< T >::dist_r_, _scv_extension_rand_N< T >::get_constraint_data(), _scv_message::message(), _scv_distribution_base< T >::reset_distribution(), and _scv_distribution_base< T >::set_mode().

Referenced by _scv_extension_rand_N< T >::set_distribution_from().

template<typename T>
virtual void _scv_extension_rand_N< T >::disable_randomization   [inline, virtual]
 

Definition at line 574 of file _scv_ext_rand.h.

References assert.

template<typename T>
virtual void _scv_extension_rand_N< T >::enable_randomization   [inline, virtual]
 

Definition at line 578 of file _scv_ext_rand.h.

References assert, and _scv_extension_rand_N< T >::uninitialize().

template<typename T>
virtual scv_expression _scv_extension_rand_N< T >::form_expression   const [inline, virtual]
 

Definition at line 588 of file _scv_ext_rand.h.

template<typename T>
virtual void _scv_extension_rand_N< T >::generate_value_   [inline, virtual]
 

Definition at line 723 of file _scv_ext_rand.h.

References _scv_extension_rand_N< T >::_get_distribution().

template<typename T>
virtual _scv_constraint_data* _scv_extension_rand_N< T >::get_constraint_data   [inline, virtual]
 

Definition at line 638 of file _scv_ext_rand.h.

References assert.

Referenced by _scv_extension_rand_N< T >::_reset_keep_only_distribution(), _scv_extension_rand_N< T >::_set_distribution(), _scv_extension_rand_N< T >::get_generator(), _scv_extension_rand_N< T >::get_mode(), _scv_extension_rand_N< T >::get_random(), _scv_extension_rand_N< T >::set_constraint(), _scv_extension_rand_N< T >::set_extension(), _scv_extension_rand_N< T >::set_mode(), _scv_extension_rand_N< T >::set_random(), _scv_extension_rand_N< T >::set_value_mode(), and _scv_extension_rand_N< T >::uninitialize().

template<typename T>
virtual void _scv_extension_rand_N< T >::get_generator void    [inline, virtual]
 

Definition at line 647 of file _scv_ext_rand.h.

References _scv_keep_range(), _scv_constraint_data::EMPTY, _scv_extension_rand_N< T >::get_constraint_data(), _scv_constraint_data::get_gen_type(), _scv_constraint_data::NO_CONSTRAINT, and _scv_constraint_data::set_mode().

template<typename T>
scv_extensions_if::mode_t _scv_extension_rand_N< T >::get_mode void    [inline]
 

Definition at line 755 of file _scv_ext_rand.h.

References _scv_extension_rand_N< T >::get_constraint_data(), and _scv_constraint_data::get_ext_mode().

template<typename T>
virtual scv_shared_ptr<scv_random> _scv_extension_rand_N< T >::get_random void    [inline, virtual]
 

Definition at line 600 of file _scv_ext_rand.h.

References _scv_extension_rand_N< T >::get_constraint_data(), and _scv_constraint_data::get_random().

template<typename T>
virtual void _scv_extension_rand_N< T >::initialize   const [inline, virtual]
 

Definition at line 567 of file _scv_ext_rand.h.

Referenced by _scv_extension_rand_N< T >::next().

template<typename T>
virtual bool _scv_extension_rand_N< T >::is_initialized   const [inline, virtual]
 

Definition at line 594 of file _scv_ext_rand.h.

template<typename T>
virtual bool _scv_extension_rand_N< T >::is_randomization_enabled   [inline, virtual]
 

Definition at line 583 of file _scv_ext_rand.h.

template<typename T>
void _scv_extension_rand_N< T >::keep_only const list< T > &    vlist [inline]
 

Definition at line 667 of file _scv_ext_rand.h.

References _scv_extension_rand_N< T >::_reset_bag_distribution(), and _scv_keep_range().

template<typename T>
void _scv_extension_rand_N< T >::keep_only const T &    lb,
const T &    ub
[inline]
 

Definition at line 663 of file _scv_ext_rand.h.

References _scv_extension_rand_N< T >::_reset_bag_distribution(), and _scv_keep_range().

template<typename T>
void _scv_extension_rand_N< T >::keep_only const T &    value [inline]
 

Definition at line 659 of file _scv_ext_rand.h.

References _scv_extension_rand_N< T >::_reset_bag_distribution(), _scv_keep_range(), and value.

template<typename T>
void _scv_extension_rand_N< T >::keep_out const list< T > &    vlist [inline]
 

Definition at line 680 of file _scv_ext_rand.h.

References _scv_extension_rand_N< T >::_reset_bag_distribution(), and _scv_keep_range().

template<typename T>
void _scv_extension_rand_N< T >::keep_out const T &    lb,
const T &    ub
[inline]
 

Definition at line 676 of file _scv_ext_rand.h.

References _scv_extension_rand_N< T >::_reset_bag_distribution(), and _scv_keep_range().

template<typename T>
void _scv_extension_rand_N< T >::keep_out const T &    value [inline]
 

Definition at line 672 of file _scv_ext_rand.h.

References _scv_extension_rand_N< T >::_reset_bag_distribution(), _scv_keep_range(), and value.

template<typename T>
virtual void _scv_extension_rand_N< T >::next   [inline, virtual]
 

Definition at line 556 of file _scv_ext_rand.h.

References _scv_extension_rand_N< T >::initialize(), and _scv_extension_rand_N< T >::uninitialize().

template<typename T>
void _scv_extension_rand_N< T >::reset_distribution   [inline]
 

Definition at line 751 of file _scv_ext_rand.h.

References _scv_extension_rand_N< T >::_reset_bag_distribution(), and _scv_extension_rand_N< T >::_reset_keep_only_distribution().

template<typename T>
virtual void _scv_extension_rand_N< T >::set_constraint bool    mode [inline, virtual]
 

Definition at line 617 of file _scv_ext_rand.h.

References _scv_set_constraint().

template<typename T>
virtual void _scv_extension_rand_N< T >::set_constraint scv_constraint_base   c [inline, virtual]
 

Definition at line 612 of file _scv_ext_rand.h.

References _scv_extension_rand_N< T >::get_constraint_data(), and _scv_constraint_data::set_constraint().

template<typename T>
virtual void _scv_extension_rand_N< T >::set_distribution_from scv_extensions_if   e [inline, virtual]
 

Definition at line 758 of file _scv_ext_rand.h.

References _scv_extension_rand_N< T >::_set_distribution().

template<typename T>
virtual void _scv_extension_rand_N< T >::set_extension scv_extensions_if   e = NULL [inline, virtual]
 

Definition at line 622 of file _scv_ext_rand.h.

References _scv_constraint_data::EXTENSION, _scv_extension_rand_N< T >::get_constraint_data(), _scv_constraint_data::set_extension(), and _scv_constraint_data::set_mode().

template<typename T>
void _scv_extension_rand_N< T >::set_mode scv_bag< T > &    d [inline]
 

Definition at line 746 of file _scv_ext_rand.h.

References _scv_extension_rand_N< T >::_get_distribution(), and _scv_extension_rand_N< T >::_reset_keep_only_distribution().

template<typename T>
void _scv_extension_rand_N< T >::set_mode scv_bag< pair< T, T > > &    d [inline]
 

Definition at line 741 of file _scv_ext_rand.h.

References _scv_extension_rand_N< T >::_get_distribution(), and _scv_extension_rand_N< T >::_reset_keep_only_distribution().

template<typename T>
void _scv_extension_rand_N< T >::set_mode scv_extensions_if::mode_t    t [inline]
 

Definition at line 731 of file _scv_ext_rand.h.

References _scv_extension_rand_N< T >::_get_distribution(), check_mode(), _scv_extension_rand_N< T >::get_constraint_data(), and _scv_constraint_data::set_ext_mode().

template<typename T>
virtual void _scv_extension_rand_N< T >::set_random scv_shared_ptr< scv_random   gen [inline, virtual]
 

Definition at line 597 of file _scv_ext_rand.h.

References _scv_extension_rand_N< T >::get_constraint_data(), and _scv_constraint_data::set_random().

template<typename T>
void _scv_extension_rand_N< T >::set_value_mode _scv_constraint_data::gen_mode    m [inline]
 

Definition at line 630 of file _scv_ext_rand.h.

References _scv_constraint_data::DISTRIBUTION, _scv_constraint_data::DISTRIBUTION_RANGE, _scv_constraint_data::gen_mode, _scv_extension_rand_N< T >::get_constraint_data(), _scv_constraint_data::set_ext_mode(), and _scv_constraint_data::set_mode().

template<typename T>
virtual void _scv_extension_rand_N< T >::uninitialize   [inline, virtual]
 

Definition at line 557 of file _scv_ext_rand.h.

References assert, _scv_constraint_data::EXTENSION, _scv_extension_rand_N< T >::get_constraint_data(), _scv_constraint_data::get_extension(), and _scv_constraint_data::get_mode().

Referenced by _scv_extension_rand_N< T >::enable_randomization(), and _scv_extension_rand_N< T >::next().

template<typename T>
virtual void _scv_extension_rand_N< T >::updated   [inline, virtual]
 

Definition at line 591 of file _scv_ext_rand.h.

template<typename T>
virtual void _scv_extension_rand_N< T >::use_constraint scv_extensions_if   e [inline, virtual]
 

Definition at line 608 of file _scv_ext_rand.h.

References _scv_use_constraint().

template<typename T>
void _scv_extension_rand_N< T >::use_constraint scv_smart_ptr_if   s [inline]
 

Definition at line 605 of file _scv_ext_rand.h.

References _scv_get_extension(), and s.


The documentation for this class was generated from the following file:
Generated on Fri Jan 14 08:31:00 2005 for SystemC2.1beta11(excludingMSLib)(IncludingSCV)\nProvidedby:www.openverificationfoundation.org by doxygen1.2.18