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

scv_sparse_array< Key, T > Class Template Reference

#include <scv_sparse_array.h>

Inheritance diagram for scv_sparse_array< Key, T >:

Inheritance graph
[legend]
Collaboration diagram for scv_sparse_array< Key, T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef map< Key, T, less<
Key > > 
container_type

Public Methods

 scv_sparse_array (const char *nameP, const T &defaultValue, const Key &indexLB=0, const Key &indexUB=INT_MAX)
 scv_sparse_array (const scv_sparse_array &other, const char *nameP="< anonymous >")
virtual ~scv_sparse_array ()
virtual const char * kind () const
const Key & indexLB () const
const Key & indexUB () const
const Key & lower_bound () const
const Key & upper_bound () const
T & operator[] (const Key &i)
const T & operator[] (const Key &i) const
scv_sparse_array & operator= (const scv_sparse_array< Key, T > &other)
virtual void print (ostream &os=scv_out, int details=0, int indent=0) const
virtual void show (int details=0, int indent=0) const

template<class Key, class T>
class scv_sparse_array< Key, T >


Member Typedef Documentation

template<class Key, class T>
typedef map<Key, T, less<Key> > scv_sparse_array< Key, T >::container_type
 

Definition at line 64 of file scv_sparse_array.h.

Referenced by scv_sparse_array< Key, T >::scv_sparse_array().


Constructor & Destructor Documentation

template<class Key, class T>
scv_sparse_array< Key, T >::scv_sparse_array const char *    nameP,
const T &    defaultValue,
const Key &    indexLB = 0,
const Key &    indexUB = INT_MAX
[inline]
 

Definition at line 67 of file scv_sparse_array.h.

References scv_sparse_array< Key, T >::container_type, _scv_associative_array< Key, T, map< Key, T, less< Key > > >::defaultValue(), scv_sparse_array< Key, T >::indexLB(), scv_sparse_array< Key, T >::indexUB(), and _scv_data_structure::nameP().

template<class Key, class T>
scv_sparse_array< Key, T >::scv_sparse_array const scv_sparse_array< Key, T > &    other,
const char *    nameP = "<anonymous>"
[inline]
 

Definition at line 79 of file scv_sparse_array.h.

References scv_sparse_array< Key, T >::container_type, and _scv_data_structure::nameP().

template<class Key, class T>
virtual scv_sparse_array< Key, T >::~scv_sparse_array   [inline, virtual]
 

Definition at line 87 of file scv_sparse_array.h.


Member Function Documentation

template<class Key, class T>
const Key& scv_sparse_array< Key, T >::indexLB   const [inline]
 

Definition at line 95 of file scv_sparse_array.h.

Referenced by scv_sparse_array< Key, T >::scv_sparse_array().

template<class Key, class T>
const Key& scv_sparse_array< Key, T >::indexUB   const [inline]
 

Definition at line 96 of file scv_sparse_array.h.

Referenced by scv_sparse_array< Key, T >::scv_sparse_array().

template<class Key, class T>
virtual const char* scv_sparse_array< Key, T >::kind   const [inline, virtual]
 

Reimplemented from _scv_associative_array< Key, T, map< Key, T, less< Key > > >.

Definition at line 89 of file scv_sparse_array.h.

template<class Key, class T>
const Key& scv_sparse_array< Key, T >::lower_bound   const [inline]
 

Definition at line 98 of file scv_sparse_array.h.

template<class Key, class T>
scv_sparse_array& scv_sparse_array< Key, T >::operator= const scv_sparse_array< Key, T > &    other [inline]
 

Definition at line 140 of file scv_sparse_array.h.

References scv_sparse_array< Key, T >::_indexLB, and scv_sparse_array< Key, T >::_indexUB.

template<class Key, class T>
const T& scv_sparse_array< Key, T >::operator[] const Key &    i const [inline, virtual]
 

Reimplemented from _scv_associative_array< Key, T, map< Key, T, less< Key > > >.

Definition at line 124 of file scv_sparse_array.h.

References _scv_data_structure::nameP(), _scv_associative_array< Key, Data, container_type >::operator[](), and scv_out.

template<class Key, class T>
T& scv_sparse_array< Key, T >::operator[] const Key &    i [inline, virtual]
 

Reimplemented from _scv_associative_array< Key, T, map< Key, T, less< Key > > >.

Definition at line 108 of file scv_sparse_array.h.

References _scv_data_structure::nameP(), _scv_associative_array< Key, Data, container_type >::operator[](), and scv_out.

template<class Key, class T>
virtual void scv_sparse_array< Key, T >::print ostream &    os = scv_out,
int    details = 0,
int    indent = 0
const [inline, virtual]
 

Reimplemented from _scv_associative_array< Key, T, map< Key, T, less< Key > > >.

Definition at line 150 of file scv_sparse_array.h.

References _scv_associative_array< Key, Data, container_type >::print(), and scv_out.

Referenced by scv_sparse_array< Key, T >::show().

template<class Key, class T>
virtual void scv_sparse_array< Key, T >::show int    details = 0,
int    indent = 0
const [inline, virtual]
 

Reimplemented from _scv_associative_array< Key, T, map< Key, T, less< Key > > >.

Definition at line 156 of file scv_sparse_array.h.

References scv_sparse_array< Key, T >::print(), and scv_out.

template<class Key, class T>
const Key& scv_sparse_array< Key, T >::upper_bound   const [inline]
 

Definition at line 99 of file scv_sparse_array.h.


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